CMS 3D CMS Logo

AlignableDTStation.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_AlignableDTStation_H
2 #define Alignment_MuonAlignment_AlignableDTStation_H
3 
16 
18 
19 
20 #include <vector>
21 
22 class GeomDet;
23 
28 
30 {
31 
32  public:
33 
34  AlignableDTStation( const std::vector<AlignableDTChamber*>& dtChambers );
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 AlignableDTStation& );
47 
49  void dump( void ) const override;
50 
51 
52 private:
53 
54  std::vector<AlignableDTChamber*> theDTChambers;
55 
56 
57 };
58 
59 #endif
60 
61 
62 
63 
A muon DT Chamber( an AlignableDet )
AlignableSurface computeSurface()
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
AlignableDTChamber & chamber(int i)
Return Alignable DT Chamber at given index.
friend std::ostream & operator<<(std::ostream &, const AlignableDTStation &)
Printout muon DT Station information (not recursive)
std::vector< AlignableDTChamber * > theDTChambers
AlignableDTStation(const std::vector< AlignableDTChamber * > &dtChambers)
The constructor simply copies the vector of DT Chambers and computes the surface from them...
void dump(void) const override
Recursive printout of the muon DT Station structure.
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)