ROOTANA
|
#include <TV1190Data.hxx>
Public Member Functions | |
TV1190Data (int bklen, int bktype, const char *name, void *pdata) | |
Constructor. More... | |
uint32_t | GetEventCounter (int index=0) const |
Get Event Counter. More... | |
uint32_t | GetGeoAddress (int index=0) const |
Get Geographical Address. More... | |
int | GetExtendedTriggerTimeTag (int index=0) const |
Get the extended trigger time tag. More... | |
int | GetWordCount () const |
Get the word count. More... | |
bool | IsTriggerLost (int index=0) const |
bool | HasBufferOverflow (int index=0) const |
bool | HasTDCError (int index=0) const |
int | GetEventsInBank () |
Get the number of events in this bank. More... | |
void | Print () |
Print the bank contents in a structured way. More... | |
std::vector< TDCMeasurement > & | GetMeasurements () |
Get the Vector of TDC Measurements. 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 Attributes | |
std::vector< uint32_t > | fGlobalHeader |
The overall global header. More... | |
std::vector< int > | fExtendedTriggerTimeTag |
int | fWordCountTotal |
std::vector< uint32_t > | fStatus |
std::vector< TDCMeasurement > | fMeasurements |
Vector of TDC Measurements. More... | |
Class to store data from CAEN V1190. We store the information as a vector of TDCMeasurement's Question: do we need a way of retrieving information about TDCs that have no measurements? Currently this information is not exposed. For the definition of obscure variables see the CAEN V1190 manual.
Definition at line 78 of file TV1190Data.hxx.
TV1190Data::TV1190Data | ( | int | bklen, |
int | bktype, | ||
const char * | name, | ||
void * | pdata | ||
) |
Constructor.
Definition at line 46 of file TV1190Data.cxx.
|
inline |
Get Event Counter.
Definition at line 87 of file TV1190Data.hxx.
|
inline |
Get the number of events in this bank.
Definition at line 119 of file TV1190Data.hxx.
|
inline |
Get the extended trigger time tag.
Definition at line 93 of file TV1190Data.hxx.
|
inline |
Get Geographical Address.
Definition at line 90 of file TV1190Data.hxx.
|
inline |
Get the Vector of TDC Measurements.
Definition at line 124 of file TV1190Data.hxx.
|
inline |
Get the word count.
Definition at line 96 of file TV1190Data.hxx.
|
inline |
Definition at line 105 of file TV1190Data.hxx.
|
inline |
Definition at line 111 of file TV1190Data.hxx.
|
inline |
Definition at line 99 of file TV1190Data.hxx.
|
virtual |
Print the bank contents in a structured way.
Reimplemented from TGenericData.
Definition at line 148 of file TV1190Data.cxx.
|
private |
Definition at line 136 of file TV1190Data.hxx.
|
private |
The overall global header.
Definition at line 133 of file TV1190Data.hxx.
|
private |
Vector of TDC Measurements.
Definition at line 143 of file TV1190Data.hxx.
|
private |
Definition at line 139 of file TV1190Data.hxx.
|
private |
Definition at line 137 of file TV1190Data.hxx.