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 Attributes
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 Attributes

 COND_SERIALIZABLE
 
float gain_
 

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
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

Member Data Documentation

ESGain::COND_SERIALIZABLE
private

Definition at line 20 of file ESGain.h.

float ESGain::gain_
private

Definition at line 18 of file ESGain.h.

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