CMS 3D CMS Logo

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