CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ESEEIntercalibConstants.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESEEIntercalibConstants_H
2 #define CondFormats_ESObjects_ESEEIntercalibConstants_H
4 
5 #include <iostream>
6 
8 
9  public:
10 
12  ESEEIntercalibConstants(const float & gammaLow0, const float & alphaLow0, const float & gammaHigh0, const float & alphaHigh0,
13  const float & gammaLow1, const float & alphaLow1, const float & gammaHigh1, const float & alphaHigh1,
14  const float & gammaLow2, const float & alphaLow2, const float & gammaHigh2, const float & alphaHigh2,
15  const float & gammaLow3, const float & alphaLow3, const float & gammaHigh3, const float & alphaHigh3
16  );
18 
19  void setGammaLow0(const float& value) { gammaLow0_ = value; }
20  float getGammaLow0() const { return gammaLow0_; }
21  void setAlphaLow0(const float& value) { alphaLow0_ = value; }
22  float getAlphaLow0() const { return alphaLow0_; }
23 
24  void setGammaLow1(const float& value) { gammaLow1_ = value; }
25  float getGammaLow1() const { return gammaLow1_; }
26  void setAlphaLow1(const float& value) { alphaLow1_ = value; }
27  float getAlphaLow1() const { return alphaLow1_; }
28 
29  void setGammaLow2(const float& value) { gammaLow2_ = value; }
30  float getGammaLow2() const { return gammaLow2_; }
31  void setAlphaLow2(const float& value) { alphaLow2_ = value; }
32  float getAlphaLow2() const { return alphaLow2_; }
33 
34  void setGammaLow3(const float& value) { gammaLow3_ = value; }
35  float getGammaLow3() const { return gammaLow3_; }
36  void setAlphaLow3(const float& value) { alphaLow3_ = value; }
37  float getAlphaLow3() const { return alphaLow3_; }
38 
39  void setGammaHigh0(const float& value) { gammaHigh0_ = value; }
40  float getGammaHigh0() const { return gammaHigh0_; }
41  void setAlphaHigh0(const float& value) { alphaHigh0_ = value; }
42  float getAlphaHigh0() const { return alphaHigh0_; }
43 
44  void setGammaHigh1(const float& value) { gammaHigh1_ = value; }
45  float getGammaHigh1() const { return gammaHigh1_; }
46  void setAlphaHigh1(const float& value) { alphaHigh1_ = value; }
47  float getAlphaHigh1() const { return alphaHigh1_; }
48 
49  void setGammaHigh2(const float& value) { gammaHigh2_ = value; }
50  float getGammaHigh2() const { return gammaHigh2_; }
51  void setAlphaHigh2(const float& value) { alphaHigh2_ = value; }
52  float getAlphaHigh2() const { return alphaHigh2_; }
53 
54  void setGammaHigh3(const float& value) { gammaHigh3_ = value; }
55  float getGammaHigh3() const { return gammaHigh3_; }
56  void setAlphaHigh3(const float& value) { alphaHigh3_ = value; }
57  float getAlphaHigh3() const { return alphaHigh3_; }
58 
59  void print(std::ostream& s) const {
60  s << "ESEEIntercalibConstants: ES low gain (gamma, alpha) / high gain (gamma, alpha)" << gammaLow0_ << " " << alphaLow0_<< " / " << gammaHigh0_ <<" "<<alphaHigh0_;
61  }
62 
63  private:
64 
65  // both planes work perfectly
66  float gammaLow0_;
67  float alphaLow0_;
68  float gammaHigh0_;
69  float alphaHigh0_;
70 
71  // both planes do not work at all
72  float gammaLow1_;
73  float alphaLow1_;
74  float gammaHigh1_;
75  float alphaHigh1_;
76 
77  // only the first plane works
78  float gammaLow2_;
79  float alphaLow2_;
80  float gammaHigh2_;
81  float alphaHigh2_;
82 
83  // only the second plane works
84  float gammaLow3_;
85  float alphaLow3_;
86  float gammaHigh3_;
87  float alphaHigh3_;
88 
90 };
91 
92 #endif
void setGammaHigh0(const float &value)
void setGammaHigh1(const float &value)
void setGammaHigh3(const float &value)
void print(std::ostream &s) const
void setAlphaLow1(const float &value)
void setAlphaLow3(const float &value)
void setAlphaHigh3(const float &value)
void setAlphaLow0(const float &value)
void setGammaHigh2(const float &value)
void setAlphaHigh1(const float &value)
void setGammaLow2(const float &value)
void setGammaLow0(const float &value)
#define COND_SERIALIZABLE
Definition: Serializable.h:30
void setAlphaHigh0(const float &value)
void setGammaLow3(const float &value)
void setGammaLow1(const float &value)
void setAlphaHigh2(const float &value)
void setAlphaLow2(const float &value)