CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
31  SurveyDet(const AlignableSurface&, // set the surface
32  const align::ErrorMatrix& // set the survey errors
33  );
34 
35  inline const align::PositionType& position() const;
36 
37  inline const align::RotationType& rotation() const;
38 
39  inline const align::ErrorMatrix& errors() const;
40 
41  inline const align::LocalPoints& localPoints() const;
42 
43  inline align::GlobalPoints globalPoints() const;
44 
47  AlgebraicMatrix derivatives(unsigned int index // index of point
48  ) const;
49 
50 private:
51  AlignableSurface theSurface; // surface of det from survey info
52 
54 
55  std::vector<align::LocalPoint> thePoints; // survey points on the surface
56 };
57 
59 
61 
63 
65 
67 
68 #endif
SurveyDet(const AlignableSurface &, const align::ErrorMatrix &)
Definition: SurveyDet.cc:3
const align::ErrorMatrix & errors() const
Definition: SurveyDet.h:62
AlgebraicMatrix derivatives(unsigned int index) const
Definition: SurveyDet.cc:21
std::vector< GlobalPoint > GlobalPoints
Definition: Utilities.h:27
const align::RotationType & rotation() const
Definition: SurveyDet.h:60
AlignableSurface theSurface
Definition: SurveyDet.h:51
const align::PositionType & position() const
Definition: SurveyDet.h:58
CLHEP::HepMatrix AlgebraicMatrix
align::ErrorMatrix theErrors
Definition: SurveyDet.h:53
align::GlobalPoints globalPoints() const
Definition: SurveyDet.h:66
std::vector< align::LocalPoint > thePoints
Definition: SurveyDet.h:55
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:37
const PositionType & position() const
const align::LocalPoints & localPoints() const
Definition: SurveyDet.h:64
std::vector< LocalPoint > LocalPoints
Definition: Utilities.h:29