CMS 3D CMS Logo

ESADCToGeVConstant.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESADCToGeVConstant_H
2 #define CondFormats_ESObjects_ESADCToGeVConstant_H
4 
5 #include <iostream>
6 
8 public:
10  ESADCToGeVConstant(const float& ESvaluelow, const float& ESvaluehigh);
12  void setESValueLow(const float& value) { ESvaluelow_ = value; }
13  float getESValueLow() const { return ESvaluelow_; }
14  void setESValueHigh(const float& value) { ESvaluehigh_ = value; }
15  float getESValueHigh() const { return ESvaluehigh_; }
16  void print(std::ostream& s) const {
17  s << "ESADCToGeVConstant: ES low/high " << ESvaluelow_ << " / " << ESvaluehigh_ << " [GeV/ADC count]";
18  }
19 
20 private:
21  float ESvaluelow_;
22  float ESvaluehigh_;
23 
25 };
26 
27 #endif
float getESValueLow() const
void setESValueHigh(const float &value)
void setESValueLow(const float &value)
Definition: value.py:1
void print(std::ostream &s) const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
float getESValueHigh() const