CMS 3D CMS Logo

AlignableDTWheel.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_AlignableDTWheel_H
2 #define Alignment_MuonAlignment_AlignableDTWheel_H
3 
15 
17 
18 #include <vector>
19 
20 class GeomDet;
21 
26 
28 public:
29  AlignableDTWheel(const std::vector<AlignableDTStation*>& dtStations);
30 
31  // gets the global position as the average over all positions of the layers
33  // get the global orientation
34  RotationType computeOrientation(); //see explanation for "theOrientation"
35  // get the Surface
37 
39 
41  friend std::ostream& operator<<(std::ostream&, const AlignableDTWheel&);
42 
44  void dump(void) const override;
45 
46 private:
47  std::vector<AlignableDTStation*> theDTStations;
48 };
49 
50 #endif
friend std::ostream & operator<<(std::ostream &, const AlignableDTWheel &)
Printout muon DT wheel information (not recursive)
AlignableDTStation & station(int i)
Return Alignable DT Station at given index.
AlignableSurface computeSurface()
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
void dump(void) const override
Recursive printout of the muon DT wheel structure.
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
std::vector< AlignableDTStation * > theDTStations
AlignableDTWheel(const std::vector< AlignableDTStation *> &dtStations)
The constructor simply copies the vector of stations and computes the surface from them...