LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lariov::PmtGain Class Reference

#include "PmtGain.h"

Inheritance diagram for lariov::PmtGain:
lariov::ChData

Public Member Functions

 PmtGain (unsigned int ch)
 Constructor. More...
 
 ~PmtGain ()
 Default destructor. More...
 
float Gain () const
 
float GainErr () const
 
CalibrationExtraInfo const & ExtraInfo () const
 
void SetGain (float v)
 
void SetGainErr (float v)
 
void SetExtraInfo (CalibrationExtraInfo const &info)
 
unsigned int Channel () const
 
void SetChannel (unsigned int ch)
 
bool operator< (unsigned int rhs) const
 
bool operator< (const ChData &ch) const
 

Protected Attributes

unsigned int fChannel
 

Private Attributes

float fGain
 
float fGainErr
 
CalibrationExtraInfo fExtraInfo
 

Detailed Description

Definition at line 24 of file PmtGain.h.

Constructor & Destructor Documentation

lariov::PmtGain::PmtGain ( unsigned int  ch)
inline

Constructor.

Definition at line 28 of file PmtGain.h.

28 : ChData(ch), fExtraInfo("PmtGain") {}
CalibrationExtraInfo fExtraInfo
Definition: PmtGain.h:44
ChData(unsigned int ch)
Constructor.
Definition: ChData.h:27
lariov::PmtGain::~PmtGain ( )
inline

Default destructor.

Definition at line 31 of file PmtGain.h.

31 {}

Member Function Documentation

unsigned int lariov::ChData::Channel ( ) const
inlineinherited

Definition at line 32 of file ChData.h.

References lariov::ChData::fChannel.

Referenced by lariov::ChData::operator<().

32 { return fChannel; }
unsigned int fChannel
Definition: ChData.h:40
CalibrationExtraInfo const& lariov::PmtGain::ExtraInfo ( ) const
inline

Definition at line 35 of file PmtGain.h.

References fExtraInfo.

Referenced by lariov::SIOVPmtGainProvider::ExtraInfo().

35 { return fExtraInfo; }
CalibrationExtraInfo fExtraInfo
Definition: PmtGain.h:44
float lariov::PmtGain::Gain ( ) const
inline

Definition at line 33 of file PmtGain.h.

References fGain.

Referenced by lariov::SIOVPmtGainProvider::Gain().

33 { return fGain; }
float fGain
Definition: PmtGain.h:42
float lariov::PmtGain::GainErr ( ) const
inline

Definition at line 34 of file PmtGain.h.

References fGainErr.

Referenced by lariov::SIOVPmtGainProvider::GainErr().

34 { return fGainErr; }
float fGainErr
Definition: PmtGain.h:43
bool lariov::ChData::operator< ( unsigned int  rhs) const
inlineinherited

Definition at line 35 of file ChData.h.

References lariov::ChData::fChannel.

35 { return fChannel < rhs; }
unsigned int fChannel
Definition: ChData.h:40
bool lariov::ChData::operator< ( const ChData ch) const
inlineinherited

Definition at line 37 of file ChData.h.

References lariov::ChData::Channel(), and lariov::ChData::fChannel.

37 { return fChannel < ch.Channel(); }
unsigned int fChannel
Definition: ChData.h:40
void lariov::ChData::SetChannel ( unsigned int  ch)
inlineinherited
void lariov::PmtGain::SetExtraInfo ( CalibrationExtraInfo const &  info)
inline

Definition at line 39 of file PmtGain.h.

References fExtraInfo.

Referenced by lariov::SIOVPmtGainProvider::DBUpdate(), and lariov::SIOVPmtGainProvider::Reconfigure().

39 { fExtraInfo = info; }
CalibrationExtraInfo fExtraInfo
Definition: PmtGain.h:44
void lariov::PmtGain::SetGain ( float  v)
inline

Definition at line 37 of file PmtGain.h.

References fGain.

Referenced by lariov::SIOVPmtGainProvider::DBUpdate(), and lariov::SIOVPmtGainProvider::Reconfigure().

37 { fGain = v; }
float fGain
Definition: PmtGain.h:42
void lariov::PmtGain::SetGainErr ( float  v)
inline

Definition at line 38 of file PmtGain.h.

References fGainErr.

Referenced by lariov::SIOVPmtGainProvider::DBUpdate(), and lariov::SIOVPmtGainProvider::Reconfigure().

38 { fGainErr = v; }
float fGainErr
Definition: PmtGain.h:43

Member Data Documentation

unsigned int lariov::ChData::fChannel
protectedinherited
CalibrationExtraInfo lariov::PmtGain::fExtraInfo
private

Definition at line 44 of file PmtGain.h.

Referenced by ExtraInfo(), and SetExtraInfo().

float lariov::PmtGain::fGain
private

Definition at line 42 of file PmtGain.h.

Referenced by Gain(), and SetGain().

float lariov::PmtGain::fGainErr
private

Definition at line 43 of file PmtGain.h.

Referenced by GainErr(), and SetGainErr().


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