CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 10 of file AlignmentResult.h.

Constructor & Destructor Documentation

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 23 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) {}
double rot_z
rotation about beam axis, rad

Member Function Documentation

double AlignmentResult::getRotZ ( ) const
inline

Definition at line 58 of file AlignmentResult.h.

References rot_z.

58 { return rot_z; }
double rot_z
rotation about beam axis, rad
double AlignmentResult::getRotZUnc ( ) const
inline

Definition at line 61 of file AlignmentResult.h.

References rot_z_unc.

61 { return rot_z_unc; }
double AlignmentResult::getShR1 ( ) const
inline

Definition at line 40 of file AlignmentResult.h.

References sh_r1.

40 { return sh_r1; }
double AlignmentResult::getShR1Unc ( ) const
inline

Definition at line 43 of file AlignmentResult.h.

References sh_r1_unc.

43 { return sh_r1_unc; }
double AlignmentResult::getShR2 ( ) const
inline

Definition at line 46 of file AlignmentResult.h.

References sh_r2.

46 { return sh_r2; }
double AlignmentResult::getShR2Unc ( ) const
inline

Definition at line 49 of file AlignmentResult.h.

References sh_r2_unc.

49 { return sh_r2_unc; }
double AlignmentResult::getShZ ( ) const
inline

Definition at line 52 of file AlignmentResult.h.

References sh_z.

52 { return sh_z; }
double AlignmentResult::getShZUnc ( ) const
inline

Definition at line 55 of file AlignmentResult.h.

References sh_z_unc.

55 { return sh_z_unc; }
void AlignmentResult::setRotZ ( const double &  v)
inline

Definition at line 59 of file AlignmentResult.h.

References rot_z, and findQualityFiles::v.

Referenced by IdealResult::solve(), and JanAlignmentAlgorithm::solve().

59 { rot_z = v; }
double rot_z
rotation about beam axis, rad
void AlignmentResult::setRotZUnc ( const double &  v)
inline

Definition at line 62 of file AlignmentResult.h.

References rot_z_unc, and findQualityFiles::v.

Referenced by JanAlignmentAlgorithm::solve().

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

Definition at line 41 of file AlignmentResult.h.

References sh_r1, and findQualityFiles::v.

Referenced by IdealResult::solve(), and JanAlignmentAlgorithm::solve().

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

Definition at line 44 of file AlignmentResult.h.

References sh_r1_unc, and findQualityFiles::v.

Referenced by JanAlignmentAlgorithm::solve().

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

Definition at line 47 of file AlignmentResult.h.

References sh_r2, and findQualityFiles::v.

Referenced by IdealResult::solve(), and JanAlignmentAlgorithm::solve().

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

Definition at line 50 of file AlignmentResult.h.

References sh_r2_unc, and findQualityFiles::v.

Referenced by JanAlignmentAlgorithm::solve().

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

Definition at line 53 of file AlignmentResult.h.

References sh_z, and findQualityFiles::v.

Referenced by IdealResult::solve(), and JanAlignmentAlgorithm::solve().

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

Definition at line 56 of file AlignmentResult.h.

References sh_z_unc, and findQualityFiles::v.

Referenced by JanAlignmentAlgorithm::solve().

Member Data Documentation

double AlignmentResult::rot_z
protected

rotation about beam axis, rad

Definition at line 19 of file AlignmentResult.h.

Referenced by getRotZ(), and setRotZ().

double AlignmentResult::rot_z_unc
protected

Definition at line 20 of file AlignmentResult.h.

Referenced by getRotZUnc(), and setRotZUnc().

double AlignmentResult::sh_r1
protected

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

Definition at line 14 of file AlignmentResult.h.

Referenced by getShR1(), and setShR1().

double AlignmentResult::sh_r1_unc
protected

Definition at line 14 of file AlignmentResult.h.

Referenced by getShR1Unc(), and setShR1Unc().

double AlignmentResult::sh_r2
protected

Definition at line 15 of file AlignmentResult.h.

Referenced by getShR2(), and setShR2().

double AlignmentResult::sh_r2_unc
protected

Definition at line 15 of file AlignmentResult.h.

Referenced by getShR2Unc(), and setShR2Unc().

double AlignmentResult::sh_z
protected

Definition at line 16 of file AlignmentResult.h.

Referenced by getShZ(), and setShZ().

double AlignmentResult::sh_z_unc
protected

Definition at line 16 of file AlignmentResult.h.

Referenced by getShZUnc(), and setShZUnc().