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
AlignableCSCEndcap::computeSurface
AlignableSurface computeSurface()
Definition: AlignableCSCEndcap.cc:41
TkRotation< Scalar >
AlignableCSCEndcap::AlignableCSCEndcap
AlignableCSCEndcap(const std::vector< AlignableCSCStation * > &cscStations)
The constructor simply copies the vector of stations and computes the surface from them.
Definition: AlignableCSCEndcap.cc:16
mps_fire.i
i
Definition: mps_fire.py:428
AlignableCSCStation
Definition: AlignableCSCStation.h:28
GeomDet
Definition: GeomDet.h:27
AlignableComposite
Definition: AlignableComposite.h:25
AlignableCSCEndcap::alignmentErrors
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.
Definition: AlignableCSCEndcap.cc:98
AlignableCSCEndcap::computePosition
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
Definition: AlignableCSCEndcap.cc:46
AlignableCSCEndcap::operator<<
friend std::ostream & operator<<(std::ostream &, const AlignableCSCEndcap &)
Printout muon End Cap information (not recursive)
Definition: AlignableCSCEndcap.cc:62
AlignableCSCEndcap::computeOrientation
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
Definition: AlignableCSCEndcap.cc:59
Point3DBase< Scalar, GlobalTag >
AlignableCSCEndcap::dump
void dump(void) const override
Recursive printout of the muon End Cap structure.
Definition: AlignableCSCEndcap.cc:71
AlignableSurface.h
AlignableCSCEndcap::station
AlignableCSCStation & station(int i)
Return AlignableCSCEndcap station at given index.
Definition: AlignableCSCEndcap.cc:32
AlignableComposite.h
Utilities.h
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
AlignableCSCEndcap::theCSCStations
std::vector< AlignableCSCStation * > theCSCStations
Definition: AlignableCSCEndcap.h:53
AlignableCSCStation.h
AlignableSurface
Definition: AlignableSurface.h:20
AlignableCSCEndcap::alignments
Alignments * alignments() const override
Return alignment data.
Definition: AlignableCSCEndcap.cc:81
AlignableCSCEndcap
Definition: AlignableCSCEndcap.h:27
Alignments
Definition: Alignments.h:10