12 for(
int i = 0; i <
GetSize(); i++){
15 if((word & 0x07000000) == 0x02000000){
20 if((word & 0x07000000) == 0x00000000){
24 if((word & 0x07000000) == 0x04000000)
34 std::cout <<
"V792 decoder for bank " <<
GetName().c_str() << std::endl;
44 if((i-2)%3 == 0) std::cout << std::endl;
47 std::cout << std::endl;
const uint32_t * GetData32() const
std::string GetName() const
uint32_t fAdc_trailer_word
uint32_t GetGeoAddress() const
Get GEO address.
uint32_t GetEventCounter() const
Get the event counter.
uint32_t fAdc_header_word
Fields to hold the header, measurement, trailer and error words.
std::vector< VADCMeasurement > fMeasurements
Vector of TDC Measurements.
TV792Data(int bklen, int bktype, const char *name, void *pdata)
Constructor.
uint32_t GetNumberChannels() const
Get the number of converted channels.
uint32_t GetCrate() const
Get the crate number.
void Print()
Print the bank contents in a structured way.