CMS 3D CMS Logo

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 
21 // Classes that will be used to construct the muon
22 class AlignableDTBarrel;
23 class AlignableDTWheel;
24 class AlignableDTStation;
25 class AlignableDTChamber;
26 class AlignableCSCEndcap;
28 class AlignableCSCRing;
30 
32 
34 public:
36  AlignableMuon(const DTGeometry*, const CSCGeometry*);
37 
39  ~AlignableMuon() override;
40 
43  void update(const DTGeometry*, const CSCGeometry*);
44 
47 
49  virtual Alignable* mother() { return nullptr; }
50 
63 
66 
69 
72 
75 
78 
79 private:
82 
85 
88 
90  Alignments* alignments() const override;
91 
93  AlignmentErrorsExtended* alignmentErrors() const override;
94 
95  // Sub-structure builders
96 
98  void buildDTBarrel(const DTGeometry*, bool update = false);
99 
101  void buildCSCEndcap(const CSCGeometry*, bool update = false);
102 
104  void recursiveSetMothers(Alignable* alignable);
105 
108 
110  std::vector<AlignableDTChamber*> theDTChambers;
111  std::vector<AlignableDTStation*> theDTStations;
112  std::vector<AlignableDTWheel*> theDTWheels;
113  std::vector<AlignableDTBarrel*> theDTBarrel;
114 
115  std::vector<AlignableCSCChamber*> theCSCChambers;
116  std::vector<AlignableCSCStation*> theCSCStations;
117  std::vector<AlignableCSCRing*> theCSCRings;
118  std::vector<AlignableCSCEndcap*> theCSCEndcaps;
119 
121 };
122 
123 #endif //AlignableMuon_H
AlignableMuon::~AlignableMuon
~AlignableMuon() override
Destructor.
Definition: AlignableMuon.cc:48
AlignableMuon::mother
virtual Alignable * mother()
Alignable tracker has no mother.
Definition: AlignableMuon.h:49
DTGeometry
Definition: DTGeometry.h:28
AlignableObjectId
Allows conversion between type and name, and vice-versa.
Definition: AlignableObjectId.h:12
AlignableMuon::dtAlignmentErrorsExtended
AlignmentErrorsExtended * dtAlignmentErrorsExtended()
Get DT alignment errors sorted by DetId.
Definition: AlignableMuon.cc:426
AlignableCSCStation
Definition: AlignableCSCStation.h:28
AlignableMuon::theCSCChambers
std::vector< AlignableCSCChamber * > theCSCChambers
Definition: AlignableMuon.h:115
AlignableMuon::computeOrientation
RotationType computeOrientation()
Get the global orientation (no rotation by default)
AlignableMuon::theDTChambers
std::vector< AlignableDTChamber * > theDTChambers
Containers of separate components.
Definition: AlignableMuon.h:110
AlignableMuon::CSCLayers
align::Alignables CSCLayers()
Definition: AlignableMuon.cc:333
Alignable
Definition: Alignable.h:27
AlignableMuon::theCSCStations
std::vector< AlignableCSCStation * > theCSCStations
Definition: AlignableMuon.h:116
AlignableComposite
Definition: AlignableComposite.h:25
AlignableMuon::cscAlignments
Alignments * cscAlignments()
Get CSC alignments sorted by DetId.
Definition: AlignableMuon.cc:433
AlignableMuon::AlignableMuon
AlignableMuon(const DTGeometry *, const CSCGeometry *)
Constructor from geometries.
Definition: AlignableMuon.cc:29
AlignableMuon::CSCChambers
align::Alignables CSCChambers()
Definition: AlignableMuon.cc:348
watchdog.const
const
Definition: watchdog.py:83
AlignableMuon::theCSCEndcaps
std::vector< AlignableCSCEndcap * > theCSCEndcaps
Definition: AlignableMuon.h:118
AlignableMuon::CSCStations
align::Alignables CSCStations()
Definition: AlignableMuon.cc:362
AlignableMuon::dtAlignments
Alignments * dtAlignments()
Get DT alignments sorted by DetId.
Definition: AlignableMuon.cc:419
AlignableCSCChamber
A muon CSC Chamber( an AlignableDet )
Definition: AlignableCSCChamber.h:24
CSCGeometry
Definition: CSCGeometry.h:24
AlignableMuon::alignableObjectId_
const AlignableObjectId alignableObjectId_
alignable object ID provider
Definition: AlignableMuon.h:107
AlignableMuon::DTChambers
align::Alignables DTChambers()
Definition: AlignableMuon.cc:305
AlignableMuon::computeSurface
AlignableSurface computeSurface()
Get the Surface.
AlignableDTStation
Definition: AlignableDTStation.h:27
Alignable::PositionType
align::PositionType PositionType
Definition: Alignable.h:30
AlignableMuon::update
void update(const DTGeometry *, const CSCGeometry *)
Definition: AlignableMuon.cc:55
AlignableMuon::DTSuperLayers
align::Alignables DTSuperLayers()
Definition: AlignableMuon.cc:289
AlignableMuon::recursiveSetMothers
void recursiveSetMothers(Alignable *alignable)
Set mothers recursively.
Definition: AlignableMuon.cc:376
AlignableMuon::DTLayers
align::Alignables DTLayers()
Methods to return specific of components.
Definition: AlignableMuon.cc:270
AlignableMuon::theDTStations
std::vector< AlignableDTStation * > theDTStations
Definition: AlignableMuon.h:111
AlignableMuon::DTBarrel
align::Alignables DTBarrel()
Definition: AlignableMuon.cc:326
AlignableMuon::theMuonComponents
align::Alignables theMuonComponents
Definition: AlignableMuon.h:120
AlignableMuon::components
const align::Alignables & components() const final
Return all components.
Definition: AlignableMuon.h:46
AlignableMuon::objectIdProvider
const AlignableObjectId & objectIdProvider() const
Return muon alignable object ID provider derived from the muon system geometry.
Definition: AlignableMuon.h:77
DTGeometry.h
AlignableMuon::buildDTBarrel
void buildDTBarrel(const DTGeometry *, bool update=false)
Build muon barrel.
Definition: AlignableMuon.cc:67
AlignableMuon::theCSCRings
std::vector< AlignableCSCRing * > theCSCRings
Definition: AlignableMuon.h:117
AlignableMuon::DTWheels
align::Alignables DTWheels()
Definition: AlignableMuon.cc:319
AlignableCSCRing
Definition: AlignableCSCRing.h:28
AlignableComposite.h
AlignableMuon
Constructor of the full muon geometry.
Definition: AlignableMuon.h:33
Alignable::RotationType
align::RotationType RotationType
Definition: Alignable.h:31
AlignableDTBarrel
Definition: AlignableDTBarrel.h:27
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
AlignableMuon::CSCRings
align::Alignables CSCRings()
Definition: AlignableMuon.cc:355
AlignableObjectId.h
AlignableMuon::buildCSCEndcap
void buildCSCEndcap(const CSCGeometry *, bool update=false)
Build muon end caps.
Definition: AlignableMuon.cc:157
AlignableMuon::alignmentErrors
AlignmentErrorsExtended * alignmentErrors() const override
Get alignment errors sorted by DetId.
Definition: AlignableMuon.cc:400
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
AlignableMuon::CSCEndcaps
align::Alignables CSCEndcaps()
Definition: AlignableMuon.cc:369
AlignableMuon::alignments
Alignments * alignments() const override
Get alignments sorted by DetId.
Definition: AlignableMuon.cc:384
AlignableMuon::theDTBarrel
std::vector< AlignableDTBarrel * > theDTBarrel
Definition: AlignableMuon.h:113
AlignableMuon::DTStations
align::Alignables DTStations()
Definition: AlignableMuon.cc:312
AlignableSurface
Definition: AlignableSurface.h:20
CSCLayer.h
AlignableCSCEndcap
Definition: AlignableCSCEndcap.h:27
AlignableDTChamber
A muon DT Chamber( an AlignableDet )
Definition: AlignableDTChamber.h:24
AlignableDTWheel
Definition: AlignableDTWheel.h:27
AlignableMuon::cscAlignmentErrorsExtended
AlignmentErrorsExtended * cscAlignmentErrorsExtended()
Get CSC alignment errors sorted by DetId.
Definition: AlignableMuon.cc:445
Alignments
Definition: Alignments.h:10
GlobalPoint.h
AlignableMuon::theDTWheels
std::vector< AlignableDTWheel * > theDTWheels
Definition: AlignableMuon.h:112
AlignableMuon::computePosition
PositionType computePosition()
Get the position (centered at 0 by default)