10 #ifndef EventFilter_CTPPSRawToDigi_DiamondVFATFrame 11 #define EventFilter_CTPPSRawToDigi_DiamondVFATFrame 35 time = (time & 0xFFE7FFFF) << 2 | (time & 0x00180000) >> 19;
42 time = (time & 0xFFE7FFFF) << 2 | (time & 0x00180000) >> 19;
48 return ((
data[3]&0x7ff)<<16)+
data[4];
53 return data[2] & 0x01;
58 return data[1] & 0xFFFF;
uint32_t getLeadingEdgeTime() const
get timing infromation
uint32_t getThresholdVoltage() const
VFATFrame::word getMultihit() const
DiamondVFATFrame(const word *inputData=nullptr)
uint32_t getTrailingEdgeTime() const
VFATFrame::word getHptdcErrorFlag() const
~DiamondVFATFrame() override