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 
15 
17 
18 #include <vector>
19 
20 class GeomDet;
22 
27 
29 public:
30  AlignableCSCRing(const std::vector<AlignableCSCChamber*>& cscChambers);
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 
40 
41  //virtual void twist(float);
42 
44  friend std::ostream& operator<<(std::ostream&, const AlignableCSCRing&);
45 
47  void dump(void) const override;
48 
49 private:
50  std::vector<AlignableCSCChamber*> theCSCChambers;
51 };
52 
53 #endif
TkRotation< Scalar >
mps_fire.i
i
Definition: mps_fire.py:428
GeomDet
Definition: GeomDet.h:27
AlignableComposite
Definition: AlignableComposite.h:25
AlignableCSCChamber
A muon CSC Chamber( an AlignableDet )
Definition: AlignableCSCChamber.h:24
AlignableCSCChamber.h
Point3DBase< Scalar, GlobalTag >
AlignableSurface.h
AlignableCSCRing::computeSurface
AlignableSurface computeSurface()
Definition: AlignableCSCRing.cc:37
AlignableCSCRing::operator<<
friend std::ostream & operator<<(std::ostream &, const AlignableCSCRing &)
Printout muon CSC Ring information (not recursive)
Definition: AlignableCSCRing.cc:67
AlignableCSCRing
Definition: AlignableCSCRing.h:28
AlignableComposite.h
AlignableCSCRing::chamber
AlignableCSCChamber & chamber(int i)
Return Alignable CSC Chamber at given index.
Definition: AlignableCSCRing.cc:28
Utilities.h
AlignableCSCRing::dump
void dump(void) const override
Recursive printout of the muon CSC Ring structure.
Definition: AlignableCSCRing.cc:76
AlignableSurface
Definition: AlignableSurface.h:20
AlignableCSCRing::AlignableCSCRing
AlignableCSCRing(const std::vector< AlignableCSCChamber * > &cscChambers)
The constructor simply copies the vector of CSC Chambers and computes the surface from them.
Definition: AlignableCSCRing.cc:12
AlignableCSCRing::computePosition
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
Definition: AlignableCSCRing.cc:42
AlignableCSCRing::theCSCChambers
std::vector< AlignableCSCChamber * > theCSCChambers
Definition: AlignableCSCRing.h:50
AlignableCSCRing::computeOrientation
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
Definition: AlignableCSCRing.cc:55