CMS 3D CMS Logo

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
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
const align::ErrorMatrix & errors() const
Definition: SurveyDet.h:62
SurveyDet(const AlignableSurface &, const align::ErrorMatrix &)
Definition: SurveyDet.cc:3
std::vector< GlobalPoint > GlobalPoints
Definition: Utilities.h:27
AlignableSurface theSurface
Definition: SurveyDet.h:51
const align::RotationType & rotation() const
Definition: SurveyDet.h:60
CLHEP::HepMatrix AlgebraicMatrix
const align::PositionType & position() const
Definition: SurveyDet.h:58
const PositionType & position() const
align::ErrorMatrix theErrors
Definition: SurveyDet.h:53
AlgebraicMatrix derivatives(unsigned int index) const
Definition: SurveyDet.cc:21
std::vector< align::LocalPoint > thePoints
Definition: SurveyDet.h:55
const RotationType & rotation() const
const align::LocalPoints & localPoints() const
Definition: SurveyDet.h:64
math::Error< 6 >::type ErrorMatrix
Definition: Definitions.h:37
align::GlobalPoints globalPoints() const
Definition: SurveyDet.h:66
std::vector< LocalPoint > LocalPoints
Definition: Utilities.h:29