CMS 3D CMS Logo

AlignableCSCRing.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_AlignableCSCRing_H
2 #define Alignment_MuonAlignment_AlignableCSCRing_H
3 
16 
18 
19 
20 #include <vector>
21 
22 class GeomDet;
24 
29 
31 {
32 
33  public:
34 
35  AlignableCSCRing( const std::vector<AlignableCSCChamber*>& cscChambers );
36 
37  // gets the global position as the average over all positions of the layers
39  // get the global orientation
40  RotationType computeOrientation() ; //see explanation for "theOrientation"
41  // get the Surface
43 
45 
46  //virtual void twist(float);
47 
49  friend std::ostream& operator << ( std::ostream&, const AlignableCSCRing& );
50 
52  void dump( void ) const override;
53 
54 
55 
56 private:
57 
58  std::vector<AlignableCSCChamber*> theCSCChambers;
59 
60 
61 };
62 
63 #endif
64 
65 
66 
67 
friend std::ostream & operator<<(std::ostream &, const AlignableCSCRing &)
Printout muon CSC Ring information (not recursive)
AlignableCSCRing(const std::vector< AlignableCSCChamber * > &cscChambers)
The constructor simply copies the vector of CSC Chambers and computes the surface from them...
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
std::vector< AlignableCSCChamber * > theCSCChambers
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
AlignableSurface computeSurface()
AlignableCSCChamber & chamber(int i)
Return Alignable CSC Chamber at given index.
void dump(void) const override
Recursive printout of the muon CSC Ring structure.
A muon CSC Chamber( an AlignableDet )