CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
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
void setShR2(const double &v)
double getShZ() const
double getShR1() const
void setShR1(const double &v)
double rot_z
rotation about beam axis, rad
double getShR2() const
double getShR1Unc() const
void setShZ(const double &v)
void setRotZ(const double &v)
void setShZUnc(const double &v)
double getRotZ() const
void setShR1Unc(const double &v)
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.)
double getShR2Unc() const
void setRotZUnc(const double &v)
double getRotZUnc() const
Result of CTPPS track-based alignment.
double getShZUnc() const
void setShR2Unc(const double &v)