CMS 3D CMS Logo

AlignableCSCEndcap.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_AlignableCSCEndcap_H
2 #define Alignment_MuonAlignment_AlignableCSCEndcap_H
3 
15 
17 
18 #include <vector>
19 
20 class GeomDet;
21 
26 
28 public:
29  AlignableCSCEndcap(const std::vector<AlignableCSCStation*>& cscStations);
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 AlignableCSCEndcap&);
42 
44  void dump(void) const override;
45 
46  // Get alignments sorted by DetId
47  Alignments* alignments() const override;
48 
49  // Get alignment errors sorted by DetId
50  AlignmentErrorsExtended* alignmentErrors() const override;
51 
52 private:
53  std::vector<AlignableCSCStation*> theCSCStations;
54 };
55 
56 #endif
friend std::ostream & operator<<(std::ostream &, const AlignableCSCEndcap &)
Printout muon End Cap information (not recursive)
Alignments * alignments() const override
Return alignment data.
AlignableCSCEndcap(const std::vector< AlignableCSCStation *> &cscStations)
The constructor simply copies the vector of stations and computes the surface from them...
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.
AlignableSurface computeSurface()
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
void dump(void) const override
Recursive printout of the muon End Cap structure.
std::vector< AlignableCSCStation * > theCSCStations
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
AlignableCSCStation & station(int i)
Return AlignableCSCEndcap station at given index.