CMS 3D CMS Logo

EcalADCToGeVConstant.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalADCToGeVConstant_H
2 #define CondFormats_EcalObjects_EcalADCToGeVConstant_H
3 
10 
11 #include <iostream>
12 
14 public:
16  EcalADCToGeVConstant(const float& EBvalue, const float& EEvalue);
18  void setEBValue(const float& value) { EBvalue_ = value; }
19  void setEEValue(const float& value) { EEvalue_ = value; }
20  float getEBValue() const { return EBvalue_; }
21  float getEEValue() const { return EEvalue_; }
22  void print(std::ostream& s) const {
23  s << "EcalADCToGeVConstant: EB " << EBvalue_ << "; EE " << EEvalue_ << " [GeV/ADC count]";
24  }
25 
26 private:
27  float EBvalue_;
28  float EEvalue_;
29 
31 };
32 
40 #endif
EcalADCToGeVConstant::EcalADCToGeVConstant
EcalADCToGeVConstant()
Definition: EcalADCToGeVConstant.cc:9
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalADCToGeVConstant
Definition: EcalADCToGeVConstant.h:13
EcalADCToGeVConstant::setEEValue
void setEEValue(const float &value)
Definition: EcalADCToGeVConstant.h:19
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalADCToGeVConstant::print
void print(std::ostream &s) const
Definition: EcalADCToGeVConstant.h:22
EcalADCToGeVConstant::getEEValue
float getEEValue() const
Definition: EcalADCToGeVConstant.h:21
Serializable.h
value
Definition: value.py:1
EcalADCToGeVConstant::EBvalue_
float EBvalue_
Definition: EcalADCToGeVConstant.h:27
EcalADCToGeVConstant::~EcalADCToGeVConstant
~EcalADCToGeVConstant()
Definition: EcalADCToGeVConstant.cc:19
EcalADCToGeVConstant::setEBValue
void setEBValue(const float &value)
Definition: EcalADCToGeVConstant.h:18
relativeConstraints.value
value
Definition: relativeConstraints.py:53
EcalADCToGeVConstant::EEvalue_
float EEvalue_
Definition: EcalADCToGeVConstant.h:28
EcalADCToGeVConstant::getEBValue
float getEBValue() const
Definition: EcalADCToGeVConstant.h:20