CMS 3D CMS Logo

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 
31  void ReadChambers(edm::ESHandle<DTGeometry>);
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 
43  std::string nameOfWheelInfoFile, nameOfChamberInfoFile;
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
int id
Definition: DTSurvey.h:44
TMatrixD Rot
Definition: DTSurvey.h:49
std::string nameOfWheelInfoFile
Definition: DTSurvey.h:43
TMatrixD delta
Definition: DTSurvey.h:48
float OffsetZ
Definition: DTSurvey.h:47
DTSurveyChamber *** chambers
Definition: DTSurvey.h:51
HLT enums.
int getId() const
Definition: DTSurvey.h:36
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.