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  private:
26  float EBvalue_;
27  float EEvalue_;
28 
30 };
31 
39 #endif
void setEEValue(const float &value)
Definition: value.py:1
void setEBValue(const float &value)
#define COND_SERIALIZABLE
Definition: Serializable.h:38
void print(std::ostream &s) const