Belle II Software development
KLMAlignmentData Class Reference

KLM Alignment data. More...

#include <KLMAlignmentData.h>

Inheritance diagram for KLMAlignmentData:

Public Types

enum  ParameterNumbers {
  c_DeltaU = 1 ,
  c_DeltaV = 2 ,
  c_DeltaW = 3 ,
  c_DeltaAlpha = 4 ,
  c_DeltaBeta = 5 ,
  c_DeltaGamma = 6
}
 Alignment parameter numbers. More...
 

Public Member Functions

 KLMAlignmentData ()
 Constructor.
 
 KLMAlignmentData (float deltaU, float deltaV, float deltaW, float deltaAlpha, float deltaBeta, float deltaGamma)
 Constructor.
 
 ~KLMAlignmentData ()
 Destructor.
 
float getDeltaU () const
 Get shift in U.
 
void setDeltaU (float deltaU)
 Set shift in U.
 
float getDeltaV () const
 Get shift in V.
 
void setDeltaV (float deltaV)
 Set shift in V.
 
float getDeltaW () const
 Get shift in W.
 
void setDeltaW (float deltaW)
 Set shift in W.
 
float getDeltaAlpha () const
 Get rotation in alpha.
 
void setDeltaAlpha (float deltaAlpha)
 Set rotation in alpha.
 
float getDeltaBeta () const
 Get rotation in alpha.
 
void setDeltaBeta (float deltaBeta)
 Set rotation in alpha.
 
float getDeltaGamma () const
 Get rotation in alpha.
 
void setDeltaGamma (float deltaGamma)
 Set rotation in alpha.
 
float getParameter (enum ParameterNumbers number) const
 Get parameter by number.
 
void setParameter (enum ParameterNumbers number, float value)
 Set parameter by number.
 

Private Member Functions

 ClassDef (Belle2::KLMAlignmentData, 1)
 Class version.
 

Private Attributes

float m_DeltaU
 Shift in U (EKLM: local X).
 
float m_DeltaV
 Shift in V (EKLM: local Y).
 
float m_DeltaW
 Shift in W.
 
float m_DeltaAlpha
 Rotation in alpha.
 
float m_DeltaBeta
 Rotation in beta.
 
float m_DeltaGamma
 Rotation in gamma (EKLM: rotation in local plane).
 

Detailed Description

KLM Alignment data.

Definition at line 23 of file KLMAlignmentData.h.

Member Enumeration Documentation

◆ ParameterNumbers

Alignment parameter numbers.

Enumerator
c_DeltaU 

Shift in U (EKLM: local X).

c_DeltaV 

Shift in V (EKLM: local Y).

c_DeltaW 

Shift in W.

c_DeltaAlpha 

Rotation in alpha.

c_DeltaBeta 

Rotation in beta.

c_DeltaGamma 

Rotation in gamma (EKLM: rotation in local plane).

Definition at line 30 of file KLMAlignmentData.h.

30 {
31
33 c_DeltaU = 1,
34
36 c_DeltaV = 2,
37
39 c_DeltaW = 3,
40
42 c_DeltaAlpha = 4,
43
45 c_DeltaBeta = 5,
46
48 c_DeltaGamma = 6,
49
50 };
@ 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).

Constructor & Destructor Documentation

◆ KLMAlignmentData() [1/2]

Constructor.

Definition at line 17 of file KLMAlignmentData.cc.

17 :
18 m_DeltaU(0),
19 m_DeltaV(0),
20 m_DeltaW(0),
21 m_DeltaAlpha(0),
22 m_DeltaBeta(0),
24{
25}
float m_DeltaU
Shift in U (EKLM: local X).
float m_DeltaGamma
Rotation in gamma (EKLM: rotation in local plane).
float m_DeltaV
Shift in V (EKLM: local Y).
float m_DeltaAlpha
Rotation in alpha.
float m_DeltaBeta
Rotation in beta.

◆ KLMAlignmentData() [2/2]

KLMAlignmentData ( float  deltaU,
float  deltaV,
float  deltaW,
float  deltaAlpha,
float  deltaBeta,
float  deltaGamma 
)

Constructor.

Parameters
[in]deltaUShift in U (EKLM: local X).
[in]deltaVShift in V (EKLM: local Y).
[in]deltaWShift in W.
[in]deltaAlphaRotation in alpha.
[in]deltaBetaRotation in beta.
[in]deltaGammaRotation in gamma (EKLM: rotation in local plane).

Definition at line 27 of file KLMAlignmentData.cc.

29 :
30 m_DeltaU(deltaU),
31 m_DeltaV(deltaV),
32 m_DeltaW(deltaW),
33 m_DeltaAlpha(deltaAlpha),
34 m_DeltaBeta(deltaBeta),
35 m_DeltaGamma(deltaGamma)
36{
37}

◆ ~KLMAlignmentData()

Destructor.

Definition at line 39 of file KLMAlignmentData.cc.

40{
41}

Member Function Documentation

◆ getDeltaAlpha()

float getDeltaAlpha ( ) const
inline

Get rotation in alpha.

Definition at line 128 of file KLMAlignmentData.h.

129 {
130 return m_DeltaAlpha;
131 }

◆ getDeltaBeta()

float getDeltaBeta ( ) const
inline

Get rotation in alpha.

Definition at line 145 of file KLMAlignmentData.h.

146 {
147 return m_DeltaBeta;
148 }

◆ getDeltaGamma()

float getDeltaGamma ( ) const
inline

Get rotation in alpha.

Definition at line 162 of file KLMAlignmentData.h.

163 {
164 return m_DeltaGamma;
165 }

◆ getDeltaU()

float getDeltaU ( ) const
inline

Get shift in U.

Definition at line 77 of file KLMAlignmentData.h.

78 {
79 return m_DeltaU;
80 }

◆ getDeltaV()

float getDeltaV ( ) const
inline

Get shift in V.

Definition at line 94 of file KLMAlignmentData.h.

95 {
96 return m_DeltaV;
97 }

◆ getDeltaW()

float getDeltaW ( ) const
inline

Get shift in W.

Definition at line 111 of file KLMAlignmentData.h.

112 {
113 return m_DeltaW;
114 }

◆ getParameter()

float getParameter ( enum ParameterNumbers  number) const

Get parameter by number.

Parameters
[in]numberParameter number.

Definition at line 43 of file KLMAlignmentData.cc.

44{
45 switch (number) {
46 case c_DeltaU:
47 return getDeltaU();
48 case c_DeltaV:
49 return getDeltaV();
50 case c_DeltaW:
51 return getDeltaW();
52 case c_DeltaAlpha:
53 return getDeltaAlpha();
54 case c_DeltaBeta:
55 return getDeltaBeta();
56 case c_DeltaGamma:
57 return getDeltaGamma();
58 }
59 B2FATAL("Attempt to get KLM alignment parameter with incorrect number " <<
60 number);
61}
float getDeltaU() const
Get shift in U.
float getDeltaV() const
Get shift in V.
float getDeltaW() const
Get shift in W.
float getDeltaGamma() const
Get rotation in alpha.
float getDeltaAlpha() const
Get rotation in alpha.
float getDeltaBeta() const
Get rotation in alpha.

◆ setDeltaAlpha()

void setDeltaAlpha ( float  deltaAlpha)
inline

Set rotation in alpha.

Parameters
[in]deltaAlphaRotation in alpha.

Definition at line 137 of file KLMAlignmentData.h.

138 {
139 m_DeltaAlpha = deltaAlpha;
140 }

◆ setDeltaBeta()

void setDeltaBeta ( float  deltaBeta)
inline

Set rotation in alpha.

Parameters
[in]deltaBetaRotation in alpha.

Definition at line 154 of file KLMAlignmentData.h.

155 {
156 m_DeltaBeta = deltaBeta;
157 }

◆ setDeltaGamma()

void setDeltaGamma ( float  deltaGamma)
inline

Set rotation in alpha.

Parameters
[in]deltaGammaRotation in alpha.

Definition at line 171 of file KLMAlignmentData.h.

172 {
173 m_DeltaGamma = deltaGamma;
174 }

◆ setDeltaU()

void setDeltaU ( float  deltaU)
inline

Set shift in U.

Parameters
[in]deltaUShift in U.

Definition at line 86 of file KLMAlignmentData.h.

87 {
88 m_DeltaU = deltaU;
89 }

◆ setDeltaV()

void setDeltaV ( float  deltaV)
inline

Set shift in V.

Parameters
[in]deltaVShift in V.

Definition at line 103 of file KLMAlignmentData.h.

104 {
105 m_DeltaV = deltaV;
106 }

◆ setDeltaW()

void setDeltaW ( float  deltaW)
inline

Set shift in W.

Parameters
[in]deltaWShift in W.

Definition at line 120 of file KLMAlignmentData.h.

121 {
122 m_DeltaW = deltaW;
123 }

◆ setParameter()

void setParameter ( enum ParameterNumbers  number,
float  value 
)

Set parameter by number.

Parameters
[in]numberParameter number.
[in]valueParameter value.

Definition at line 63 of file KLMAlignmentData.cc.

64{
65 switch (number) {
66 case c_DeltaU:
67 setDeltaU(value);
68 return;
69 case c_DeltaV:
70 setDeltaV(value);
71 return;
72 case c_DeltaW:
73 setDeltaW(value);
74 return;
75 case c_DeltaAlpha:
76 setDeltaAlpha(value);
77 return;
78 case c_DeltaBeta:
79 setDeltaBeta(value);
80 return;
81 case c_DeltaGamma:
82 setDeltaGamma(value);
83 return;
84 }
85 B2FATAL("Attempt to set KLM alignment parameter with incorrect number " <<
86 number);
87}
void setDeltaAlpha(float deltaAlpha)
Set rotation in alpha.
void setDeltaGamma(float deltaGamma)
Set rotation in alpha.
void setDeltaU(float deltaU)
Set shift in U.
void setDeltaV(float deltaV)
Set shift in V.
void setDeltaW(float deltaW)
Set shift in W.
void setDeltaBeta(float deltaBeta)
Set rotation in alpha.

Member Data Documentation

◆ m_DeltaAlpha

float m_DeltaAlpha
private

Rotation in alpha.

Definition at line 201 of file KLMAlignmentData.h.

◆ m_DeltaBeta

float m_DeltaBeta
private

Rotation in beta.

Definition at line 204 of file KLMAlignmentData.h.

◆ m_DeltaGamma

float m_DeltaGamma
private

Rotation in gamma (EKLM: rotation in local plane).

Definition at line 207 of file KLMAlignmentData.h.

◆ m_DeltaU

float m_DeltaU
private

Shift in U (EKLM: local X).

Definition at line 192 of file KLMAlignmentData.h.

◆ m_DeltaV

float m_DeltaV
private

Shift in V (EKLM: local Y).

Definition at line 195 of file KLMAlignmentData.h.

◆ m_DeltaW

float m_DeltaW
private

Shift in W.

Definition at line 198 of file KLMAlignmentData.h.


The documentation for this class was generated from the following files: