CMS 3D CMS Logo

Public Member Functions | Private Attributes

EcalADCToGeVConstant Class Reference

#include <EcalADCToGeVConstant.h>

List of all members.

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 Attributes

float EBvalue_
float EEvalue_

Detailed Description

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

Id:
EcalADCToGeVConstant.h,v 1.4 2006/05/15 12:43:56 meridian Exp

Definition at line 11 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.3 2006/05/15 12:43:57 meridian Exp

Definition at line 9 of file EcalADCToGeVConstant.cc.

References EBvalue_, and EEvalue_.

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

Definition at line 15 of file EcalADCToGeVConstant.cc.

References EBvalue_, and EEvalue_.

                                                                                      {
  EBvalue_ = EBvalue;
  EEvalue_ = EEvalue;
}
EcalADCToGeVConstant::~EcalADCToGeVConstant ( )

Definition at line 20 of file EcalADCToGeVConstant.cc.

                                            {

}

Member Function Documentation

float EcalADCToGeVConstant::getEBValue ( ) const [inline]
float EcalADCToGeVConstant::getEEValue ( ) const [inline]
void EcalADCToGeVConstant::print ( std::ostream &  s) const [inline]

Definition at line 20 of file EcalADCToGeVConstant.h.

References EBvalue_, and EEvalue_.

                                    {
      s << "EcalADCToGeVConstant: EB " << EBvalue_ << "; EE " << EEvalue_ << " [GeV/ADC count]";
    }
void EcalADCToGeVConstant::setEBValue ( const float &  value) [inline]

Definition at line 16 of file EcalADCToGeVConstant.h.

References EBvalue_, and relativeConstraints::value.

Referenced by EcalADCToGeVXMLTranslator::readXML().

{ EBvalue_ = value; }
void EcalADCToGeVConstant::setEEValue ( const float &  value) [inline]

Definition at line 17 of file EcalADCToGeVConstant.h.

References EEvalue_, and relativeConstraints::value.

Referenced by EcalADCToGeVXMLTranslator::readXML().

{ EEvalue_ = value; }

Member Data Documentation

Definition at line 24 of file EcalADCToGeVConstant.h.

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

Definition at line 25 of file EcalADCToGeVConstant.h.

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