CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
AlignmentResult Class Reference

Result of CTPPS track-based alignment. More...

#include <AlignmentResult.h>

Public Member Functions

 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 getRotZ () const
 
double getRotZUnc () const
 
double getShR1 () const
 
double getShR1Unc () const
 
double getShR2 () const
 
double getShR2Unc () const
 
double getShZ () const
 
double getShZUnc () const
 
void setRotZ (const double &v)
 
void setRotZUnc (const double &v)
 
void setShR1 (const double &v)
 
void setShR1Unc (const double &v)
 
void setShR2 (const double &v)
 
void setShR2Unc (const double &v)
 
void setShZ (const double &v)
 
void setShZUnc (const double &v)
 

Protected Attributes

double rot_z
 rotation about beam axis, rad More...
 
double rot_z_unc
 
double sh_r1
 
double sh_r1_unc
 
double sh_r2
 
double sh_r2_unc
 
double sh_z
 
double sh_z_unc
 

Detailed Description

Result of CTPPS track-based alignment.

Definition at line 9 of file AlignmentResult.h.

Constructor & Destructor Documentation

◆ 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. 
)
inline

Definition at line 24 of file AlignmentResult.h.

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 

Member Function Documentation

◆ getRotZ()

double AlignmentResult::getRotZ ( ) const
inline

Definition at line 59 of file AlignmentResult.h.

59 { rot_z = v; }

References rot_z, and findQualityFiles::v.

◆ getRotZUnc()

double AlignmentResult::getRotZUnc ( ) const
inline

Definition at line 62 of file AlignmentResult.h.

62 { rot_z_unc = v; }

References rot_z_unc, and findQualityFiles::v.

◆ getShR1()

double AlignmentResult::getShR1 ( ) const
inline

Definition at line 41 of file AlignmentResult.h.

41 { sh_r1 = v; }

References sh_r1, and findQualityFiles::v.

◆ getShR1Unc()

double AlignmentResult::getShR1Unc ( ) const
inline

Definition at line 44 of file AlignmentResult.h.

44 { sh_r1_unc = v; }

References sh_r1_unc, and findQualityFiles::v.

◆ getShR2()

double AlignmentResult::getShR2 ( ) const
inline

Definition at line 47 of file AlignmentResult.h.

47 { sh_r2 = v; }

References sh_r2, and findQualityFiles::v.

◆ getShR2Unc()

double AlignmentResult::getShR2Unc ( ) const
inline

Definition at line 50 of file AlignmentResult.h.

50 { sh_r2_unc = v; }

References sh_r2_unc, and findQualityFiles::v.

◆ getShZ()

double AlignmentResult::getShZ ( ) const
inline

Definition at line 53 of file AlignmentResult.h.

53 { sh_z = v; }

References sh_z, and findQualityFiles::v.

◆ getShZUnc()

double AlignmentResult::getShZUnc ( ) const
inline

Definition at line 56 of file AlignmentResult.h.

56 { sh_z_unc = v; }

References sh_z_unc, and findQualityFiles::v.

◆ setRotZ()

void AlignmentResult::setRotZ ( const double &  v)
inline

Definition at line 60 of file AlignmentResult.h.

61 { return rot_z_unc; }

References rot_z_unc.

◆ setRotZUnc()

void AlignmentResult::setRotZUnc ( const double &  v)
inline

Definition at line 63 of file AlignmentResult.h.

◆ setShR1()

void AlignmentResult::setShR1 ( const double &  v)
inline

Definition at line 42 of file AlignmentResult.h.

43 { return sh_r1_unc; }

References sh_r1_unc.

◆ setShR1Unc()

void AlignmentResult::setShR1Unc ( const double &  v)
inline

Definition at line 45 of file AlignmentResult.h.

46 { return sh_r2; }

References sh_r2.

◆ setShR2()

void AlignmentResult::setShR2 ( const double &  v)
inline

Definition at line 48 of file AlignmentResult.h.

49 { return sh_r2_unc; }

References sh_r2_unc.

◆ setShR2Unc()

void AlignmentResult::setShR2Unc ( const double &  v)
inline

Definition at line 51 of file AlignmentResult.h.

52 { return sh_z; }

References sh_z.

◆ setShZ()

void AlignmentResult::setShZ ( const double &  v)
inline

Definition at line 54 of file AlignmentResult.h.

55 { return sh_z_unc; }

References sh_z_unc.

◆ setShZUnc()

void AlignmentResult::setShZUnc ( const double &  v)
inline

Definition at line 57 of file AlignmentResult.h.

58 { return rot_z; }

References rot_z.

Member Data Documentation

◆ rot_z

double AlignmentResult::rot_z
protected

rotation about beam axis, rad

Definition at line 20 of file AlignmentResult.h.

Referenced by getRotZ(), and setShZUnc().

◆ rot_z_unc

double AlignmentResult::rot_z_unc
protected

Definition at line 21 of file AlignmentResult.h.

Referenced by getRotZUnc(), and setRotZ().

◆ sh_r1

double AlignmentResult::sh_r1
protected

shift in read-out directions and along beam, mm "_unc" denotes the shift uncertainties

Definition at line 15 of file AlignmentResult.h.

Referenced by getShR1().

◆ sh_r1_unc

double AlignmentResult::sh_r1_unc
protected

Definition at line 15 of file AlignmentResult.h.

Referenced by getShR1Unc(), and setShR1().

◆ sh_r2

double AlignmentResult::sh_r2
protected

Definition at line 16 of file AlignmentResult.h.

Referenced by getShR2(), and setShR1Unc().

◆ sh_r2_unc

double AlignmentResult::sh_r2_unc
protected

Definition at line 16 of file AlignmentResult.h.

Referenced by getShR2Unc(), and setShR2().

◆ sh_z

double AlignmentResult::sh_z
protected

Definition at line 17 of file AlignmentResult.h.

Referenced by getShZ(), and setShR2Unc().

◆ sh_z_unc

double AlignmentResult::sh_z_unc
protected

Definition at line 17 of file AlignmentResult.h.

Referenced by getShZUnc(), and setShZ().

AlignmentResult::rot_z
double rot_z
rotation about beam axis, rad
Definition: AlignmentResult.h:20
AlignmentResult::sh_z
double sh_z
Definition: AlignmentResult.h:17
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::sh_r1_unc
double sh_r1_unc
Definition: AlignmentResult.h:15
AlignmentResult::sh_z_unc
double sh_z_unc
Definition: AlignmentResult.h:17
AlignmentResult::sh_r1
double sh_r1
Definition: AlignmentResult.h:15
AlignmentResult::sh_r2_unc
double sh_r2_unc
Definition: AlignmentResult.h:16