CMS 3D CMS Logo

EcalMGPAGainRatio.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalMGPAGainRatio_H
2 #define CondFormats_EcalObjects_EcalMGPAGainRatio_H
3 
11 
12 #include <iostream>
13 
15  public:
19 
20  float gain12Over6() const { return gain12Over6_; }
21  float gain6Over1() const { return gain6Over1_; }
22 
23  void setGain12Over6(const float& g) { gain12Over6_ = g; }
24  void setGain6Over1(const float& g) { gain6Over1_ = g; }
25 
26  void print(std::ostream& s) const { s << "gain 12/6: " << gain12Over6_ << " gain 6/1: " << gain6Over1_; }
27 
29 
30  private:
31  float gain12Over6_;
32  float gain6Over1_;
33 
35 };
36 #endif
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
void print(std::ostream &s) const
void setGain12Over6(const float &g)
float gain6Over1() const
EcalMGPAGainRatio & operator=(const EcalMGPAGainRatio &rhs)
float gain12Over6() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
void setGain6Over1(const float &g)