#include <DiamondVFATFrame.h>
Public Member Functions | |
DiamondVFATFrame (const word *inputData=NULL) | |
VFATFrame::word | getHptdcErrorFlag () const |
uint32_t | getLeadingEdgeTime () const |
get timing infromation More... | |
VFATFrame::word | getMultihit () const |
uint32_t | getThresholdVoltage () const |
uint32_t | getTrailingEdgeTime () const |
virtual | ~DiamondVFATFrame () |
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 () |
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=NULL) | |
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.
|
inlinevirtual |
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 ntuplemaker::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 ntuplemaker::time.
Referenced by RawToDigiConverter::Run().