File indexing completed on 2024-04-06 11:57:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef Alignment_SurveyAnalysis_DTSurvey_H
0013 #define Alignment_SurveyAnalysis_DTSurvey_H
0014
0015 #include "TMatrixD.h"
0016
0017 class DTGeometry;
0018 class DTSurveyChamber;
0019
0020 namespace edm {
0021 template <class>
0022 class ESHandle;
0023 }
0024
0025 class DTSurvey {
0026 public:
0027 DTSurvey(const std::string &, const std::string &, int);
0028 ~DTSurvey();
0029
0030 void ReadChambers(edm::ESHandle<DTGeometry>);
0031 void CalculateChambers();
0032
0033 const DTSurveyChamber *getChamber(int, int) const;
0034
0035 int getId() const { return id; }
0036
0037
0038
0039 private:
0040 void FillWheelInfo();
0041
0042 std::string nameOfWheelInfoFile, nameOfChamberInfoFile;
0043 int id;
0044
0045
0046 float OffsetZ;
0047 TMatrixD delta;
0048 TMatrixD Rot;
0049
0050 DTSurveyChamber ***chambers;
0051 };
0052
0053 std::ostream &operator<<(std::ostream &, const DTSurvey &);
0054
0055 #endif