1 #ifndef TV1190Data_hxx_seen
2 #define TV1190Data_hxx_seen
83 TV1190Data(
int bklen,
int bktype,
const char* name,
void *pdata);
uint32_t GetMeasurement() const
Get the TDC measurement.
bool IsLeading() const
Is this the leading edge measurement?
TDCMeasurement(uint32_t header, uint32_t measurement, int index)
Constructor; need to pass in header and measurement.
void SetTrailer(uint32_t trailer)
Set the trailer word.
bool IsTrailing() const
Is this the trailing edge measurement?
uint32_t GetEventIndex() const
Get Event Index; this is which event number within the bank.
uint32_t GetTDCNumber() const
Get the TDC number.
bool HasTDCHeader() const
Check if measurement has a TDC header.
uint32_t tdc_measurement_word
void SetErrors(uint32_t error)
Set the error word.
uint32_t GetErrors() const
Get Errors.
uint32_t tdc_trailer_word
uint32_t GetChannel() const
Get the channel number.
bool HasTDCTrailer() const
Check if measurement has a TDC trailer.
uint32_t tdc_header_word
Found fields to hold the header, measurement, trailer and error words.
bool HasTDCErrorWord() const
Check if measurement has a TDC error word.
uint32_t GetBunchID() const
Get Bunch ID.
uint32_t GetEventID() const
Get Event ID; this is event number defined by V1190 module.
int GetEventsInBank()
Get the number of events in this bank.
bool IsTriggerLost(int index=0) const
std::vector< int > fExtendedTriggerTimeTag
TV1190Data(int bklen, int bktype, const char *name, void *pdata)
Constructor.
std::vector< TDCMeasurement > & GetMeasurements()
Get the Vector of TDC Measurements.
void Print()
Print the bank contents in a structured way.
int GetWordCount() const
Get the word count.
std::vector< uint32_t > fGlobalHeader
The overall global header.
std::vector< uint32_t > fStatus
bool HasTDCError(int index=0) const
int GetExtendedTriggerTimeTag(int index=0) const
Get the extended trigger time tag.
std::vector< TDCMeasurement > fMeasurements
Vector of TDC Measurements.
bool HasBufferOverflow(int index=0) const
uint32_t GetEventCounter(int index=0) const
Get Event Counter.
uint32_t GetGeoAddress(int index=0) const
Get Geographical Address.