Belle II Software  release-08-01-10
KLMAlignmentData.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 /* ROOT headers. */
12 #include <TObject.h>
13 
14 namespace Belle2 {
23  class KLMAlignmentData : public TObject {
24 
25  public:
26 
31 
33  c_DeltaU = 1,
34 
36  c_DeltaV = 2,
37 
39  c_DeltaW = 3,
40 
43 
46 
49 
50  };
51 
56 
66  KLMAlignmentData(float deltaU, float deltaV, float deltaW,
67  float deltaAlpha, float deltaBeta, float deltaGamma);
68 
73 
77  float getDeltaU() const
78  {
79  return m_DeltaU;
80  }
81 
86  void setDeltaU(float deltaU)
87  {
88  m_DeltaU = deltaU;
89  }
90 
94  float getDeltaV() const
95  {
96  return m_DeltaV;
97  }
98 
103  void setDeltaV(float deltaV)
104  {
105  m_DeltaV = deltaV;
106  }
107 
111  float getDeltaW() const
112  {
113  return m_DeltaW;
114  }
115 
120  void setDeltaW(float deltaW)
121  {
122  m_DeltaW = deltaW;
123  }
124 
128  float getDeltaAlpha() const
129  {
130  return m_DeltaAlpha;
131  }
132 
137  void setDeltaAlpha(float deltaAlpha)
138  {
139  m_DeltaAlpha = deltaAlpha;
140  }
141 
145  float getDeltaBeta() const
146  {
147  return m_DeltaBeta;
148  }
149 
154  void setDeltaBeta(float deltaBeta)
155  {
156  m_DeltaBeta = deltaBeta;
157  }
158 
162  float getDeltaGamma() const
163  {
164  return m_DeltaGamma;
165  }
166 
171  void setDeltaGamma(float deltaGamma)
172  {
173  m_DeltaGamma = deltaGamma;
174  }
175 
180  float getParameter(enum ParameterNumbers number) const;
181 
187  void setParameter(enum ParameterNumbers number, float value);
188 
189  private:
190 
192  float m_DeltaU;
193 
195  float m_DeltaV;
196 
198  float m_DeltaW;
199 
202 
204  float m_DeltaBeta;
205 
208 
211 
212  };
213 
215 }
KLM Alignment data.
float getDeltaU() const
Get shift in U.
void setDeltaAlpha(float deltaAlpha)
Set rotation in alpha.
float m_DeltaU
Shift in U (EKLM: local X).
float getDeltaV() const
Get shift in V.
ParameterNumbers
Alignment parameter numbers.
@ c_DeltaAlpha
Rotation in alpha.
@ c_DeltaBeta
Rotation in beta.
@ c_DeltaU
Shift in U (EKLM: local X).
@ c_DeltaGamma
Rotation in gamma (EKLM: rotation in local plane).
@ c_DeltaV
Shift in V (EKLM: local Y).
void setDeltaGamma(float deltaGamma)
Set rotation in alpha.
void setParameter(enum ParameterNumbers number, float value)
Set parameter by number.
float m_DeltaGamma
Rotation in gamma (EKLM: rotation in local plane).
ClassDef(Belle2::KLMAlignmentData, 1)
Class version.
void setDeltaU(float deltaU)
Set shift in U.
void setDeltaV(float deltaV)
Set shift in V.
float getDeltaW() const
Get shift in W.
float m_DeltaV
Shift in V (EKLM: local Y).
float getParameter(enum ParameterNumbers number) const
Get parameter by number.
float getDeltaGamma() const
Get rotation in alpha.
void setDeltaW(float deltaW)
Set shift in W.
float m_DeltaAlpha
Rotation in alpha.
float m_DeltaBeta
Rotation in beta.
float getDeltaAlpha() const
Get rotation in alpha.
float getDeltaBeta() const
Get rotation in alpha.
void setDeltaBeta(float deltaBeta)
Set rotation in alpha.
Abstract base class for different kinds of events.