test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlignableMuon.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_AlignableMuon_H
2 #define Alignment_MuonAlignment_AlignableMuon_H
3 
16 
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 
31 
32 
33 
35 
37 {
38 
39 public:
40 
42  AlignableMuon( const DTGeometry* , const CSCGeometry* );
43 
46 
47 
49  virtual align::Alignables components() const { return theMuonComponents; }
50 
52  virtual Alignable* mother() { return 0; }
53 
54  // Methods to return specific of components
66 
67  // Get DT alignments sorted by DetId
69 
70  // Get DT alignment errors sorted by DetId
72 
73  // Get CSC alignments sorted by DetId
75 
76  // Get CSC alignment errors sorted by DetId
78 
79 
80 
81 private:
82 
83  // Get the position (centered at 0 by default)
85 
86  // Get the global orientation (no rotation by default)
88 
89  // Get the Surface
91 
92  // Get alignments sorted by DetId
93  Alignments* alignments() const;
94 
95  // Get alignment errors sorted by DetId
97 
98 
99 
100  // Sub-structure builders
101 
102  // Build muon barrel
103  void buildDTBarrel( const DTGeometry* );
104 
105  // Build muon end caps
106  void buildCSCEndcap( const CSCGeometry* );
107 
109  void recursiveSetMothers( Alignable* alignable );
110 
111 
112  // Containers of separate components
113 
114  std::vector<AlignableDTChamber*> theDTChambers;
115  std::vector<AlignableDTStation*> theDTStations;
116  std::vector<AlignableDTWheel*> theDTWheels;
117  std::vector<AlignableDTBarrel*> theDTBarrel;
118 
119  std::vector<AlignableCSCChamber*> theCSCChambers;
120  std::vector<AlignableCSCStation*> theCSCStations;
121  std::vector<AlignableCSCRing*> theCSCRings;
122  std::vector<AlignableCSCEndcap*> theCSCEndcaps;
123 
125 
126 };
127 
128 #endif //AlignableMuon_H
129 
A muon DT Chamber( an AlignableDet )
align::Alignables DTLayers()
align::Alignables CSCChambers()
align::Alignables DTBarrel()
align::Alignables CSCStations()
align::Alignables DTStations()
virtual Alignable * mother()
Alignable tracker has no mother.
Definition: AlignableMuon.h:52
AlignableSurface computeSurface()
Alignments * alignments() const
Return alignment data.
std::vector< AlignableCSCEndcap * > theCSCEndcaps
Alignments * dtAlignments()
align::Alignables CSCEndcaps()
align::Alignables theMuonComponents
align::Alignables DTChambers()
align::Alignables DTWheels()
std::vector< AlignableCSCStation * > theCSCStations
void recursiveSetMothers(Alignable *alignable)
Set mothers recursively.
virtual align::Alignables components() const
Return all components.
Definition: AlignableMuon.h:49
std::vector< AlignableDTStation * > theDTStations
AlignmentErrorsExtended * cscAlignmentErrorsExtended()
align::Alignables CSCLayers()
std::vector< AlignableDTChamber * > theDTChambers
std::vector< AlignableCSCRing * > theCSCRings
align::Alignables DTSuperLayers()
PositionType computePosition()
Alignments * cscAlignments()
align::RotationType RotationType
Definition: Alignable.h:36
AlignmentErrorsExtended * alignmentErrors() const
Return vector of alignment errors.
AlignableMuon(const DTGeometry *, const CSCGeometry *)
Constructor from geometries.
AlignmentErrorsExtended * dtAlignmentErrorsExtended()
align::PositionType PositionType
Definition: Alignable.h:35
std::vector< Alignable * > Alignables
Definition: Utilities.h:28
void buildDTBarrel(const DTGeometry *)
align::Alignables CSCRings()
RotationType computeOrientation()
std::vector< AlignableDTBarrel * > theDTBarrel
~AlignableMuon()
Destructor.
std::vector< AlignableDTWheel * > theDTWheels
Constructor of the full muon geometry.
Definition: AlignableMuon.h:36
void buildCSCEndcap(const CSCGeometry *)
std::vector< AlignableCSCChamber * > theCSCChambers
A muon CSC Chamber( an AlignableDet )