CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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
TkRotation< Scalar >
mps_fire.i
i
Definition: mps_fire.py:428
GeomDet
Definition: GeomDet.h:27
AlignableDTStation::chamber
AlignableDTChamber & chamber(int i)
Return Alignable DT Chamber at given index.
Definition: AlignableDTStation.cc:28
AlignableDTStation::AlignableDTStation
AlignableDTStation(const std::vector< AlignableDTChamber * > &dtChambers)
The constructor simply copies the vector of DT Chambers and computes the surface from them.
Definition: AlignableDTStation.cc:12
AlignableDTStation::computeSurface
AlignableSurface computeSurface()
Definition: AlignableDTStation.cc:37
AlignableComposite
Definition: AlignableComposite.h:25
AlignableDTStation::computeOrientation
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
Definition: AlignableDTStation.cc:55
AlignableDTStation
Definition: AlignableDTStation.h:27
Point3DBase< Scalar, GlobalTag >
AlignableSurface.h
AlignableDTStation::computePosition
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
Definition: AlignableDTStation.cc:42
AlignableComposite.h
AlignableDTStation::operator<<
friend std::ostream & operator<<(std::ostream &, const AlignableDTStation &)
Printout muon DT Station information (not recursive)
Definition: AlignableDTStation.cc:58
Utilities.h
AlignableDTChamber.h
AlignableDTStation::theDTChambers
std::vector< AlignableDTChamber * > theDTChambers
Definition: AlignableDTStation.h:47
AlignableDTStation::dump
void dump(void) const override
Recursive printout of the muon DT Station structure.
Definition: AlignableDTStation.cc:67
AlignableSurface
Definition: AlignableSurface.h:20
AlignableDTChamber
A muon DT Chamber( an AlignableDet )
Definition: AlignableDTChamber.h:24