ROOTANA
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
TV1190Data Class Reference

#include <TV1190Data.hxx>

Inheritance diagram for TV1190Data:
Inheritance graph
[legend]
Collaboration diagram for TV1190Data:
Collaboration graph
[legend]

Public Member Functions

 TV1190Data (int bklen, int bktype, const char *name, void *pdata)
 Constructor.
 
uint32_t GetEventCounter (int index=0) const
 Get Event Counter.
 
uint32_t GetGeoAddress (int index=0) const
 Get Geographical Address.
 
int GetExtendedTriggerTimeTag (int index=0) const
 Get the extended trigger time tag.
 
int GetWordCount () const
 Get the word count.
 
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.
 
void Print ()
 Print the bank contents in a structured way.
 
std::vector< TDCMeasurement > & GetMeasurements ()
 Get the Vector of TDC Measurements.
 
- 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.
 

Private Attributes

std::vector< uint32_t > fGlobalHeader
 The overall global header.
 
std::vector< int > fExtendedTriggerTimeTag
 
int fWordCountTotal
 
std::vector< uint32_t > fStatus
 
std::vector< TDCMeasurementfMeasurements
 Vector of TDC Measurements.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TV1190Data()

TV1190Data::TV1190Data ( int  bklen,
int  bktype,
const char *  name,
void *  pdata 
)

Constructor.

Definition at line 46 of file TV1190Data.cxx.

Here is the call graph for this function:

Member Function Documentation

◆ GetEventCounter()

uint32_t TV1190Data::GetEventCounter ( int  index = 0) const
inline

Get Event Counter.

Definition at line 87 of file TV1190Data.hxx.

Here is the caller graph for this function:

◆ GetEventsInBank()

int TV1190Data::GetEventsInBank ( )
inline

Get the number of events in this bank.

Definition at line 119 of file TV1190Data.hxx.

Here is the caller graph for this function:

◆ GetExtendedTriggerTimeTag()

int TV1190Data::GetExtendedTriggerTimeTag ( int  index = 0) const
inline

Get the extended trigger time tag.

Definition at line 93 of file TV1190Data.hxx.

◆ GetGeoAddress()

uint32_t TV1190Data::GetGeoAddress ( int  index = 0) const
inline

Get Geographical Address.

Definition at line 90 of file TV1190Data.hxx.

Here is the caller graph for this function:

◆ GetMeasurements()

std::vector< TDCMeasurement > & TV1190Data::GetMeasurements ( )
inline

Get the Vector of TDC Measurements.

Definition at line 124 of file TV1190Data.hxx.

Here is the caller graph for this function:

◆ GetWordCount()

int TV1190Data::GetWordCount ( ) const
inline

Get the word count.

Definition at line 96 of file TV1190Data.hxx.

◆ HasBufferOverflow()

bool TV1190Data::HasBufferOverflow ( int  index = 0) const
inline

Definition at line 105 of file TV1190Data.hxx.

◆ HasTDCError()

bool TV1190Data::HasTDCError ( int  index = 0) const
inline

Definition at line 111 of file TV1190Data.hxx.

◆ IsTriggerLost()

bool TV1190Data::IsTriggerLost ( int  index = 0) const
inline

Definition at line 99 of file TV1190Data.hxx.

◆ Print()

void TV1190Data::Print ( )
virtual

Print the bank contents in a structured way.

Reimplemented from TGenericData.

Definition at line 148 of file TV1190Data.cxx.

Here is the call graph for this function:

Field Documentation

◆ fExtendedTriggerTimeTag

std::vector<int> TV1190Data::fExtendedTriggerTimeTag
private

Definition at line 136 of file TV1190Data.hxx.

◆ fGlobalHeader

std::vector<uint32_t> TV1190Data::fGlobalHeader
private

The overall global header.

Definition at line 133 of file TV1190Data.hxx.

◆ fMeasurements

std::vector<TDCMeasurement> TV1190Data::fMeasurements
private

Vector of TDC Measurements.

Definition at line 143 of file TV1190Data.hxx.

◆ fStatus

std::vector<uint32_t> TV1190Data::fStatus
private

Definition at line 139 of file TV1190Data.hxx.

◆ fWordCountTotal

int TV1190Data::fWordCountTotal
private

Definition at line 137 of file TV1190Data.hxx.


The documentation for this class was generated from the following files: