CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
ESGain Class Reference

#include <ESGain.h>

Public Member Functions

 ESGain ()
 
 ESGain (const float &gain)
 
float getESGain () const
 
void print (std::ostream &s) const
 
void setESGain (const float &value)
 
 ~ESGain ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

float gain_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 7 of file ESGain.h.

Constructor & Destructor Documentation

ESGain::ESGain ( )

Definition at line 3 of file ESGain.cc.

References gain_.

3 { gain_ = 0.; }
float gain_
Definition: ESGain.h:17
ESGain::ESGain ( const float &  gain)

Definition at line 5 of file ESGain.cc.

References PedestalClient_cfi::gain, and gain_.

ESGain::~ESGain ( )

Definition at line 7 of file ESGain.cc.

7 {}

Member Function Documentation

float ESGain::getESGain ( ) const
inline
void ESGain::print ( std::ostream &  s) const
inline

Definition at line 14 of file ESGain.h.

References gain_.

14 { s << "ESGain: " << gain_; }
float gain_
Definition: ESGain.h:17
template<class Archive >
void ESGain::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void ESGain::setESGain ( const float &  value)
inline

Definition at line 12 of file ESGain.h.

References gain_, and relativeConstraints::value.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 19 of file ESGain.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 19 of file ESGain.h.

Member Data Documentation

float ESGain::gain_
private

Definition at line 17 of file ESGain.h.

Referenced by ESGain(), getESGain(), print(), and setESGain().