BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnTQDCADCDigit.h
Go to the documentation of this file.
1#ifndef BMNTQDCADCDIGIT_H
2#define BMNTQDCADCDIGIT_H
3
4#include "BmnADCDigit.h"
5
6template<typename IntType = int16_t>
7class BmnTQDCADCDigit : public BmnADCDigit<IntType>
8{
9 public:
13 , fAdcTimestamp(0)
14 , fSlot(0)
15 {}
16
18 UInt_t iChannel,
19 UChar_t iSlot,
20 vector<IntType>&& iValue,
21 UShort_t TrigTS,
22 UShort_t AdcTS)
23 : BmnADCDigit<IntType>(iSerial, iChannel, std::move(iValue))
24 , fTrigTimestamp(TrigTS)
25 , fAdcTimestamp(AdcTS)
26 , fSlot(iSlot)
27 {}
28
30
32
33 UChar_t GetSlot() const { return fSlot; }
34 virtual ~BmnTQDCADCDigit() {}
35
36 protected:
40
42};
43
44#endif /* BMNTQDCADCDIGIT_H */
unsigned short UShort_t
unsigned char UChar_t
unsigned int UInt_t
#define ClassDef(name, id)
UChar_t GetSlot() const
UShort_t GetTrigTimestamp() const
virtual ~BmnTQDCADCDigit()
BmnTQDCADCDigit(UInt_t iSerial, UInt_t iChannel, UChar_t iSlot, vector< IntType > &&iValue, UShort_t TrigTS, UShort_t AdcTS)
UShort_t GetAdcTimestamp() const
UShort_t fTrigTimestamp
@ IntType
Definition json.hpp:4446