BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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:
9 /** Default constructor **/
11
12 /** Constructor to use **/
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
38 /** Destructor **/
39 virtual ~BmnTDCDigit();
40
41 private:
50
52};
53
54#endif /* BMNTDCDIGIT_H */
bool Bool_t
unsigned short UShort_t
unsigned char UChar_t
unsigned int UInt_t
#define ClassDef(name, id)
UChar_t fHptdcId
Definition BmnTDCDigit.h:47
UChar_t fChannel
Definition BmnTDCDigit.h:46
UInt_t GetValue() const
Definition BmnTDCDigit.h:32
virtual ~BmnTDCDigit()
Destructor.
UInt_t GetSerial() const
Definition BmnTDCDigit.h:22
UChar_t fSlot
Definition BmnTDCDigit.h:44
UChar_t GetHptdcId() const
Definition BmnTDCDigit.h:34
UShort_t fTimestamp
Definition BmnTDCDigit.h:49
UInt_t fValue
Definition BmnTDCDigit.h:48
UChar_t GetSlot() const
Definition BmnTDCDigit.h:26
UInt_t fSerial
Definition BmnTDCDigit.h:42
UChar_t GetChannel() const
Definition BmnTDCDigit.h:30
BmnTDCDigit()
Default constructor.
UChar_t fType
Definition BmnTDCDigit.h:43
Bool_t fLeading
Definition BmnTDCDigit.h:45
UChar_t GetType() const
Definition BmnTDCDigit.h:24
BmnTDCDigit(UInt_t iSerial, UChar_t iType, UChar_t iSlot, Bool_t iLeading, UChar_t iChannel, UChar_t iHptdcId, UInt_t iValue, UShort_t iTimestamp=0)
Constructor to use.
UShort_t GetTimestamp() const
Definition BmnTDCDigit.h:36
Bool_t GetLeading() const
Definition BmnTDCDigit.h:28