CMS 3D CMS Logo

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
TkRotation< Scalar >
AlignableCSCStation::ring
AlignableCSCRing & ring(int i)
Return Alignable CSC Ring at given index.
Definition: AlignableCSCStation.cc:28
mps_fire.i
i
Definition: mps_fire.py:428
AlignableCSCStation
Definition: AlignableCSCStation.h:28
GeomDet
Definition: GeomDet.h:27
AlignableCSCStation::dump
void dump(void) const override
Recursive printout of the muon CSC Station structure.
Definition: AlignableCSCStation.cc:75
AlignableCSCStation::computePosition
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
Definition: AlignableCSCStation.cc:42
AlignableCSCStation::operator<<
friend std::ostream & operator<<(std::ostream &, const AlignableCSCStation &)
Printout muon CSC Station information (not recursive)
Definition: AlignableCSCStation.cc:66
AlignableComposite
Definition: AlignableComposite.h:25
Point3DBase< Scalar, GlobalTag >
AlignableSurface.h
AlignableCSCRing
Definition: AlignableCSCRing.h:28
AlignableComposite.h
AlignableCSCRing.h
Utilities.h
AlignableCSCStation::AlignableCSCStation
AlignableCSCStation(const std::vector< AlignableCSCRing * > &cscRings)
The constructor simply copies the vector of CSC Rings and computes the surface from them.
Definition: AlignableCSCStation.cc:12
AlignableCSCStation::computeSurface
AlignableSurface computeSurface()
Definition: AlignableCSCStation.cc:37
AlignableCSCStation::theCSCRings
std::vector< AlignableCSCRing * > theCSCRings
Definition: AlignableCSCStation.h:50
AlignableSurface
Definition: AlignableSurface.h:20
AlignableCSCStation::computeOrientation
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
Definition: AlignableCSCStation.cc:54