CMS 3D CMS Logo

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 public:
10  ESEEIntercalibConstants(const float& gammaLow0,
11  const float& alphaLow0,
12  const float& gammaHigh0,
13  const float& alphaHigh0,
14  const float& gammaLow1,
15  const float& alphaLow1,
16  const float& gammaHigh1,
17  const float& alphaHigh1,
18  const float& gammaLow2,
19  const float& alphaLow2,
20  const float& gammaHigh2,
21  const float& alphaHigh2,
22  const float& gammaLow3,
23  const float& alphaLow3,
24  const float& gammaHigh3,
25  const float& alphaHigh3);
27 
28  void setGammaLow0(const float& value) { gammaLow0_ = value; }
29  float getGammaLow0() const { return gammaLow0_; }
30  void setAlphaLow0(const float& value) { alphaLow0_ = value; }
31  float getAlphaLow0() const { return alphaLow0_; }
32 
33  void setGammaLow1(const float& value) { gammaLow1_ = value; }
34  float getGammaLow1() const { return gammaLow1_; }
35  void setAlphaLow1(const float& value) { alphaLow1_ = value; }
36  float getAlphaLow1() const { return alphaLow1_; }
37 
38  void setGammaLow2(const float& value) { gammaLow2_ = value; }
39  float getGammaLow2() const { return gammaLow2_; }
40  void setAlphaLow2(const float& value) { alphaLow2_ = value; }
41  float getAlphaLow2() const { return alphaLow2_; }
42 
43  void setGammaLow3(const float& value) { gammaLow3_ = value; }
44  float getGammaLow3() const { return gammaLow3_; }
45  void setAlphaLow3(const float& value) { alphaLow3_ = value; }
46  float getAlphaLow3() const { return alphaLow3_; }
47 
48  void setGammaHigh0(const float& value) { gammaHigh0_ = value; }
49  float getGammaHigh0() const { return gammaHigh0_; }
50  void setAlphaHigh0(const float& value) { alphaHigh0_ = value; }
51  float getAlphaHigh0() const { return alphaHigh0_; }
52 
53  void setGammaHigh1(const float& value) { gammaHigh1_ = value; }
54  float getGammaHigh1() const { return gammaHigh1_; }
55  void setAlphaHigh1(const float& value) { alphaHigh1_ = value; }
56  float getAlphaHigh1() const { return alphaHigh1_; }
57 
58  void setGammaHigh2(const float& value) { gammaHigh2_ = value; }
59  float getGammaHigh2() const { return gammaHigh2_; }
60  void setAlphaHigh2(const float& value) { alphaHigh2_ = value; }
61  float getAlphaHigh2() const { return alphaHigh2_; }
62 
63  void setGammaHigh3(const float& value) { gammaHigh3_ = value; }
64  float getGammaHigh3() const { return gammaHigh3_; }
65  void setAlphaHigh3(const float& value) { alphaHigh3_ = value; }
66  float getAlphaHigh3() const { return alphaHigh3_; }
67 
68  void print(std::ostream& s) const {
69  s << "ESEEIntercalibConstants: ES low gain (gamma, alpha) / high gain (gamma, alpha)" << gammaLow0_ << " "
70  << alphaLow0_ << " / " << gammaHigh0_ << " " << alphaHigh0_;
71  }
72 
73 private:
74  // both planes work perfectly
75  float gammaLow0_;
76  float alphaLow0_;
77  float gammaHigh0_;
78  float alphaHigh0_;
79 
80  // both planes do not work at all
81  float gammaLow1_;
82  float alphaLow1_;
83  float gammaHigh1_;
84  float alphaHigh1_;
85 
86  // only the first plane works
87  float gammaLow2_;
88  float alphaLow2_;
89  float gammaHigh2_;
90  float alphaHigh2_;
91 
92  // only the second plane works
93  float gammaLow3_;
94  float alphaLow3_;
95  float gammaHigh3_;
96  float alphaHigh3_;
97 
99 };
100 
101 #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)
Definition: value.py:1
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:39
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)