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