CMS 3D CMS Logo

Public Member Functions | Private Attributes

ESGain Class Reference

#include <ESGain.h>

List of all members.

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

float gain_

Detailed Description

Definition at line 5 of file ESGain.h.


Constructor & Destructor Documentation

ESGain::ESGain ( )

Definition at line 3 of file ESGain.cc.

References gain_.

{
  gain_=0.;
}
ESGain::ESGain ( const float &  gain)

Definition at line 8 of file ESGain.cc.

References gain_.

                                 {
  gain_ = gain;
}
ESGain::~ESGain ( )

Definition at line 12 of file ESGain.cc.

                {

}

Member Function Documentation

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

Definition at line 12 of file ESGain.h.

References gain_.

                                    {
      s << "ESGain: " << gain_; 
    }
void ESGain::setESGain ( const float &  value) [inline]

Definition at line 10 of file ESGain.h.

References gain_, and relativeConstraints::value.

{ gain_ = value; }

Member Data Documentation

float ESGain::gain_ [private]

Definition at line 16 of file ESGain.h.

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