ROOTANA
|
#include <TV1720RawData.h>
Public Member Functions | |
TV1720RawData (int bklen, int bktype, const char *name, void *pdata) | |
Constructor. More... | |
uint32_t | GetEventSize () const |
Get the number of 32-bit words in bank. More... | |
uint32_t | GetChannelMask () const |
bool | IsZLECompressed () const |
Is the V1720 data ZLE compressed? More... | |
uint32_t | GetEventCounter () const |
Get event counter. More... | |
uint32_t | GetTriggerTag () const |
Get trigger tag. More... | |
int | GetNChannels () const |
Get Number of channels in this bank. More... | |
TV1720RawChannel | GetChannelData (int i) |
Get Channel Data. More... | |
void | Print () |
Print the bank contents in a structured way. More... | |
Public Member Functions inherited from TGenericData | |
TGenericData (int bklen, int bktype, const char *name, void *pdata) | |
virtual | ~TGenericData () |
const uint16_t * | GetData16 () const |
const uint32_t * | GetData32 () const |
const uint64_t * | GetData64 () const |
const float * | GetFloat () const |
const double * | GetDouble () const |
const char * | GetChar () const |
int | GetSize () const |
int | GetType () const |
std::string | GetName () const |
void | Dump () |
Dump the bank contents in an unstructured way. More... | |
Private Member Functions | |
void | HandlZLECompressedData () |
Helper method to handle ZLE compressed data. More... | |
void | HandlUncompressedData () |
Helper method to handle uncompressed data. More... | |
Private Attributes | |
uint32_t | fGlobalHeader0 |
The overall global headers. More... | |
uint32_t | fGlobalHeader1 |
uint32_t | fGlobalHeader2 |
uint32_t | fGlobalHeader3 |
std::vector< TV1720RawChannel > | fMeasurements |
Vector of V1720 measurements. More... | |
Class to store data from CAEN V1720, 250MHz FADC.
Full info on CAEN V1720 module http://daq-plone.triumf.ca/HR/VME/CAEN/v1720rev9.pdf/view
This class encapsulates the data from a single board (in a single MIDAS bank). This decoder is for the default or ZLE version of the firmware. Not the DPP firmware
Definition at line 135 of file TV1720RawData.h.
TV1720RawData::TV1720RawData | ( | int | bklen, |
int | bktype, | ||
const char * | name, | ||
void * | pdata | ||
) |
Constructor.
Definition at line 90 of file TV1720RawData.cxx.
|
inline |
Get Channel Data.
Definition at line 163 of file TV1720RawData.h.
|
inline |
Get the channel mask; ie, the set of channels for which we have data for this event.
Definition at line 147 of file TV1720RawData.h.
|
inline |
Get event counter.
Definition at line 153 of file TV1720RawData.h.
|
inline |
Get the number of 32-bit words in bank.
Definition at line 143 of file TV1720RawData.h.
|
inline |
Get Number of channels in this bank.
Definition at line 160 of file TV1720RawData.h.
|
inline |
Get trigger tag.
Definition at line 156 of file TV1720RawData.h.
|
private |
Helper method to handle uncompressed data.
Definition at line 47 of file TV1720RawData.cxx.
|
private |
Helper method to handle ZLE compressed data.
Definition at line 6 of file TV1720RawData.cxx.
|
inline |
Is the V1720 data ZLE compressed?
Definition at line 150 of file TV1720RawData.h.
|
virtual |
Print the bank contents in a structured way.
Reimplemented from TGenericData.
Definition at line 109 of file TV1720RawData.cxx.
|
private |
The overall global headers.
Definition at line 183 of file TV1720RawData.h.
|
private |
Definition at line 184 of file TV1720RawData.h.
|
private |
Definition at line 185 of file TV1720RawData.h.
|
private |
Definition at line 186 of file TV1720RawData.h.
|
private |
Vector of V1720 measurements.
Definition at line 190 of file TV1720RawData.h.