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;
std::string GetName() const
const uint32_t * GetData32() const
void Print()
Print the bank contents in a structured way.
uint32_t GetCrate() const
Get the crate number.
uint32_t fAdc_header_word
Fields to hold the header, measurement, trailer and error words.
uint32_t fAdc_trailer_word
uint32_t GetNumberChannels() const
Get the number of converted channels.
uint32_t GetEventCounter() const
Get the event counter.
TV792NData(int bklen, int bktype, const char *name, void *pdata)
Constructor.
uint32_t GetGeoAddress() const
Get GEO address.
std::vector< VADCNMeasurement > fMeasurements
Vector of TDC Measurements.