ATLAS Offline Software
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
LArRawRamp Class Reference

This class stores a unfittet ramp (=a vector a ADC and DAC values) More...

#include <LArRawRamp.h>

Collaboration diagram for LArRawRamp:

Classes

class  RAMPPOINT_t
 

Public Types

typedef double RAMPDATA_t
 

Public Member Functions

 LArRawRamp (HWIdentifier id, CaloGain::CaloGain gain)
 
void add (const RAMPPOINT_t &point)
 
void setsat (int iSat)
 
HWIdentifier channelID () const
 
CaloGain::CaloGain gain () const
 
const std::vector< RAMPPOINT_t > & theRamp () const
 
std::vector< RAMPPOINT_t > & theRamp ()
 
int iSat () const
 

Private Attributes

std::vector< RAMPPOINT_tm_ramp
 
HWIdentifier m_ID
 
CaloGain::CaloGain m_gain
 
int m_iSat
 

Detailed Description

This class stores a unfittet ramp (=a vector a ADC and DAC values)

Author
W. Lampl walte.nosp@m.r.la.nosp@m.mpl@c.nosp@m.ern..nosp@m.ch 26/02/04 Modifications:
  • 6/10/04, S. Laplace: added index of max. sample as data member
  • 7/03/05, S. Laplace: added averaged samples and RMS

Definition at line 24 of file LArRawRamp.h.

Member Typedef Documentation

◆ RAMPDATA_t

typedef double LArRawRamp::RAMPDATA_t

Definition at line 28 of file LArRawRamp.h.

Constructor & Destructor Documentation

◆ LArRawRamp()

LArRawRamp::LArRawRamp ( HWIdentifier  id,
CaloGain::CaloGain  gain 
)

Definition at line 7 of file LArRawRamp.cxx.

7  : m_ID(id), m_gain(gain)
8 { m_iSat = -1; }

Member Function Documentation

◆ add()

void LArRawRamp::add ( const RAMPPOINT_t point)

Definition at line 10 of file LArRawRamp.cxx.

11 {m_ramp.push_back(point);}

◆ channelID()

HWIdentifier LArRawRamp::channelID ( ) const
inline

Definition at line 49 of file LArRawRamp.h.

50  {return m_ID;}

◆ gain()

CaloGain::CaloGain LArRawRamp::gain ( ) const
inline

Definition at line 51 of file LArRawRamp.h.

52  {return m_gain;}

◆ iSat()

int LArRawRamp::iSat ( ) const
inline

Definition at line 58 of file LArRawRamp.h.

59  {return m_iSat;}

◆ setsat()

void LArRawRamp::setsat ( int  iSat)

Definition at line 13 of file LArRawRamp.cxx.

14 {
15  if ((iSat > m_iSat)&&(m_iSat != -1)) return;
16  else m_iSat = iSat;
17 }

◆ theRamp() [1/2]

std::vector<RAMPPOINT_t>& LArRawRamp::theRamp ( )
inline

Definition at line 56 of file LArRawRamp.h.

57  {return m_ramp;}

◆ theRamp() [2/2]

const std::vector<RAMPPOINT_t>& LArRawRamp::theRamp ( ) const
inline

Definition at line 54 of file LArRawRamp.h.

55  {return m_ramp;}

Member Data Documentation

◆ m_gain

CaloGain::CaloGain LArRawRamp::m_gain
private

Definition at line 64 of file LArRawRamp.h.

◆ m_ID

HWIdentifier LArRawRamp::m_ID
private

Definition at line 63 of file LArRawRamp.h.

◆ m_iSat

int LArRawRamp::m_iSat
private

Definition at line 65 of file LArRawRamp.h.

◆ m_ramp

std::vector<RAMPPOINT_t> LArRawRamp::m_ramp
private

Definition at line 62 of file LArRawRamp.h.


The documentation for this class was generated from the following files:
LArRawRamp::m_ramp
std::vector< RAMPPOINT_t > m_ramp
Definition: LArRawRamp.h:62
LArRawRamp::m_gain
CaloGain::CaloGain m_gain
Definition: LArRawRamp.h:64
LArRawRamp::m_iSat
int m_iSat
Definition: LArRawRamp.h:65
LArRawRamp::m_ID
HWIdentifier m_ID
Definition: LArRawRamp.h:63
LArRawRamp::iSat
int iSat() const
Definition: LArRawRamp.h:58
LArRawRamp::gain
CaloGain::CaloGain gain() const
Definition: LArRawRamp.h:51