BmnRoot
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:
11
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
29 void SetTimestamp(UShort_t v) { fTimestamp = v; }
30
32 virtual ~BmnTrigDigit();
33
34 protected:
35 Short_t fMod; // inner channel (for Barrel 40 channels, for T0, BC1, BC2, VC, FD only one)
36 Double_t fTime;
37 Double_t fAmp;
38 Double_t fTimestamp;
39
41};
42
43#endif /* BMNTRIGDIGIT_H */
__m128 v
Definition P4_F32vec4.h:1
Double_t fAmp
void SetTimestamp(UShort_t v)
void SetTime(Double_t time)
Double_t GetAmp() const
Double_t GetTime() const
Double_t fTime
void SetMod(Short_t mod)
virtual ~BmnTrigDigit()
UShort_t GetTimestamp() const
Double_t fTimestamp
void SetAmp(Double_t amp)
ClassDef(BmnTrigDigit, 1)
Short_t GetMod() const