#include <TV1720RawData.h>
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.
◆ TV1720RawChannel()
TV1720RawChannel::TV1720RawChannel |
( |
int |
channel, |
|
|
bool |
iscompressed |
|
) |
| |
|
inline |
◆ 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.
◆ AddZlePulse()
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.
◆ 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.
◆ GetChannelNumber()
int TV1720RawChannel::GetChannelNumber |
( |
| ) |
const |
|
inline |
◆ 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.
◆ GetNZlePulses()
int TV1720RawChannel::GetNZlePulses |
( |
| ) |
const |
|
inline |
Get the number of ZLE pulses (for compressed data)
Definition at line 83 of file TV1720RawData.h.
◆ GetZlePulse()
Get the ZLE pulse (for compressed data.
Definition at line 87 of file TV1720RawData.h.
◆ 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 |
◆ fChannelNumber
int TV1720RawChannel::fChannelNumber |
|
private |
◆ fIsZLECompressed
bool TV1720RawChannel::fIsZLECompressed |
|
private |
◆ fWaveform
std::vector<uint32_t> TV1720RawChannel::fWaveform |
|
private |
◆ fZlePulses
The documentation for this class was generated from the following file: