BmnRoot
Loading...
Searching...
No Matches
BmnTDCDigit.h
Go to the documentation of this file.
1#ifndef BMNTDCDIGIT_H
2#define BMNTDCDIGIT_H
3
4#include "TObject.h"
5
6class BmnTDCDigit : public TObject
7{
8 public:
11
13 BmnTDCDigit(UInt_t iSerial,
14 UChar_t iType,
15 UChar_t iSlot,
16 Bool_t iLeading,
17 UChar_t iChannel,
18 UChar_t iHptdcId,
19 UInt_t iValue,
20 UShort_t iTimestamp = 0);
21
22 UInt_t GetSerial() const { return fSerial; }
23
24 UChar_t GetType() const { return fType; }
25
26 UChar_t GetSlot() const { return fSlot; }
27
28 Bool_t GetLeading() const { return fLeading; }
29
30 UChar_t GetChannel() const { return fChannel; }
31
32 UInt_t GetValue() const { return fValue; }
33
34 UChar_t GetHptdcId() const { return fHptdcId; }
35
36 UShort_t GetTimestamp() const { return fTimestamp; }
37
39 virtual ~BmnTDCDigit();
40
41 private:
42 UInt_t fSerial;
43 UChar_t fType;
44 UChar_t fSlot;
45 Bool_t fLeading;
46 UChar_t fChannel;
47 UChar_t fHptdcId;
48 UInt_t fValue;
49 UShort_t fTimestamp;
50
51 ClassDef(BmnTDCDigit, 1);
52};
53
54#endif /* BMNTDCDIGIT_H */
UInt_t GetValue() const
Definition BmnTDCDigit.h:32
UInt_t GetSerial() const
Definition BmnTDCDigit.h:22
UChar_t GetHptdcId() const
Definition BmnTDCDigit.h:34
UChar_t GetSlot() const
Definition BmnTDCDigit.h:26
UChar_t GetChannel() const
Definition BmnTDCDigit.h:30
virtual ~BmnTDCDigit()
UChar_t GetType() const
Definition BmnTDCDigit.h:24
UShort_t GetTimestamp() const
Definition BmnTDCDigit.h:36
Bool_t GetLeading() const
Definition BmnTDCDigit.h:28