1 #ifndef HADAQ_ADCMESSAGE_H
2 #define HADAQ_ADCMESSAGE_H
23 fFineTiming(std::numeric_limits<double>::quiet_NaN()),
24 fIntegral(std::numeric_limits<double>::quiet_NaN())
AdcMessage is wrapper for data, produced by FPGA struct is used to avoid any potential overhead.
Definition: AdcMessage.h:13
double fIntegral
integral
Definition: AdcMessage.h:19
uint32_t fData
data
Definition: AdcMessage.h:15
bool operator<(const AdcMessage &rhs) const
dummy compare to keep sorting in subevent
Definition: AdcMessage.h:36
uint32_t getKind() const
Returns kind of the message.
Definition: AdcMessage.h:33
uint32_t getCh() const
logical ADC channel, 0..47
Definition: AdcMessage.h:44
uint32_t getAdcId() const
ADC index, 0..11.
Definition: AdcMessage.h:40
AdcMessage()
constructor
Definition: AdcMessage.h:22
uint32_t getAdcCh() const
ADC channel, 0..3.
Definition: AdcMessage.h:42
double fFineTiming
fine timing
Definition: AdcMessage.h:18
short int getValue() const
the value of the ADC channel handle the sign bit correctly for debug signals from CFD firmware 10bit ...
Definition: AdcMessage.h:49
AdcMessage(uint32_t d)
constructor
Definition: AdcMessage.h:28