#include <TV1730DppData.hxx>
Public Member Functions | |
bool | GetDualTraceEnabled () |
See CAEN DPP manual for definition of all these variables. | |
bool | GetChargeEnabled () |
bool | GetTimeEnabled () |
bool | GetBaselineEnabled () |
bool | GetSamplesEnabled () |
int | GetNSamples () |
int | GetChannel () |
uint32_t | GetSample (int i) |
Get Errors. | |
void | AddSamples (std::vector< uint32_t > Samples) |
Private Member Functions | |
ChannelMeasurement (int chan, uint32_t iheader0, uint32_t iheader1) | |
Constructor; need to pass in header and measurement. | |
Private Attributes | |
int | fChan |
uint32_t | header0 |
uint32_t | header1 |
std::vector< uint32_t > | fSamples |
Friends | |
class | TV1730DppData |
Class for each channel measurement For the definition of obscure variables see the CAEN V1730 manual (for DPP readout).
Definition at line 10 of file TV1730DppData.hxx.
ChannelMeasurement::ChannelMeasurement | ( | int | chan, | |
uint32_t | iheader0, | |||
uint32_t | iheader1 | |||
) | [inline, private] |
void ChannelMeasurement::AddSamples | ( | std::vector< uint32_t > | Samples | ) | [inline] |
Definition at line 39 of file TV1730DppData.hxx.
References fSamples.
Referenced by TV1730DppData::TV1730DppData().
00039 { 00040 fSamples = Samples; 00041 }
bool ChannelMeasurement::GetBaselineEnabled | ( | ) | [inline] |
Definition at line 20 of file TV1730DppData.hxx.
References header1.
00020 {return (header1 & 0x10000000) >> 28;}
int ChannelMeasurement::GetChannel | ( | ) | [inline] |
bool ChannelMeasurement::GetChargeEnabled | ( | ) | [inline] |
Definition at line 18 of file TV1730DppData.hxx.
References header1.
00018 {return (header1 & 0x40000000) >> 30;}
bool ChannelMeasurement::GetDualTraceEnabled | ( | ) | [inline] |
See CAEN DPP manual for definition of all these variables.
Definition at line 17 of file TV1730DppData.hxx.
References header1.
00017 {return (header1 & 0x80000000) >> 31;}
int ChannelMeasurement::GetNSamples | ( | ) | [inline] |
Definition at line 22 of file TV1730DppData.hxx.
uint32_t ChannelMeasurement::GetSample | ( | int | i | ) | [inline] |
bool ChannelMeasurement::GetSamplesEnabled | ( | ) | [inline] |
Definition at line 21 of file TV1730DppData.hxx.
References header1.
00021 {return (header1 & 0x08000000) >> 27;}
bool ChannelMeasurement::GetTimeEnabled | ( | ) | [inline] |
Definition at line 19 of file TV1730DppData.hxx.
References header1.
00019 {return (header1 & 0x20000000) >> 29;}
friend class TV1730DppData [friend] |
Definition at line 12 of file TV1730DppData.hxx.
int ChannelMeasurement::fChan [private] |
Definition at line 45 of file TV1730DppData.hxx.
Referenced by ChannelMeasurement(), and GetChannel().
std::vector<uint32_t> ChannelMeasurement::fSamples [private] |
Definition at line 56 of file TV1730DppData.hxx.
Referenced by AddSamples(), GetNSamples(), and GetSample().
uint32_t ChannelMeasurement::header0 [private] |
Definition at line 46 of file TV1730DppData.hxx.
Referenced by ChannelMeasurement().
uint32_t ChannelMeasurement::header1 [private] |
Definition at line 47 of file TV1730DppData.hxx.
Referenced by ChannelMeasurement(), GetBaselineEnabled(), GetChargeEnabled(), GetDualTraceEnabled(), GetNSamples(), GetSamplesEnabled(), and GetTimeEnabled().