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

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

4 {
5  gain_=0.;
6 }
float gain_
Definition: ESGain.h:16
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:16
ESGain::~ESGain ( )

Definition at line 12 of file ESGain.cc.

12  {
13 
14 }

Member Function Documentation

float ESGain::getESGain ( ) const
inline

Definition at line 11 of file ESGain.h.

References gain_.

Referenced by EcalMixingModuleValidation::checkCalibrations(), ESTimingTask::set(), PreshowerClusterProducer::set(), and ESRecHitWorker::set().

11 { return gain_; }
float gain_
Definition: ESGain.h:16
void ESGain::print ( std::ostream &  s) const
inline

Definition at line 12 of file ESGain.h.

References gain_.

12  {
13  s << "ESGain: " << gain_;
14  }
float gain_
Definition: ESGain.h:16
void ESGain::setESGain ( const float &  value)
inline

Definition at line 10 of file ESGain.h.

References gain_, and relativeConstraints::value.

10 { gain_ = value; }
float gain_
Definition: ESGain.h:16

Member Data Documentation

float ESGain::gain_
private

Definition at line 16 of file ESGain.h.

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