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

#include <TV1720RawData.h>

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

Public Member Functions

 TV1720RawData (int bklen, int bktype, const char *name, void *pdata)
 Constructor.
 
uint32_t GetEventSize () const
 Get the number of 32-bit words in bank.
 
uint32_t GetChannelMask () const
 
bool IsZLECompressed () const
 Is the V1720 data ZLE compressed?
 
uint32_t GetEventCounter () const
 Get event counter.
 
uint32_t GetTriggerTag () const
 Get trigger tag.
 
int GetNChannels () const
 Get Number of channels in this bank.
 
TV1720RawChannel GetChannelData (int i)
 Get Channel Data.
 
void Print ()
 Print the bank contents in a structured way.
 
- 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 Member Functions

void HandlZLECompressedData ()
 Helper method to handle ZLE compressed data.
 
void HandlUncompressedData ()
 Helper method to handle uncompressed data.
 

Private Attributes

uint32_t fGlobalHeader0
 The overall global headers.
 
uint32_t fGlobalHeader1
 
uint32_t fGlobalHeader2
 
uint32_t fGlobalHeader3
 
std::vector< TV1720RawChannelfMeasurements
 Vector of V1720 measurements.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TV1720RawData()

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

Constructor.

Definition at line 90 of file TV1720RawData.cxx.

Here is the call graph for this function:

Member Function Documentation

◆ GetChannelData()

TV1720RawChannel TV1720RawData::GetChannelData ( int  i)
inline

Get Channel Data.

Definition at line 163 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ GetChannelMask()

uint32_t TV1720RawData::GetChannelMask ( ) const
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.

Here is the caller graph for this function:

◆ GetEventCounter()

uint32_t TV1720RawData::GetEventCounter ( ) const
inline

Get event counter.

Definition at line 153 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ GetEventSize()

uint32_t TV1720RawData::GetEventSize ( ) const
inline

Get the number of 32-bit words in bank.

Definition at line 143 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ GetNChannels()

int TV1720RawData::GetNChannels ( ) const
inline

Get Number of channels in this bank.

Definition at line 160 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ GetTriggerTag()

uint32_t TV1720RawData::GetTriggerTag ( ) const
inline

Get trigger tag.

Definition at line 156 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ HandlUncompressedData()

void TV1720RawData::HandlUncompressedData ( )
private

Helper method to handle uncompressed data.

Definition at line 47 of file TV1720RawData.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandlZLECompressedData()

void TV1720RawData::HandlZLECompressedData ( )
private

Helper method to handle ZLE compressed data.

Definition at line 6 of file TV1720RawData.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsZLECompressed()

bool TV1720RawData::IsZLECompressed ( ) const
inline

Is the V1720 data ZLE compressed?

Definition at line 150 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ Print()

void TV1720RawData::Print ( )
virtual

Print the bank contents in a structured way.

Reimplemented from TGenericData.

Definition at line 109 of file TV1720RawData.cxx.

Here is the call graph for this function:

Field Documentation

◆ fGlobalHeader0

uint32_t TV1720RawData::fGlobalHeader0
private

The overall global headers.

Definition at line 183 of file TV1720RawData.h.

◆ fGlobalHeader1

uint32_t TV1720RawData::fGlobalHeader1
private

Definition at line 184 of file TV1720RawData.h.

◆ fGlobalHeader2

uint32_t TV1720RawData::fGlobalHeader2
private

Definition at line 185 of file TV1720RawData.h.

◆ fGlobalHeader3

uint32_t TV1720RawData::fGlobalHeader3
private

Definition at line 186 of file TV1720RawData.h.

◆ fMeasurements

std::vector<TV1720RawChannel> TV1720RawData::fMeasurements
private

Vector of V1720 measurements.

Definition at line 190 of file TV1720RawData.h.


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