CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SurveyDet.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_SurveyDet_h
2 #define Alignment_CommonAlignment_SurveyDet_h
3 
14 
15 class SurveyDet
16 {
17  public:
18 
33  SurveyDet(
34  const AlignableSurface&, // set the surface
35  const align::ErrorMatrix& // set the survey errors
36  );
37 
38  inline const align::PositionType& position() const;
39 
40  inline const align::RotationType& rotation() const;
41 
42  inline const align::ErrorMatrix& errors() const;
43 
44  inline const align::LocalPoints& localPoints() const;
45 
46  inline align::GlobalPoints globalPoints() const;
47 
51  unsigned int index // index of point
52  ) const;
53 
54  private:
55 
56  AlignableSurface theSurface; // surface of det from survey info
57 
59 
60  std::vector<align::LocalPoint> thePoints; // survey points on the surface
61 };
62 
64 {
65  return theSurface.position();
66 }
67 
69 {
70  return theSurface.rotation();
71 }
72 
74 {
75  return theErrors;
76 }
77 
79 {
80  return thePoints;
81 }
82 
84 {
86 }
87 
88 #endif
SurveyDet(const AlignableSurface &, const align::ErrorMatrix &)
Definition: SurveyDet.cc:3
const align::ErrorMatrix & errors() const
Definition: SurveyDet.h:73
AlgebraicMatrix derivatives(unsigned int index) const
Definition: SurveyDet.cc:24
std::vector< GlobalPoint > GlobalPoints
Definition: Utilities.h:23
const align::RotationType & rotation() const
Definition: SurveyDet.h:68
AlignableSurface theSurface
Definition: SurveyDet.h:56
const align::PositionType & position() const
Definition: SurveyDet.h:63
CLHEP::HepMatrix AlgebraicMatrix
align::ErrorMatrix theErrors
Definition: SurveyDet.h:58
align::GlobalPoints globalPoints() const
Definition: SurveyDet.h:83
std::vector< align::LocalPoint > thePoints
Definition: SurveyDet.h:60
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
const RotationType & rotation() const
math::Error< 6 >::type ErrorMatrix
Definition: Definitions.h:39
const PositionType & position() const
const align::LocalPoints & localPoints() const
Definition: SurveyDet.h:78
std::vector< LocalPoint > LocalPoints
Definition: Utilities.h:25