Class to store information from a single V1720 ZLE pulse. More...
#include <TV1720RawData.h>

Public Member Functions | |
| TV1720RawZlePulse (int firstBin, std::vector< uint32_t > samples) | |
| Constructor. | |
| TV1720RawZlePulse () | |
| int | GetFirstBin () const |
| Get the first bin for this pulse. | |
| int | GetNSamples () const |
| Get the number of samples. | |
| int | GetSample (int i) const |
| Get the first bin for this pulse. | |
Private Attributes | |
| int | fFirstBin |
| The first bin for this ZLE pulse. | |
| std::vector< uint32_t > | fSamples |
| The set of samples for this ZLE pulse. | |
Class to store information from a single V1720 ZLE pulse.
Definition at line 10 of file TV1720RawData.h.
| TV1720RawZlePulse::TV1720RawZlePulse | ( | int | firstBin, | |
| std::vector< uint32_t > | samples | |||
| ) | [inline] |
Constructor.
Definition at line 15 of file TV1720RawData.h.
| TV1720RawZlePulse::TV1720RawZlePulse | ( | ) | [inline] |
Definition at line 18 of file TV1720RawData.h.
| int TV1720RawZlePulse::GetFirstBin | ( | ) | const [inline] |
Get the first bin for this pulse.
Definition at line 22 of file TV1720RawData.h.
References fFirstBin.
Referenced by TV1720RawData::Print(), and TV1720Waveform::UpdateHistograms().
00022 { 00023 return fFirstBin; 00024 }

| int TV1720RawZlePulse::GetNSamples | ( | ) | const [inline] |
Get the number of samples.
Definition at line 27 of file TV1720RawData.h.
References fSamples.
Referenced by TV1720RawData::Print(), and TV1720Waveform::UpdateHistograms().
00027 { 00028 return fSamples.size(); 00029 }

| int TV1720RawZlePulse::GetSample | ( | int | i | ) | const [inline] |
Get the first bin for this pulse.
Definition at line 32 of file TV1720RawData.h.
References fSamples.
Referenced by TV1720RawData::Print(), and TV1720Waveform::UpdateHistograms().
00032 { 00033 if(i >= 0 && i < (int)fSamples.size()) 00034 return fSamples[i]; 00035 00036 return -1; 00037 }

int TV1720RawZlePulse::fFirstBin [private] |
The first bin for this ZLE pulse.
Definition at line 42 of file TV1720RawData.h.
Referenced by GetFirstBin().
std::vector<uint32_t> TV1720RawZlePulse::fSamples [private] |
The set of samples for this ZLE pulse.
Definition at line 45 of file TV1720RawData.h.
Referenced by GetNSamples(), and GetSample().
1.6.1