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
4 
5 #include <iostream>
6 
7 class ESGain {
8  public:
9  ESGain();
10  ESGain(const float & gain);
11  ~ESGain();
12  void setESGain(const float& value) { gain_ = value; }
13  float getESGain() const { return gain_; }
14  void print(std::ostream& s) const {
15  s << "ESGain: " << gain_;
16  }
17  private:
18  float gain_;
19 
21 };
22 
23 
24 #endif
Definition: ESGain.h:7
~ESGain()
Definition: ESGain.cc:12
void print(std::ostream &s) const
Definition: ESGain.h:14
float gain_
Definition: ESGain.h:18
ESGain()
Definition: ESGain.cc:3
float getESGain() const
Definition: ESGain.h:13
#define COND_SERIALIZABLE
Definition: Serializable.h:37
void setESGain(const float &value)
Definition: ESGain.h:12