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
ESEEIntercalibConstants::gammaLow2_
float gammaLow2_
Definition: ESEEIntercalibConstants.h:87
ESEEIntercalibConstants::alphaLow2_
float alphaLow2_
Definition: ESEEIntercalibConstants.h:88
ESEEIntercalibConstants::alphaHigh1_
float alphaHigh1_
Definition: ESEEIntercalibConstants.h:84
ESEEIntercalibConstants::gammaHigh0_
float gammaHigh0_
Definition: ESEEIntercalibConstants.h:77
ESEEIntercalibConstants::getGammaLow2
float getGammaLow2() const
Definition: ESEEIntercalibConstants.h:39
ESEEIntercalibConstants::alphaLow0_
float alphaLow0_
Definition: ESEEIntercalibConstants.h:76
ESEEIntercalibConstants::gammaLow1_
float gammaLow1_
Definition: ESEEIntercalibConstants.h:81
ESEEIntercalibConstants::setAlphaLow1
void setAlphaLow1(const float &value)
Definition: ESEEIntercalibConstants.h:35
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
ESEEIntercalibConstants::setGammaHigh0
void setGammaHigh0(const float &value)
Definition: ESEEIntercalibConstants.h:48
ESEEIntercalibConstants::getGammaHigh1
float getGammaHigh1() const
Definition: ESEEIntercalibConstants.h:54
ESEEIntercalibConstants::getGammaLow1
float getGammaLow1() const
Definition: ESEEIntercalibConstants.h:34
ESEEIntercalibConstants::getGammaLow0
float getGammaLow0() const
Definition: ESEEIntercalibConstants.h:29
ESEEIntercalibConstants::gammaLow0_
float gammaLow0_
Definition: ESEEIntercalibConstants.h:75
ESEEIntercalibConstants::print
void print(std::ostream &s) const
Definition: ESEEIntercalibConstants.h:68
alignCSCRings.s
s
Definition: alignCSCRings.py:92
ESEEIntercalibConstants::getAlphaHigh3
float getAlphaHigh3() const
Definition: ESEEIntercalibConstants.h:66
ESEEIntercalibConstants::alphaLow3_
float alphaLow3_
Definition: ESEEIntercalibConstants.h:94
ESEEIntercalibConstants::getAlphaHigh0
float getAlphaHigh0() const
Definition: ESEEIntercalibConstants.h:51
ESEEIntercalibConstants::setAlphaLow3
void setAlphaLow3(const float &value)
Definition: ESEEIntercalibConstants.h:45
ESEEIntercalibConstants::getGammaHigh0
float getGammaHigh0() const
Definition: ESEEIntercalibConstants.h:49
ESEEIntercalibConstants::alphaHigh2_
float alphaHigh2_
Definition: ESEEIntercalibConstants.h:90
ESEEIntercalibConstants::getAlphaHigh2
float getAlphaHigh2() const
Definition: ESEEIntercalibConstants.h:61
ESEEIntercalibConstants::setGammaHigh2
void setGammaHigh2(const float &value)
Definition: ESEEIntercalibConstants.h:58
ESEEIntercalibConstants::setAlphaHigh3
void setAlphaHigh3(const float &value)
Definition: ESEEIntercalibConstants.h:65
ESEEIntercalibConstants::ESEEIntercalibConstants
ESEEIntercalibConstants()
Definition: ESEEIntercalibConstants.cc:3
ESEEIntercalibConstants::setAlphaLow0
void setAlphaLow0(const float &value)
Definition: ESEEIntercalibConstants.h:30
ESEEIntercalibConstants::gammaHigh1_
float gammaHigh1_
Definition: ESEEIntercalibConstants.h:83
ESEEIntercalibConstants::gammaLow3_
float gammaLow3_
Definition: ESEEIntercalibConstants.h:93
ESEEIntercalibConstants::alphaLow1_
float alphaLow1_
Definition: ESEEIntercalibConstants.h:82
ESEEIntercalibConstants::getGammaHigh2
float getGammaHigh2() const
Definition: ESEEIntercalibConstants.h:59
ESEEIntercalibConstants::getAlphaLow3
float getAlphaLow3() const
Definition: ESEEIntercalibConstants.h:46
ESEEIntercalibConstants::alphaHigh3_
float alphaHigh3_
Definition: ESEEIntercalibConstants.h:96
ESEEIntercalibConstants::setAlphaHigh0
void setAlphaHigh0(const float &value)
Definition: ESEEIntercalibConstants.h:50
ESEEIntercalibConstants::getAlphaLow0
float getAlphaLow0() const
Definition: ESEEIntercalibConstants.h:31
Serializable.h
ESEEIntercalibConstants::gammaHigh3_
float gammaHigh3_
Definition: ESEEIntercalibConstants.h:95
value
Definition: value.py:1
ESEEIntercalibConstants::getAlphaLow2
float getAlphaLow2() const
Definition: ESEEIntercalibConstants.h:41
ESEEIntercalibConstants::~ESEEIntercalibConstants
~ESEEIntercalibConstants()
Definition: ESEEIntercalibConstants.cc:62
ESEEIntercalibConstants::getAlphaLow1
float getAlphaLow1() const
Definition: ESEEIntercalibConstants.h:36
ESEEIntercalibConstants::setGammaLow1
void setGammaLow1(const float &value)
Definition: ESEEIntercalibConstants.h:33
ESEEIntercalibConstants::getGammaHigh3
float getGammaHigh3() const
Definition: ESEEIntercalibConstants.h:64
ESEEIntercalibConstants::setAlphaHigh2
void setAlphaHigh2(const float &value)
Definition: ESEEIntercalibConstants.h:60
ESEEIntercalibConstants::setGammaLow0
void setGammaLow0(const float &value)
Definition: ESEEIntercalibConstants.h:28
ESEEIntercalibConstants::alphaHigh0_
float alphaHigh0_
Definition: ESEEIntercalibConstants.h:78
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ESEEIntercalibConstants::setAlphaLow2
void setAlphaLow2(const float &value)
Definition: ESEEIntercalibConstants.h:40
ESEEIntercalibConstants::setAlphaHigh1
void setAlphaHigh1(const float &value)
Definition: ESEEIntercalibConstants.h:55
ESEEIntercalibConstants::setGammaLow2
void setGammaLow2(const float &value)
Definition: ESEEIntercalibConstants.h:38
ESEEIntercalibConstants::getAlphaHigh1
float getAlphaHigh1() const
Definition: ESEEIntercalibConstants.h:56
ESEEIntercalibConstants
Definition: ESEEIntercalibConstants.h:7
ESEEIntercalibConstants::setGammaLow3
void setGammaLow3(const float &value)
Definition: ESEEIntercalibConstants.h:43
ESEEIntercalibConstants::setGammaHigh1
void setGammaHigh1(const float &value)
Definition: ESEEIntercalibConstants.h:53
ESEEIntercalibConstants::getGammaLow3
float getGammaLow3() const
Definition: ESEEIntercalibConstants.h:44
ESEEIntercalibConstants::setGammaHigh3
void setGammaHigh3(const float &value)
Definition: ESEEIntercalibConstants.h:63
ESEEIntercalibConstants::gammaHigh2_
float gammaHigh2_
Definition: ESEEIntercalibConstants.h:89