CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTSurvey.h
Go to the documentation of this file.
1 
12 #ifndef Alignment_SurveyAnalysis_DTSurvey_H
13 #define Alignment_SurveyAnalysis_DTSurvey_H
14 
15 #include "TMatrixD.h"
16 
17 class DTGeometry;
18 class DTSurveyChamber;
19 
20 namespace edm {
21  template <class>
22  class ESHandle;
23 }
24 
25 class DTSurvey {
26 public:
27  DTSurvey(const std::string &, const std::string &, int);
28  ~DTSurvey();
29 
31  void CalculateChambers();
32 
33  const DTSurveyChamber *getChamber(int, int) const;
34 
35  int getId() const { return id; }
36 
37  //void ToDB(MuonAlignment *);
38 
39 private:
40  void FillWheelInfo();
41 
43  int id;
44 
45  //This is the displacement (vector) and rotation (matrix) for the wheel
46  float OffsetZ;
47  TMatrixD delta;
48  TMatrixD Rot;
49 
51 };
52 
53 std::ostream &operator<<(std::ostream &, const DTSurvey &);
54 
55 #endif
~DTSurvey()
Definition: DTSurvey.cc:20
int id
Definition: DTSurvey.h:43
TMatrixD Rot
Definition: DTSurvey.h:48
void ReadChambers(edm::ESHandle< DTGeometry >)
Definition: DTSurvey.cc:34
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
std::string nameOfWheelInfoFile
Definition: DTSurvey.h:42
void CalculateChambers()
Definition: DTSurvey.cc:22
TMatrixD delta
Definition: DTSurvey.h:47
const DTSurveyChamber * getChamber(int, int) const
Definition: DTSurvey.cc:32
float OffsetZ
Definition: DTSurvey.h:46
DTSurveyChamber *** chambers
Definition: DTSurvey.h:50
std::string nameOfChamberInfoFile
Definition: DTSurvey.h:42
DTSurvey(const std::string &, const std::string &, int)
Definition: DTSurvey.cc:12
int getId() const
Definition: DTSurvey.h:35
void FillWheelInfo()
Definition: DTSurvey.cc:120