CMS 3D CMS Logo

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() [1/2]

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

9  {
10  EBvalue_ = 0.;
11  EEvalue_ = 0.;
12 }

◆ EcalADCToGeVConstant() [2/2]

EcalADCToGeVConstant::EcalADCToGeVConstant ( const float &  EBvalue,
const float &  EEvalue 
)

Definition at line 14 of file EcalADCToGeVConstant.cc.

References EBvalue_, and EEvalue_.

14  {
15  EBvalue_ = EBvalue;
16  EEvalue_ = EEvalue;
17 }

◆ ~EcalADCToGeVConstant()

EcalADCToGeVConstant::~EcalADCToGeVConstant ( )

Definition at line 19 of file EcalADCToGeVConstant.cc.

19 {}

Member Function Documentation

◆ getEBValue()

float EcalADCToGeVConstant::getEBValue ( ) const
inline

◆ getEEValue()

float EcalADCToGeVConstant::getEEValue ( ) const
inline

◆ print()

void EcalADCToGeVConstant::print ( std::ostream &  s) const
inline

Definition at line 22 of file EcalADCToGeVConstant.h.

References EBvalue_, EEvalue_, and alignCSCRings::s.

Referenced by EcalADCToGeVConstantBTransitionAnalyzer::equalPayloads().

22  {
23  s << "EcalADCToGeVConstant: EB " << EBvalue_ << "; EE " << EEvalue_ << " [GeV/ADC count]";
24  }

◆ serialize()

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

◆ setEBValue()

void EcalADCToGeVConstant::setEBValue ( const float &  value)
inline

◆ setEEValue()

void EcalADCToGeVConstant::setEEValue ( const float &  value)
inline

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 30 of file EcalADCToGeVConstant.h.

◆ cond::serialization::access

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

Definition at line 30 of file EcalADCToGeVConstant.h.

Member Data Documentation

◆ EBvalue_

float EcalADCToGeVConstant::EBvalue_
private

Definition at line 27 of file EcalADCToGeVConstant.h.

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

◆ EEvalue_

float EcalADCToGeVConstant::EEvalue_
private

Definition at line 28 of file EcalADCToGeVConstant.h.

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