CMS 3D CMS Logo

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 { s << "ESGain: " << gain_; }
15 
16 private:
17  float gain_;
18 
20 };
21 
22 #endif
void print(std::ostream &s) const
Definition: ESGain.h:14
Definition: ESGain.h:7
~ESGain()
Definition: ESGain.cc:7
float gain_
Definition: ESGain.h:17
ESGain()
Definition: ESGain.cc:3
Definition: value.py:1
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void setESGain(const float &value)
Definition: ESGain.h:12
float getESGain() const
Definition: ESGain.h:13