BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnTrigDigit.h
Go to the documentation of this file.
1#ifndef BMNTRIGDIGIT_H
2#define BMNTRIGDIGIT_H
3
4#include "TNamed.h"
5
6class BmnTrigDigit : public TNamed
7{
8 public:
9 /** Default constructor **/
11
12 /** Constructor to use **/
13 BmnTrigDigit(Short_t iMod, Double_t iTime, Double_t iAmp, Double_t iTimestamp = -1.0);
14
15 Short_t GetMod() const { return fMod; }
16
17 Double_t GetTime() const { return fTime; }
18
19 Double_t GetAmp() const { return fAmp; }
20
21 UShort_t GetTimestamp() const { return fTimestamp; }
22
23 void SetAmp(Double_t amp) { fAmp = amp; }
24
25 void SetMod(Short_t mod) { fMod = mod; }
26
27 void SetTime(Double_t time) { fTime = time; }
28
30
31 /** Destructor **/
32 virtual ~BmnTrigDigit();
33
34 protected:
35 Short_t fMod; // inner channel (for Barrel 40 channels, for T0, BC1, BC2, VC, FD only one)
39
41};
42
43#endif /* BMNTRIGDIGIT_H */
__m128 v
Definition P4_F32vec4.h:1
unsigned short UShort_t
short Short_t
double Double_t
#define ClassDef(name, id)
Double_t fAmp
void SetTimestamp(UShort_t v)
void SetTime(Double_t time)
BmnTrigDigit()
Default constructor.
Double_t GetAmp() const
Double_t GetTime() const
Double_t fTime
void SetMod(Short_t mod)
UShort_t GetTimestamp() const
Double_t fTimestamp
void SetAmp(Double_t amp)
BmnTrigDigit(Short_t iMod, Double_t iTime, Double_t iAmp, Double_t iTimestamp=-1.0)
Constructor to use.
Short_t GetMod() const
virtual ~BmnTrigDigit()
Destructor.