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() [1/2]

ESGain::ESGain ( )

Definition at line 3 of file ESGain.cc.

References gain_.

3 { gain_ = 0.; }
float gain_
Definition: ESGain.h:17

◆ ESGain() [2/2]

ESGain::ESGain ( const float &  gain)

◆ ~ESGain()

ESGain::~ESGain ( )

Definition at line 7 of file ESGain.cc.

7 {}

Member Function Documentation

◆ getESGain()

float ESGain::getESGain ( ) const
inline

◆ print()

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

Definition at line 14 of file ESGain.h.

References gain_, and alignCSCRings::s.

14 { s << "ESGain: " << gain_; }
float gain_
Definition: ESGain.h:17

◆ serialize()

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

◆ setESGain()

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

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 19 of file ESGain.h.

◆ cond::serialization::access

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

Definition at line 19 of file ESGain.h.

Member Data Documentation

◆ gain_

float ESGain::gain_
private

Definition at line 17 of file ESGain.h.

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