CMS 3D CMS Logo

ESMIPToGeVConstant.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESMIPToGeVConstant_H
2 #define CondFormats_ESObjects_ESMIPToGeVConstant_H
4 
5 #include <iostream>
6 
8 public:
10  ESMIPToGeVConstant(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 << "ESMIPToGeVConstant: ES low/high " << ESvaluelow_ << " / " << ESvaluehigh_ << " [GeV/MIP count]";
18  }
19 
20 private:
21  float ESvaluelow_;
22  float ESvaluehigh_;
23 
25 };
26 
27 #endif
float getESValueLow() const
void setESValueLow(const float &value)
Definition: value.py:1
void print(std::ostream &s) const
void setESValueHigh(const float &value)
#define COND_SERIALIZABLE
Definition: Serializable.h:38
float getESValueHigh() const