ROOTANA
Public Member Functions | Private Attributes
TCamacData Class Reference

#include <TCamacADCData.hxx>

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

Public Member Functions

 TCamacData (int bklen, int bktype, const char *name, void *pdata)
 Constructor. More...
 
std::vector< CamacADCEvent > & GetMeasurements ()
 Get the Vector of TDC Measurements. More...
 
int GetNTriggers ()
 Get number of triggers. 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...
 
virtual void Print ()
 Print the bank contents in a structured way. More...
 

Private Attributes

std::vector< CamacADCEventfMeasurements
 Vector of CAMAC ADC measurements. More...
 

Detailed Description

This class is meant to store a set of triggers (LAMs) of CAMAC ADC data specifically, it has been written to readout a set of events taken with the Wiener CC-USB... it might work for decoding other CAMAC data, though I haven't tried. T. Lindner

Definition at line 44 of file TCamacADCData.hxx.

Constructor & Destructor Documentation

◆ TCamacData()

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

Constructor.

Definition at line 13 of file TCamacADCData.cxx.

Here is the call graph for this function:

Member Function Documentation

◆ GetMeasurements()

std::vector<CamacADCEvent>& TCamacData::GetMeasurements ( )
inline

Get the Vector of TDC Measurements.

Definition at line 52 of file TCamacADCData.hxx.

Here is the caller graph for this function:

◆ GetNTriggers()

int TCamacData::GetNTriggers ( )
inline

Get number of triggers.

Definition at line 55 of file TCamacADCData.hxx.

Field Documentation

◆ fMeasurements

std::vector<CamacADCEvent> TCamacData::fMeasurements
private

Vector of CAMAC ADC measurements.

Definition at line 60 of file TCamacADCData.hxx.


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