#include <DiamondVFATFrame.h>
Public Member Functions | |
DiamondVFATFrame (const word *inputData=nullptr) | |
VFATFrame::word | getHptdcErrorFlag () const |
uint32_t | getLeadingEdgeTime () const |
get timing infromation More... | |
VFATFrame::word | getMultihit () const |
uint32_t | getThresholdVoltage () const |
uint32_t | getTrailingEdgeTime () const |
~DiamondVFATFrame () override | |
Public Member Functions inherited from VFATFrame | |
virtual bool | channelActive (unsigned char channel) const |
virtual bool | checkCRC () const |
bool | checkFootprint () const |
virtual std::vector< unsigned char > | getActiveChannels () const |
VFATFrame::word | getBC () const |
Returns Bunch Crossing number (BC<11:0>). More... | |
VFATFrame::word | getChipID () const |
Returns ChipID (ChipID<11:0>). More... | |
VFATFrame::word | getCRC () const |
Returns the CRC. More... | |
VFATFrame::word * | getData () |
const VFATFrame::word * | getData () const |
VFATFrame::word | getEC () const |
Returns Event Counter (EV<7:0>). More... | |
VFATFrame::word | getFlags () const |
Returns flags. More... | |
uint8_t | getNumberOfClusters () const |
bool | isBCPresent () const |
Returns true if the BC word is present in the frame. More... | |
bool | isCRCPresent () const |
Returns true if the CRC word is present in the frame. More... | |
bool | isECPresent () const |
Returns true if the EC word is present in the frame. More... | |
bool | isIDPresent () const |
Returns true if the ID word is present in the frame. More... | |
bool | isNumberOfClustersPresent () const |
Returns true if the CRC word is present in the frame. More... | |
void | Print (bool binary=false) const |
void | setDAQErrorFlags (uint8_t v) |
Sets DAQ error flags. More... | |
void | setData (const word *_data) |
Copies a memory block to data buffer. More... | |
void | setNumberOfClusters (uint8_t v) |
void | setPresenceFlags (uint8_t v) |
Sets presence flags. More... | |
VFATFrame (const word *_data=nullptr) | |
VFATFrame (const VFATFrame ©) | |
virtual | ~VFATFrame () |
Additional Inherited Members | |
Public Types inherited from VFATFrame | |
typedef uint16_t | word |
Protected Attributes inherited from VFATFrame | |
word | data [12] |
This class intended to handle the timing infromation of diamond VFAT frame
Definition at line 23 of file DiamondVFATFrame.h.
Definition at line 27 of file DiamondVFATFrame.h.
|
inlineoverride |
Definition at line 29 of file DiamondVFATFrame.h.
|
inline |
Definition at line 56 of file DiamondVFATFrame.h.
References VFATFrame::data.
Referenced by RawToDigiConverter::run().
|
inline |
get timing infromation
Definition at line 32 of file DiamondVFATFrame.h.
References VFATFrame::data, and protons_cff::time.
Referenced by RawToDigiConverter::run().
|
inline |
Definition at line 51 of file DiamondVFATFrame.h.
References VFATFrame::data.
Referenced by RawToDigiConverter::run().
|
inline |
Definition at line 46 of file DiamondVFATFrame.h.
References VFATFrame::data.
Referenced by RawToDigiConverter::run().
|
inline |
Definition at line 39 of file DiamondVFATFrame.h.
References VFATFrame::data, and protons_cff::time.
Referenced by RawToDigiConverter::run().