TV1720RawZlePulse Class Reference

Class to store information from a single V1720 ZLE pulse. More...

#include <TV1720RawData.h>

Collaboration diagram for TV1720RawZlePulse:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Class to store information from a single V1720 ZLE pulse.

Definition at line 10 of file TV1720RawData.h.


Constructor & Destructor Documentation

TV1720RawZlePulse::TV1720RawZlePulse ( int  firstBin,
std::vector< uint32_t >  samples 
) [inline]

Constructor.

Definition at line 15 of file TV1720RawData.h.

00015                                                              :
00016   fFirstBin(firstBin),fSamples(samples){};

TV1720RawZlePulse::TV1720RawZlePulse (  )  [inline]

Definition at line 18 of file TV1720RawData.h.

00018 {};


Member Function Documentation

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   }

Here is the caller graph for this function:

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   }

Here is the caller graph for this function:

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   }

Here is the caller graph for this function:


Member Data Documentation

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().


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

Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1