ROOTANA
Public Member Functions | Private Member Functions | Private Attributes | Friends
ChannelMeasurement Class Reference

#include <TV1730DppData.hxx>

Collaboration diagram for ChannelMeasurement:
Collaboration graph
[legend]

Public Member Functions

bool GetDualTraceEnabled ()
 See CAEN DPP manual for definition of all these variables. More...
 
bool GetChargeEnabled ()
 
bool GetTimeEnabled ()
 
bool GetBaselineEnabled ()
 
bool GetSamplesEnabled ()
 
int GetNSamples ()
 
int GetChannel ()
 
uint32_t GetSample (int i)
 Get Errors. More...
 
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. More...
 

Private Attributes

int fChan
 
uint32_t header0
 
uint32_t header1
 
std::vector< uint32_t > fSamples
 

Friends

class TV1730DppData
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ChannelMeasurement()

ChannelMeasurement::ChannelMeasurement ( int  chan,
uint32_t  iheader0,
uint32_t  iheader1 
)
inlineprivate

Constructor; need to pass in header and measurement.

Definition at line 50 of file TV1730DppData.hxx.

Member Function Documentation

◆ AddSamples()

void ChannelMeasurement::AddSamples ( std::vector< uint32_t >  Samples)
inline

Definition at line 39 of file TV1730DppData.hxx.

Here is the caller graph for this function:

◆ GetBaselineEnabled()

bool ChannelMeasurement::GetBaselineEnabled ( )
inline

Definition at line 20 of file TV1730DppData.hxx.

◆ GetChannel()

int ChannelMeasurement::GetChannel ( )
inline

Definition at line 30 of file TV1730DppData.hxx.

◆ GetChargeEnabled()

bool ChannelMeasurement::GetChargeEnabled ( )
inline

Definition at line 18 of file TV1730DppData.hxx.

◆ GetDualTraceEnabled()

bool ChannelMeasurement::GetDualTraceEnabled ( )
inline

See CAEN DPP manual for definition of all these variables.

Definition at line 17 of file TV1730DppData.hxx.

◆ GetNSamples()

int ChannelMeasurement::GetNSamples ( )
inline

Definition at line 22 of file TV1730DppData.hxx.

◆ GetSample()

uint32_t ChannelMeasurement::GetSample ( int  i)
inline

Get Errors.

Definition at line 33 of file TV1730DppData.hxx.

◆ GetSamplesEnabled()

bool ChannelMeasurement::GetSamplesEnabled ( )
inline

Definition at line 21 of file TV1730DppData.hxx.

◆ GetTimeEnabled()

bool ChannelMeasurement::GetTimeEnabled ( )
inline

Definition at line 19 of file TV1730DppData.hxx.

Friends And Related Function Documentation

◆ TV1730DppData

friend class TV1730DppData
friend

Definition at line 12 of file TV1730DppData.hxx.

Field Documentation

◆ fChan

int ChannelMeasurement::fChan
private

Definition at line 45 of file TV1730DppData.hxx.

◆ fSamples

std::vector<uint32_t> ChannelMeasurement::fSamples
private

Definition at line 56 of file TV1730DppData.hxx.

◆ header0

uint32_t ChannelMeasurement::header0
private

Definition at line 46 of file TV1730DppData.hxx.

◆ header1

uint32_t ChannelMeasurement::header1
private

Definition at line 47 of file TV1730DppData.hxx.


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