CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AlignableDTStation.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_AlignableDTStation_H
2 #define Alignment_MuonAlignment_AlignableDTStation_H
3 
15 
17 
18 #include <vector>
19 
20 class GeomDet;
21 
26 
28 public:
29  AlignableDTStation(const std::vector<AlignableDTChamber*>& dtChambers);
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 AlignableDTStation&);
42 
44  void dump(void) const override;
45 
46 private:
47  std::vector<AlignableDTChamber*> theDTChambers;
48 };
49 
50 #endif
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...
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 Station structure.