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
ESMIPToGeVConstant Class Reference

#include <ESMIPToGeVConstant.h>

Public Member Functions

 ESMIPToGeVConstant ()
 
 ESMIPToGeVConstant (const float &ESvaluelow, const float &ESvaluehigh)
 
float getESValueHigh () const
 
float getESValueLow () const
 
void print (std::ostream &s) const
 
void setESValueHigh (const float &value)
 
void setESValueLow (const float &value)
 
 ~ESMIPToGeVConstant ()
 

Private Attributes

 COND_SERIALIZABLE
 
float ESvaluehigh_
 
float ESvaluelow_
 

Detailed Description

Definition at line 7 of file ESMIPToGeVConstant.h.

Constructor & Destructor Documentation

ESMIPToGeVConstant::ESMIPToGeVConstant ( )

Definition at line 3 of file ESMIPToGeVConstant.cc.

References ESvaluehigh_, and ESvaluelow_.

4 {
5  ESvaluelow_=0.;
6  ESvaluehigh_=0.;
7 }
ESMIPToGeVConstant::ESMIPToGeVConstant ( const float &  ESvaluelow,
const float &  ESvaluehigh 
)

Definition at line 9 of file ESMIPToGeVConstant.cc.

References ESvaluehigh_, and ESvaluelow_.

9  {
10  ESvaluelow_ = ESvaluelow;
11  ESvaluehigh_ = ESvaluehigh;
12 
13 }
ESMIPToGeVConstant::~ESMIPToGeVConstant ( )

Definition at line 15 of file ESMIPToGeVConstant.cc.

15  {
16 
17 }

Member Function Documentation

float ESMIPToGeVConstant::getESValueHigh ( ) const
inline
float ESMIPToGeVConstant::getESValueLow ( ) const
inline
void ESMIPToGeVConstant::print ( std::ostream &  s) const
inline

Definition at line 18 of file ESMIPToGeVConstant.h.

References ESvaluehigh_, and ESvaluelow_.

18  {
19  s << "ESMIPToGeVConstant: ES low/high " << ESvaluelow_ << " / " << ESvaluehigh_ <<" [GeV/MIP count]";
20  }
void ESMIPToGeVConstant::setESValueHigh ( const float &  value)
inline
void ESMIPToGeVConstant::setESValueLow ( const float &  value)
inline

Member Data Documentation

ESMIPToGeVConstant::COND_SERIALIZABLE
private

Definition at line 27 of file ESMIPToGeVConstant.h.

float ESMIPToGeVConstant::ESvaluehigh_
private

Definition at line 25 of file ESMIPToGeVConstant.h.

Referenced by ESMIPToGeVConstant(), getESValueHigh(), print(), and setESValueHigh().

float ESMIPToGeVConstant::ESvaluelow_
private

Definition at line 24 of file ESMIPToGeVConstant.h.

Referenced by ESMIPToGeVConstant(), getESValueLow(), print(), and setESValueLow().