CMS 3D CMS Logo

AlignmentResult.h
Go to the documentation of this file.
1 /****************************************************************************
2 * Authors:
3 * Jan Kašpar (jan.kaspar@gmail.com)
4 ****************************************************************************/
5 
6 #ifndef CalibPPS_AlignmentRelative_AlignmentResult_h
7 #define CalibPPS_AlignmentRelative_AlignmentResult_h
8 
10 class AlignmentResult {
11 protected:
14  double sh_r1, sh_r1_unc;
15  double sh_r2, sh_r2_unc;
16  double sh_z, sh_z_unc;
17 
19  double rot_z;
20  double rot_z_unc;
21 
22 public:
23  AlignmentResult(double _sh_r1 = 0.,
24  double _sh_r1_e = 0.,
25  double _sh_r2 = 0.,
26  double _sh_r2_e = 0.,
27  double _sh_z = 0.,
28  double _sh_z_e = 0.,
29  double _rot_z = 0.,
30  double _rot_z_e = 0.)
31  : sh_r1(_sh_r1),
32  sh_r1_unc(_sh_r1_e),
33  sh_r2(_sh_r2),
34  sh_r2_unc(_sh_r2_e),
35  sh_z(_sh_z),
36  sh_z_unc(_sh_z_e),
37  rot_z(_rot_z),
38  rot_z_unc(_rot_z_e) {}
39 
40  inline double getShR1() const { return sh_r1; }
41  inline void setShR1(const double &v) { sh_r1 = v; }
42 
43  inline double getShR1Unc() const { return sh_r1_unc; }
44  inline void setShR1Unc(const double &v) { sh_r1_unc = v; }
45 
46  inline double getShR2() const { return sh_r2; }
47  inline void setShR2(const double &v) { sh_r2 = v; }
48 
49  inline double getShR2Unc() const { return sh_r2_unc; }
50  inline void setShR2Unc(const double &v) { sh_r2_unc = v; }
51 
52  inline double getShZ() const { return sh_z; }
53  inline void setShZ(const double &v) { sh_z = v; }
54 
55  inline double getShZUnc() const { return sh_z_unc; }
56  inline void setShZUnc(const double &v) { sh_z_unc = v; }
57 
58  inline double getRotZ() const { return rot_z; }
59  inline void setRotZ(const double &v) { rot_z = v; }
60 
61  inline double getRotZUnc() const { return rot_z_unc; }
62  inline void setRotZUnc(const double &v) { rot_z_unc = v; }
63 };
64 
65 #endif
AlignmentResult::getShZUnc
double getShZUnc() const
Definition: AlignmentResult.h:56
AlignmentResult::setRotZ
void setRotZ(const double &v)
Definition: AlignmentResult.h:60
AlignmentResult::setRotZUnc
void setRotZUnc(const double &v)
Definition: AlignmentResult.h:63
AlignmentResult::rot_z
double rot_z
rotation about beam axis, rad
Definition: AlignmentResult.h:20
AlignmentResult::getShR1
double getShR1() const
Definition: AlignmentResult.h:41
AlignmentResult::getShR2
double getShR2() const
Definition: AlignmentResult.h:47
AlignmentResult::sh_z
double sh_z
Definition: AlignmentResult.h:17
AlignmentResult::getShZ
double getShZ() const
Definition: AlignmentResult.h:53
findQualityFiles.v
v
Definition: findQualityFiles.py:179
AlignmentResult::rot_z_unc
double rot_z_unc
Definition: AlignmentResult.h:21
AlignmentResult::sh_r2
double sh_r2
Definition: AlignmentResult.h:16
AlignmentResult::setShZUnc
void setShZUnc(const double &v)
Definition: AlignmentResult.h:57
AlignmentResult::setShR2Unc
void setShR2Unc(const double &v)
Definition: AlignmentResult.h:51
AlignmentResult::AlignmentResult
AlignmentResult(double _sh_r1=0., double _sh_r1_e=0., double _sh_r2=0., double _sh_r2_e=0., double _sh_z=0., double _sh_z_e=0., double _rot_z=0., double _rot_z_e=0.)
Definition: AlignmentResult.h:24
AlignmentResult::setShR1Unc
void setShR1Unc(const double &v)
Definition: AlignmentResult.h:45
AlignmentResult::sh_r1_unc
double sh_r1_unc
Definition: AlignmentResult.h:15
AlignmentResult::getShR2Unc
double getShR2Unc() const
Definition: AlignmentResult.h:50
AlignmentResult::sh_z_unc
double sh_z_unc
Definition: AlignmentResult.h:17
AlignmentResult::setShR2
void setShR2(const double &v)
Definition: AlignmentResult.h:48
AlignmentResult::getRotZUnc
double getRotZUnc() const
Definition: AlignmentResult.h:62
AlignmentResult::sh_r1
double sh_r1
Definition: AlignmentResult.h:15
AlignmentResult::getShR1Unc
double getShR1Unc() const
Definition: AlignmentResult.h:44
AlignmentResult
Result of CTPPS track-based alignment.
Definition: AlignmentResult.h:9
AlignmentResult::sh_r2_unc
double sh_r2_unc
Definition: AlignmentResult.h:16
AlignmentResult::setShZ
void setShZ(const double &v)
Definition: AlignmentResult.h:54
AlignmentResult::setShR1
void setShR1(const double &v)
Definition: AlignmentResult.h:42
AlignmentResult::getRotZ
double getRotZ() const
Definition: AlignmentResult.h:59