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

#include <TV1720RawData.h>

Collaboration diagram for TV1720RawChannel:
Collaboration graph
[legend]

Public Member Functions

 TV1720RawChannel (int channel, bool iscompressed)
 constructor
 
int GetChannelNumber () const
 
bool IsZLECompressed () const
 
int GetNSamples () const
 Get the ADC sample for a particular bin (for uncompressed data).
 
int GetADCSample (int i) const
 Get the ADC sample for a particular bin (for uncompressed data).
 
int GetNZlePulses () const
 Get the number of ZLE pulses (for compressed data)
 
TV1720RawZlePulse GetZlePulse (int i) const
 Get the ZLE pulse (for compressed data.
 
int IsEmpty () const
 Returns true for objects with no ADC samples or ZLE pulses.
 
void AddADCSample (uint32_t sample)
 
void AddZlePulse (TV1720RawZlePulse pulse)
 

Private Attributes

int fChannelNumber
 Channel number.
 
bool fIsZLECompressed
 Is ZLE compressed.
 
std::vector< TV1720RawZlePulsefZlePulses
 
std::vector< uint32_t > fWaveform
 

Detailed Description

Class to store information from a single V1720 channel. Class will store either the full ADC waveform (if not compressed) or a vector of TV1720RawZlePulse (if compressed).

Definition at line 53 of file TV1720RawData.h.

Constructor & Destructor Documentation

◆ TV1720RawChannel()

TV1720RawChannel::TV1720RawChannel ( int  channel,
bool  iscompressed 
)
inline

constructor

Definition at line 58 of file TV1720RawData.h.

Member Function Documentation

◆ AddADCSample()

void TV1720RawChannel::AddADCSample ( uint32_t  sample)
inline

Add an ADC sample Warning: this method just adds an ADC sample to the back of the vector. Must add in order and must not add any sample twice.

Definition at line 106 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ AddZlePulse()

void TV1720RawChannel::AddZlePulse ( TV1720RawZlePulse  pulse)
inline

Add an ZLE pulse Warning: this method just adds a ZLE pulse to the back of the vector. Must add in order and must not add any pulse twice.

Definition at line 111 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ GetADCSample()

int TV1720RawChannel::GetADCSample ( int  i) const
inline

Get the ADC sample for a particular bin (for uncompressed data).

Definition at line 74 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ GetChannelNumber()

int TV1720RawChannel::GetChannelNumber ( ) const
inline

Definition at line 64 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ GetNSamples()

int TV1720RawChannel::GetNSamples ( ) const
inline

Get the ADC sample for a particular bin (for uncompressed data).

Definition at line 71 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ GetNZlePulses()

int TV1720RawChannel::GetNZlePulses ( ) const
inline

Get the number of ZLE pulses (for compressed data)

Definition at line 83 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ GetZlePulse()

TV1720RawZlePulse TV1720RawChannel::GetZlePulse ( int  i) const
inline

Get the ZLE pulse (for compressed data.

Definition at line 87 of file TV1720RawData.h.

Here is the caller graph for this function:

◆ IsEmpty()

int TV1720RawChannel::IsEmpty ( ) const
inline

Returns true for objects with no ADC samples or ZLE pulses.

Definition at line 97 of file TV1720RawData.h.

◆ IsZLECompressed()

bool TV1720RawChannel::IsZLECompressed ( ) const
inline

Definition at line 67 of file TV1720RawData.h.

Field Documentation

◆ fChannelNumber

int TV1720RawChannel::fChannelNumber
private

Channel number.

Definition at line 117 of file TV1720RawData.h.

◆ fIsZLECompressed

bool TV1720RawChannel::fIsZLECompressed
private

Is ZLE compressed.

Definition at line 120 of file TV1720RawData.h.

◆ fWaveform

std::vector<uint32_t> TV1720RawChannel::fWaveform
private

Definition at line 123 of file TV1720RawData.h.

◆ fZlePulses

std::vector<TV1720RawZlePulse> TV1720RawChannel::fZlePulses
private

Definition at line 122 of file TV1720RawData.h.


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