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
ESGain
Definition: ESGain.h:7
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
ESGain::gain_
float gain_
Definition: ESGain.h:17
alignCSCRings.s
s
Definition: alignCSCRings.py:92
ESGain::getESGain
float getESGain() const
Definition: ESGain.h:13
Serializable.h
value
Definition: value.py:1
ESGain::print
void print(std::ostream &s) const
Definition: ESGain.h:14
ESGain::~ESGain
~ESGain()
Definition: ESGain.cc:7
ESGain::ESGain
ESGain()
Definition: ESGain.cc:3
PedestalClient_cfi.gain
gain
Definition: PedestalClient_cfi.py:37
ESGain::setESGain
void setESGain(const float &value)
Definition: ESGain.h:12
relativeConstraints.value
value
Definition: relativeConstraints.py:53