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 Member Functions | Private Attributes | Friends
EcalADCToGeVConstant Class Reference

#include <EcalADCToGeVConstant.h>

Public Member Functions

 EcalADCToGeVConstant ()
 
 EcalADCToGeVConstant (const float &EBvalue, const float &EEvalue)
 
float getEBValue () const
 
float getEEValue () const
 
void print (std::ostream &s) const
 
void setEBValue (const float &value)
 
void setEEValue (const float &value)
 
 ~EcalADCToGeVConstant ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

float EBvalue_
 
float EEvalue_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006

Id:
EcalADCToGeVConstant.h,v 1.3 2006/02/23 16:56:34 rahatlou Exp

Definition at line 13 of file EcalADCToGeVConstant.h.

Constructor & Destructor Documentation

EcalADCToGeVConstant::EcalADCToGeVConstant ( )

Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006

Id:
EcalADCToGeVConstant.cc,v 1.2 2006/02/23 16:56:35 rahatlou Exp

Definition at line 9 of file EcalADCToGeVConstant.cc.

References EBvalue_, and EEvalue_.

10 {
11  EBvalue_=0.;
12  EEvalue_=0.;
13 }
EcalADCToGeVConstant::EcalADCToGeVConstant ( const float &  EBvalue,
const float &  EEvalue 
)

Definition at line 15 of file EcalADCToGeVConstant.cc.

References EBvalue_, and EEvalue_.

15  {
16  EBvalue_ = EBvalue;
17  EEvalue_ = EEvalue;
18 }
EcalADCToGeVConstant::~EcalADCToGeVConstant ( )

Definition at line 20 of file EcalADCToGeVConstant.cc.

20  {
21 
22 }

Member Function Documentation

float EcalADCToGeVConstant::getEBValue ( ) const
inline

Definition at line 20 of file EcalADCToGeVConstant.h.

References EBvalue_.

Referenced by EcalADCToGeVXMLTranslator::dumpXML().

20 { return EBvalue_; }
float EcalADCToGeVConstant::getEEValue ( ) const
inline

Definition at line 21 of file EcalADCToGeVConstant.h.

References EEvalue_.

Referenced by EcalADCToGeVXMLTranslator::dumpXML().

21 { return EEvalue_; }
void EcalADCToGeVConstant::print ( std::ostream &  s) const
inline

Definition at line 22 of file EcalADCToGeVConstant.h.

References EBvalue_, and EEvalue_.

22  {
23  s << "EcalADCToGeVConstant: EB " << EBvalue_ << "; EE " << EEvalue_ << " [GeV/ADC count]";
24  }
template<class Archive >
void EcalADCToGeVConstant::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void EcalADCToGeVConstant::setEBValue ( const float &  value)
inline
void EcalADCToGeVConstant::setEEValue ( const float &  value)
inline

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 29 of file EcalADCToGeVConstant.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 29 of file EcalADCToGeVConstant.h.

Member Data Documentation

float EcalADCToGeVConstant::EBvalue_
private

Definition at line 26 of file EcalADCToGeVConstant.h.

Referenced by EcalADCToGeVConstant(), getEBValue(), print(), and setEBValue().

float EcalADCToGeVConstant::EEvalue_
private

Definition at line 27 of file EcalADCToGeVConstant.h.

Referenced by EcalADCToGeVConstant(), getEEValue(), print(), and setEEValue().