CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AlignableMuon.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_AlignableMuon_H
2 #define Alignment_MuonAlignment_AlignableMuon_H
3 
15 
18 
19 class CSCGeometry;
20 class GEMGeometry;
21 
22 // Classes that will be used to construct the muon
23 class AlignableDTBarrel;
24 class AlignableDTWheel;
25 class AlignableDTStation;
26 class AlignableDTChamber;
27 class AlignableCSCEndcap;
29 class AlignableCSCRing;
31 class AlignableGEMEndcap;
33 class AlignableGEMRing;
35 
37 
39 public:
41  AlignableMuon(const DTGeometry*, const CSCGeometry*, const GEMGeometry*);
42 
44  ~AlignableMuon() override;
45 
48  void update(const DTGeometry*, const CSCGeometry*, const GEMGeometry*);
49 
52 
54  virtual Alignable* mother() { return nullptr; }
55 
74 
77 
80 
83 
85 
88 
90 
93 
94 private:
97 
100 
103 
105  Alignments* alignments() const override;
106 
108  AlignmentErrorsExtended* alignmentErrors() const override;
109 
110  // Sub-structure builders
111 
113  void buildDTBarrel(const DTGeometry*, bool update = false);
114 
116  void buildCSCEndcap(const CSCGeometry*, bool update = false);
117 
118  void buildGEMEndcap(const GEMGeometry*, bool update = false);
119 
121  void recursiveSetMothers(Alignable* alignable);
122 
125 
127  std::vector<AlignableDTChamber*> theDTChambers;
128  std::vector<AlignableDTStation*> theDTStations;
129  std::vector<AlignableDTWheel*> theDTWheels;
130  std::vector<AlignableDTBarrel*> theDTBarrel;
131 
132  std::vector<AlignableCSCChamber*> theCSCChambers;
133  std::vector<AlignableCSCStation*> theCSCStations;
134  std::vector<AlignableCSCRing*> theCSCRings;
135  std::vector<AlignableCSCEndcap*> theCSCEndcaps;
136 
137  std::vector<AlignableGEMSuperChamber*> theGEMSuperChambers;
138  std::vector<AlignableGEMStation*> theGEMStations;
139  std::vector<AlignableGEMRing*> theGEMRings;
140  std::vector<AlignableGEMEndcap*> theGEMEndcaps;
141 
143 };
144 
145 #endif //AlignableMuon_H
std::vector< AlignableGEMRing * > theGEMRings
A muon DT Chamber( an AlignableDet )
align::Alignables DTLayers()
Methods to return specific of components.
align::Alignables CSCChambers()
AlignableMuon(const DTGeometry *, const CSCGeometry *, const GEMGeometry *)
Constructor from geometries.
std::vector< AlignableGEMEndcap * > theGEMEndcaps
align::Alignables DTBarrel()
align::Alignables CSCStations()
align::Alignables GEMStations()
align::Alignables GEMRings()
align::Alignables DTStations()
~AlignableMuon() override
Destructor.
virtual Alignable * mother()
Alignable tracker has no mother.
Definition: AlignableMuon.h:54
AlignableSurface computeSurface()
Get the Surface.
const AlignableObjectId & objectIdProvider() const
Return muon alignable object ID provider derived from the muon system geometry.
Definition: AlignableMuon.h:92
std::vector< AlignableCSCEndcap * > theCSCEndcaps
align::Alignables GEMSuperChambers()
void buildGEMEndcap(const GEMGeometry *, bool update=false)
std::vector< AlignableGEMStation * > theGEMStations
Alignments * dtAlignments()
Get DT alignments sorted by DetId.
const AlignableObjectId alignableObjectId_
alignable object ID provider
align::Alignables GEMEtaPartitions()
align::Alignables CSCEndcaps()
align::Alignables theMuonComponents
align::Alignables DTChambers()
align::Alignables DTWheels()
std::vector< AlignableCSCStation * > theCSCStations
std::vector< AlignableGEMSuperChamber * > theGEMSuperChambers
void recursiveSetMothers(Alignable *alignable)
Set mothers recursively.
Allows conversion between type and name, and vice-versa.
std::vector< AlignableDTStation * > theDTStations
AlignmentErrorsExtended * cscAlignmentErrorsExtended()
Get CSC alignment errors sorted by DetId.
align::Alignables CSCLayers()
Alignments * alignments() const override
Get alignments sorted by DetId.
AlignmentErrorsExtended * alignmentErrors() const override
Get alignment errors sorted by DetId.
void buildCSCEndcap(const CSCGeometry *, bool update=false)
Build muon end caps.
std::vector< AlignableDTChamber * > theDTChambers
Containers of separate components.
std::vector< AlignableCSCRing * > theCSCRings
align::Alignables DTSuperLayers()
PositionType computePosition()
Get the position (centered at 0 by default)
Alignments * cscAlignments()
Get CSC alignments sorted by DetId.
align::RotationType RotationType
Definition: Alignable.h:31
Alignments * gemAlignments()
align::Alignables GEMChambers()
AlignmentErrorsExtended * dtAlignmentErrorsExtended()
Get DT alignment errors sorted by DetId.
align::PositionType PositionType
Definition: Alignable.h:30
AlignmentErrorsExtended * gemAlignmentErrorsExtended()
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
align::Alignables GEMEndcaps()
align::Alignables CSCRings()
const align::Alignables & components() const final
Return all components.
Definition: AlignableMuon.h:51
void buildDTBarrel(const DTGeometry *, bool update=false)
Build muon barrel.
RotationType computeOrientation()
Get the global orientation (no rotation by default)
std::vector< AlignableDTBarrel * > theDTBarrel
std::vector< AlignableDTWheel * > theDTWheels
Constructor of the full muon geometry.
Definition: AlignableMuon.h:38
void update(const DTGeometry *, const CSCGeometry *, const GEMGeometry *)
std::vector< AlignableCSCChamber * > theCSCChambers
A muon CSC Chamber( an AlignableDet )