CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ESGain.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESGain_H
2 #define CondFormats_ESObjects_ESGain_H
3 #include <iostream>
4 
5 class ESGain {
6  public:
7  ESGain();
8  ESGain(const float & gain);
9  ~ESGain();
10  void setESGain(const float& value) { gain_ = value; }
11  float getESGain() const { return gain_; }
12  void print(std::ostream& s) const {
13  s << "ESGain: " << gain_;
14  }
15  private:
16  float gain_;
17 };
18 
19 
20 #endif
Definition: ESGain.h:5
~ESGain()
Definition: ESGain.cc:12
void print(std::ostream &s) const
Definition: ESGain.h:12
float gain_
Definition: ESGain.h:16
ESGain()
Definition: ESGain.cc:3
float getESGain() const
Definition: ESGain.h:11
void setESGain(const float &value)
Definition: ESGain.h:10