CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalMGPAGainRatio.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalMGPAGainRatio_H
2 #define CondFormats_EcalObjects_EcalMGPAGainRatio_H
3 
10 #include <iostream>
11 
13  public:
15  EcalMGPAGainRatio(const EcalMGPAGainRatio & ratio);
17 
18  float gain12Over6() const { return gain12Over6_; }
19  float gain6Over1() const { return gain6Over1_; }
20 
21  void setGain12Over6(const float& g) { gain12Over6_ = g; }
22  void setGain6Over1(const float& g) { gain6Over1_ = g; }
23 
24  void print(std::ostream& s) const { s << "gain 12/6: " << gain12Over6_ << " gain 6/1: " << gain6Over1_; }
25 
27 
28  private:
29  float gain12Over6_;
30  float gain6Over1_;
31 };
32 #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
void setGain6Over1(const float &g)