CMS 3D CMS Logo

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