CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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_.

4 {
5  gain_=0.;
6 }
float gain_
Definition: ESGain.h:18
ESGain::ESGain ( const float &  gain)

Definition at line 8 of file ESGain.cc.

References gain_.

8  {
9  gain_ = gain;
10 }
float gain_
Definition: ESGain.h:18
ESGain::~ESGain ( )

Definition at line 12 of file ESGain.cc.

12  {
13 
14 }

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  {
15  s << "ESGain: " << gain_;
16  }
float gain_
Definition: ESGain.h:18
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.

12 { gain_ = value; }
float gain_
Definition: ESGain.h:18

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 20 of file ESGain.h.

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

Definition at line 20 of file ESGain.h.

Member Data Documentation

float ESGain::gain_
private

Definition at line 18 of file ESGain.h.

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