RawChannelMeasurement Class Reference

#include <TDT724RawData.hxx>

Collaboration diagram for RawChannelMeasurement:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int GetNSamples ()
int GetChannel ()
uint32_t GetSample (int i)
 Get Errors.
void AddSamples (std::vector< uint32_t > Samples)
int GetNSamples ()
int GetChannel ()
uint32_t GetSample (int i)
 Get Errors.
void AddSamples (std::vector< uint32_t > Samples)

Private Member Functions

 RawChannelMeasurement (int chan)
 Constructor; need to pass in header and measurement.
 RawChannelMeasurement (int chan)
 Constructor; need to pass in header and measurement.

Private Attributes

int fChan
std::vector< uint32_t > fSamples

Friends

class TDT724RawData
class TV1730RawData

Detailed Description

Class for each channel measurement For the definition of obscure variables see the CAEN DT724 manual.

Class for each channel measurement For the definition of obscure variables see the CAEN V1730 manual (for raw (non-DPP) readout).

Definition at line 10 of file TDT724RawData.hxx.


Constructor & Destructor Documentation

RawChannelMeasurement::RawChannelMeasurement ( int  chan  )  [inline, private]

Constructor; need to pass in header and measurement.

Definition at line 38 of file TDT724RawData.hxx.

References fChan.

00038                                  {
00039                 fChan = chan;
00040         }

RawChannelMeasurement::RawChannelMeasurement ( int  chan  )  [inline, private]

Constructor; need to pass in header and measurement.

Definition at line 38 of file TV1730RawData.hxx.

References fChan.

00038                                  {
00039                 fChan = chan;
00040         }


Member Function Documentation

void RawChannelMeasurement::AddSamples ( std::vector< uint32_t >  Samples  )  [inline]

Definition at line 29 of file TV1730RawData.hxx.

References fSamples.

00029                                                     {
00030                 fSamples = Samples;
00031         }

void RawChannelMeasurement::AddSamples ( std::vector< uint32_t >  Samples  )  [inline]

Definition at line 29 of file TDT724RawData.hxx.

References fSamples.

Referenced by TDT724RawData::TDT724RawData(), and TV1730RawData::TV1730RawData().

00029                                                     {
00030                 fSamples = Samples;
00031         }

Here is the caller graph for this function:

int RawChannelMeasurement::GetChannel (  )  [inline]

Definition at line 20 of file TV1730RawData.hxx.

References fChan.

00020 { return fChan;}

int RawChannelMeasurement::GetChannel (  )  [inline]

Definition at line 20 of file TDT724RawData.hxx.

References fChan.

00020 { return fChan;}

int RawChannelMeasurement::GetNSamples (  )  [inline]

Definition at line 16 of file TV1730RawData.hxx.

References fSamples.

00016                          {
00017                 return  fSamples.size();
00018         }

int RawChannelMeasurement::GetNSamples (  )  [inline]

Definition at line 16 of file TDT724RawData.hxx.

References fSamples.

00016                          {
00017                 return  fSamples.size();
00018         }

uint32_t RawChannelMeasurement::GetSample ( int  i  )  [inline]

Get Errors.

Definition at line 23 of file TV1730RawData.hxx.

References fSamples.

00023                            {
00024                 if(i >= 0 && i < fSamples.size())
00025                         return fSamples[i];
00026                 return 9999999;
00027         }

uint32_t RawChannelMeasurement::GetSample ( int  i  )  [inline]

Get Errors.

Definition at line 23 of file TDT724RawData.hxx.

References fSamples.

00023                            {
00024                 if(i >= 0 && i < fSamples.size())
00025                         return fSamples[i];
00026                 return 9999999;
00027         }


Friends And Related Function Documentation

friend class TDT724RawData [friend]

Definition at line 12 of file TDT724RawData.hxx.

friend class TV1730RawData [friend]

Definition at line 12 of file TV1730RawData.hxx.


Member Data Documentation

Definition at line 35 of file TDT724RawData.hxx.

Referenced by GetChannel(), and RawChannelMeasurement().

std::vector< uint32_t > RawChannelMeasurement::fSamples [private]

Definition at line 42 of file TDT724RawData.hxx.

Referenced by AddSamples(), GetNSamples(), and GetSample().


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

Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1