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 
16 
18 
19 
20 #include <vector>
21 
22 class GeomDet;
23 
28 
30 {
31 
32  public:
33 
34  AlignableDTWheel( const std::vector<AlignableDTStation*>& dtStations );
35 
36  // gets the global position as the average over all positions of the layers
38  // get the global orientation
39  RotationType computeOrientation() ; //see explanation for "theOrientation"
40  // get the Surface
42 
44 
46  friend std::ostream& operator << ( std::ostream&, const AlignableDTWheel& );
47 
49  void dump( void ) const override;
50 
51 
52 private:
53 
54  std::vector<AlignableDTStation*> theDTStations;
55 
56 
57 };
58 
59 #endif
60 
61 
62 
63 
friend std::ostream & operator<<(std::ostream &, const AlignableDTWheel &)
Printout muon DT wheel information (not recursive)
AlignableDTWheel(const std::vector< AlignableDTStation * > &dtStations)
The constructor simply copies the vector of stations and computes the surface from them...
void dump(void) const override
Recursive printout of the muon DT wheel structure.
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)
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
std::vector< AlignableDTStation * > theDTStations