7 #ifndef EventFilter_CTPPSRawToDigi_DiamondVFATFrame
8 #define EventFilter_CTPPSRawToDigi_DiamondVFATFrame
31 uint32_t time = ((
data[7]&0x1f)<<16)+
data[8];
32 time = (time & 0xFFE7FFFF) << 2 | (time & 0x00180000) >> 19;
38 uint32_t time = ((
data[5]&0x1f)<<16)+
data[6];
39 time = (time & 0xFFE7FFFF) << 2 | (time & 0x00180000) >> 19;
45 return ((
data[3]&0x7ff)<<16)+
data[4];
50 return data[2] & 0x01;
55 return data[1] & 0xFFFF;
virtual ~DiamondVFATFrame()
uint32_t getLeadingEdgeTime() const
get timing infromation
uint32_t getThresholdVoltage() const
VFATFrame::word getMultihit() const
DiamondVFATFrame(const word *inputData=NULL)
uint32_t getTrailingEdgeTime() const
VFATFrame::word getHptdcErrorFlag() const