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

#include <ESADCToGeVConstant.h>

Public Member Functions

 ESADCToGeVConstant ()
 
 ESADCToGeVConstant (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)
 
 ~ESADCToGeVConstant ()
 

Private Attributes

 COND_SERIALIZABLE
 
float ESvaluehigh_
 
float ESvaluelow_
 

Detailed Description

Definition at line 7 of file ESADCToGeVConstant.h.

Constructor & Destructor Documentation

ESADCToGeVConstant::ESADCToGeVConstant ( )

Definition at line 3 of file ESADCToGeVConstant.cc.

References ESvaluehigh_, and ESvaluelow_.

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

Definition at line 9 of file ESADCToGeVConstant.cc.

References ESvaluehigh_, and ESvaluelow_.

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

Definition at line 15 of file ESADCToGeVConstant.cc.

15  {
16 
17 }

Member Function Documentation

float ESADCToGeVConstant::getESValueHigh ( ) const
inline

Definition at line 15 of file ESADCToGeVConstant.h.

References ESvaluehigh_.

15 { return ESvaluehigh_; }
float ESADCToGeVConstant::getESValueLow ( ) const
inline

Definition at line 13 of file ESADCToGeVConstant.h.

References ESvaluelow_.

13 { return ESvaluelow_; }
void ESADCToGeVConstant::print ( std::ostream &  s) const
inline

Definition at line 16 of file ESADCToGeVConstant.h.

References ESvaluehigh_, and ESvaluelow_.

16  {
17  s << "ESADCToGeVConstant: ES low/high " << ESvaluelow_ << " / " << ESvaluehigh_ <<" [GeV/ADC count]";
18  }
void ESADCToGeVConstant::setESValueHigh ( const float &  value)
inline
void ESADCToGeVConstant::setESValueLow ( const float &  value)
inline

Member Data Documentation

ESADCToGeVConstant::COND_SERIALIZABLE
private

Definition at line 23 of file ESADCToGeVConstant.h.

float ESADCToGeVConstant::ESvaluehigh_
private

Definition at line 21 of file ESADCToGeVConstant.h.

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

float ESADCToGeVConstant::ESvaluelow_
private

Definition at line 20 of file ESADCToGeVConstant.h.

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