CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AlignableCSCStation.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_AlignableCSCStation_H
2 #define Alignment_MuonAlignment_AlignableCSCStation_H
3 
15 
17 
18 #include <vector>
19 
20 class GeomDet;
21 class AlignableCSCRing;
22 
27 
29 public:
30  AlignableCSCStation(const std::vector<AlignableCSCRing*>& cscRings);
31 
32  // gets the global position as the average over all positions of the layers
34  // get the global orientation
35  RotationType computeOrientation(); //see explanation for "theOrientation"
36  // get the Surface
38 
39  AlignableCSCRing& ring(int i);
40 
41  //virtual void twist(float);
42 
44  friend std::ostream& operator<<(std::ostream&, const AlignableCSCStation&);
45 
47  void dump(void) const override;
48 
49 private:
50  std::vector<AlignableCSCRing*> theCSCRings;
51 };
52 
53 #endif
AlignableCSCStation(const std::vector< AlignableCSCRing * > &cscRings)
The constructor simply copies the vector of CSC Rings and computes the surface from them...
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
AlignableCSCRing & ring(int i)
Return Alignable CSC Ring at given index.
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
friend std::ostream & operator<<(std::ostream &, const AlignableCSCStation &)
Printout muon CSC Station information (not recursive)
AlignableSurface computeSurface()
void dump(void) const override
Recursive printout of the muon CSC Station structure.
std::vector< AlignableCSCRing * > theCSCRings