CMS 3D CMS Logo

TrackerAlignmentLevelBuilder.h
Go to the documentation of this file.
1 #ifndef ALIGNMENT_TRACKERALIGNMENT_INTERFACE_TRACKERALIGNMENTLEVELBUILDER_H_
2 #define ALIGNMENT_TRACKERALIGNMENT_INTERFACE_TRACKERALIGNMENTLEVELBUILDER_H_
3 
4 // Original Author: Max Stark
5 // Created: Wed, 10 Feb 2016 13:48:41 CET
6 
7 // system includes
8 #include <set>
9 #include <map>
10 
11 // core framework functionality
13 
14 // alignment
19 
20 class DetId;
21 class TrackerTopology;
22 class TrackerGeometry;
23 
25  //========================== PUBLIC METHODS =================================
26 public: //===================================================================
29 
30  void addDetUnitInfo(const DetId& detId);
31  std::vector<align::AlignmentLevels> build();
34 
35  //========================= PRIVATE METHODS =================================
36 private: //==================================================================
37  void addPXBDetUnitInfo(const DetId& detId);
38  void addPXEDetUnitInfo(const DetId& detId);
39  void addTIBDetUnitInfo(const DetId& detId);
40  void addTIDDetUnitInfo(const DetId& detId);
41  void addTOBDetUnitInfo(const DetId& detId);
42  void addTECDetUnitInfo(const DetId& detId);
43 
50 
51  //========================== PRIVATE DATA ===================================
52  //===========================================================================
53 
57  bool levelsBuilt_{false};
58 
59  // PixelBarrel
60  std::set<unsigned int> pxbLayerIDs_;
61  std::set<unsigned int> pxbLadderIDs_;
62  std::set<unsigned int> pxbModuleIDs_;
63  std::map<unsigned int, unsigned int> pxbLaddersPerLayer_;
64 
65  // PixelEndcap
66  std::set<unsigned int> pxeSideIDs_;
67  std::set<unsigned int> pxeDiskIDs_;
68  std::set<unsigned int> pxeBladeIDs_;
69  std::set<unsigned int> pxePanelIDs_;
70  std::set<unsigned int> pxeModuleIDs_;
71 
72  // TIB
73  std::set<unsigned int> tibSideIDs_;
74  std::set<unsigned int> tibLayerIDs_;
75  std::set<unsigned int> tibStringIDs_;
76  std::set<unsigned int> tibModuleIDs_;
77  std::map<unsigned int, unsigned int> pxbStringsPerHalfShell_;
78 
79  // TID
80  std::set<unsigned int> tidSideIDs_;
81  std::set<unsigned int> tidWheelIDs_;
82  std::set<unsigned int> tidRingIDs_;
83  std::set<unsigned int> tidModuleIDs_;
84  std::map<unsigned int, unsigned int> tidStringsInnerLayer_;
85  std::map<unsigned int, unsigned int> tidStringsOuterLayer_;
86 
87  // TOB
88  std::set<unsigned int> tobLayerIDs_;
89  std::set<unsigned int> tobSideIDs_;
90  std::set<unsigned int> tobRodIDs_;
91  std::set<unsigned int> tobModuleIDs_;
92 
93  // TEC
94  std::set<unsigned int> tecSideIDs_;
95  std::set<unsigned int> tecWheelIDs_;
96  std::set<unsigned int> tecPetalIDs_;
97  std::set<unsigned int> tecRingIDs_;
98  std::set<unsigned int> tecModuleIDs_;
99 };
100 
101 #endif /* ALIGNMENT_TRACKERALIGNMENT_INTERFACE_TRACKERALIGNMENTLEVELBUILDER_H_ */
TrackerAlignmentLevelBuilder::tidStringsOuterLayer_
std::map< unsigned int, unsigned int > tidStringsOuterLayer_
Definition: TrackerAlignmentLevelBuilder.h:85
AlignableObjectId
Allows conversion between type and name, and vice-versa.
Definition: AlignableObjectId.h:13
TrackerAlignmentLevelBuilder::pxeBladeIDs_
std::set< unsigned int > pxeBladeIDs_
Definition: TrackerAlignmentLevelBuilder.h:68
MessageLogger.h
TrackerAlignmentLevelBuilder::tobLayerIDs_
std::set< unsigned int > tobLayerIDs_
Definition: TrackerAlignmentLevelBuilder.h:88
TrackerAlignmentLevelBuilder::pxbLayerIDs_
std::set< unsigned int > pxbLayerIDs_
Definition: TrackerAlignmentLevelBuilder.h:60
TrackerAlignmentLevelBuilder::tibModuleIDs_
std::set< unsigned int > tibModuleIDs_
Definition: TrackerAlignmentLevelBuilder.h:76
TrackerAlignmentLevelBuilder::trackerNameSpace
const align::TrackerNameSpace & trackerNameSpace() const
Definition: TrackerAlignmentLevelBuilder.cc:66
TrackerAlignmentLevelBuilder::alignableObjectId_
const AlignableObjectId alignableObjectId_
Definition: TrackerAlignmentLevelBuilder.h:55
TrackerTopology
Definition: TrackerTopology.h:16
TrackerAlignmentLevelBuilder::tidStringsInnerLayer_
std::map< unsigned int, unsigned int > tidStringsInnerLayer_
Definition: TrackerAlignmentLevelBuilder.h:84
TrackerAlignmentLevelBuilder::pxeModuleIDs_
std::set< unsigned int > pxeModuleIDs_
Definition: TrackerAlignmentLevelBuilder.h:70
TrackerAlignmentLevelBuilder::tecModuleIDs_
std::set< unsigned int > tecModuleIDs_
Definition: TrackerAlignmentLevelBuilder.h:98
TrackerAlignmentLevelBuilder::buildTIBAlignmentLevels
align::AlignmentLevels buildTIBAlignmentLevels()
Definition: TrackerAlignmentLevelBuilder.cc:240
TrackerAlignmentLevelBuilder::addPXBDetUnitInfo
void addPXBDetUnitInfo(const DetId &detId)
Definition: TrackerAlignmentLevelBuilder.cc:81
TrackerAlignmentLevelBuilder::tibSideIDs_
std::set< unsigned int > tibSideIDs_
Definition: TrackerAlignmentLevelBuilder.h:73
TrackerAlignmentLevelBuilder
Definition: TrackerAlignmentLevelBuilder.h:24
align::TrackerNameSpace
Definition: TrackerNameSpace.h:10
TrackerAlignmentLevelBuilder::tecPetalIDs_
std::set< unsigned int > tecPetalIDs_
Definition: TrackerAlignmentLevelBuilder.h:96
TrackerNameSpace.h
DetId
Definition: DetId.h:17
TrackerAlignmentLevelBuilder::pxbStringsPerHalfShell_
std::map< unsigned int, unsigned int > pxbStringsPerHalfShell_
Definition: TrackerAlignmentLevelBuilder.h:77
TrackerAlignmentLevelBuilder::addTECDetUnitInfo
void addTECDetUnitInfo(const DetId &detId)
Definition: TrackerAlignmentLevelBuilder.cc:162
TrackerAlignmentLevelBuilder::buildTECAlignmentLevels
align::AlignmentLevels buildTECAlignmentLevels()
Definition: TrackerAlignmentLevelBuilder.cc:329
TrackerAlignmentLevelBuilder::tidModuleIDs_
std::set< unsigned int > tidModuleIDs_
Definition: TrackerAlignmentLevelBuilder.h:83
TrackerAlignmentLevelBuilder::pxbModuleIDs_
std::set< unsigned int > pxbModuleIDs_
Definition: TrackerAlignmentLevelBuilder.h:62
TrackerAlignmentLevelBuilder::pxbLadderIDs_
std::set< unsigned int > pxbLadderIDs_
Definition: TrackerAlignmentLevelBuilder.h:61
TrackerAlignmentLevelBuilder::tobRodIDs_
std::set< unsigned int > tobRodIDs_
Definition: TrackerAlignmentLevelBuilder.h:90
TrackerAlignmentLevelBuilder::addPXEDetUnitInfo
void addPXEDetUnitInfo(const DetId &detId)
Definition: TrackerAlignmentLevelBuilder.cc:96
TrackerAlignmentLevelBuilder::pxeDiskIDs_
std::set< unsigned int > pxeDiskIDs_
Definition: TrackerAlignmentLevelBuilder.h:67
TrackerAlignmentLevelBuilder::tecRingIDs_
std::set< unsigned int > tecRingIDs_
Definition: TrackerAlignmentLevelBuilder.h:97
TrackerAlignmentLevelBuilder::buildTOBAlignmentLevels
align::AlignmentLevels buildTOBAlignmentLevels()
Definition: TrackerAlignmentLevelBuilder.cc:304
TrackerAlignmentLevelBuilder::tibStringIDs_
std::set< unsigned int > tibStringIDs_
Definition: TrackerAlignmentLevelBuilder.h:75
TrackerAlignmentLevelBuilder::trackerTopology_
const TrackerTopology * trackerTopology_
Definition: TrackerAlignmentLevelBuilder.h:54
TrackerAlignmentLevelBuilder::addTIDDetUnitInfo
void addTIDDetUnitInfo(const DetId &detId)
Definition: TrackerAlignmentLevelBuilder.cc:135
Utilities.h
TrackerAlignmentLevelBuilder::tidSideIDs_
std::set< unsigned int > tidSideIDs_
Definition: TrackerAlignmentLevelBuilder.h:80
AlignmentLevel.h
TrackerAlignmentLevelBuilder::addDetUnitInfo
void addDetUnitInfo(const DetId &detId)
Definition: TrackerAlignmentLevelBuilder.cc:27
TrackerAlignmentLevelBuilder::tidWheelIDs_
std::set< unsigned int > tidWheelIDs_
Definition: TrackerAlignmentLevelBuilder.h:81
TrackerAlignmentLevelBuilder::tidRingIDs_
std::set< unsigned int > tidRingIDs_
Definition: TrackerAlignmentLevelBuilder.h:82
TrackerAlignmentLevelBuilder::~TrackerAlignmentLevelBuilder
virtual ~TrackerAlignmentLevelBuilder()
Definition: TrackerAlignmentLevelBuilder.cc:24
TrackerAlignmentLevelBuilder::pxeSideIDs_
std::set< unsigned int > pxeSideIDs_
Definition: TrackerAlignmentLevelBuilder.h:66
TrackerAlignmentLevelBuilder::pxbLaddersPerLayer_
std::map< unsigned int, unsigned int > pxbLaddersPerLayer_
Definition: TrackerAlignmentLevelBuilder.h:63
AlignableObjectId.h
TrackerAlignmentLevelBuilder::tobSideIDs_
std::set< unsigned int > tobSideIDs_
Definition: TrackerAlignmentLevelBuilder.h:89
TrackerAlignmentLevelBuilder::trackerNameSpace_
align::TrackerNameSpace trackerNameSpace_
Definition: TrackerAlignmentLevelBuilder.h:56
TrackerAlignmentLevelBuilder::levelsBuilt_
bool levelsBuilt_
Definition: TrackerAlignmentLevelBuilder.h:57
TrackerAlignmentLevelBuilder::objectIdProvider
const AlignableObjectId & objectIdProvider() const
Definition: TrackerAlignmentLevelBuilder.h:32
TrackerAlignmentLevelBuilder::tecWheelIDs_
std::set< unsigned int > tecWheelIDs_
Definition: TrackerAlignmentLevelBuilder.h:95
TrackerAlignmentLevelBuilder::addTOBDetUnitInfo
void addTOBDetUnitInfo(const DetId &detId)
Definition: TrackerAlignmentLevelBuilder.cc:149
TrackerAlignmentLevelBuilder::buildPXEAlignmentLevels
align::AlignmentLevels buildPXEAlignmentLevels()
Definition: TrackerAlignmentLevelBuilder.cc:208
align::AlignmentLevels
std::vector< std::unique_ptr< AlignmentLevel > > AlignmentLevels
Definition: Utilities.h:33
TrackerAlignmentLevelBuilder::tecSideIDs_
std::set< unsigned int > tecSideIDs_
Definition: TrackerAlignmentLevelBuilder.h:94
TrackerAlignmentLevelBuilder::tobModuleIDs_
std::set< unsigned int > tobModuleIDs_
Definition: TrackerAlignmentLevelBuilder.h:91
TrackerAlignmentLevelBuilder::tibLayerIDs_
std::set< unsigned int > tibLayerIDs_
Definition: TrackerAlignmentLevelBuilder.h:74
TrackerAlignmentLevelBuilder::addTIBDetUnitInfo
void addTIBDetUnitInfo(const DetId &detId)
Definition: TrackerAlignmentLevelBuilder.cc:111
TrackerAlignmentLevelBuilder::pxePanelIDs_
std::set< unsigned int > pxePanelIDs_
Definition: TrackerAlignmentLevelBuilder.h:69
TrackerAlignmentLevelBuilder::buildTIDAlignmentLevels
align::AlignmentLevels buildTIDAlignmentLevels()
Definition: TrackerAlignmentLevelBuilder.cc:277
TrackerAlignmentLevelBuilder::build
std::vector< align::AlignmentLevels > build()
Definition: TrackerAlignmentLevelBuilder.cc:53
TrackerAlignmentLevelBuilder::TrackerAlignmentLevelBuilder
TrackerAlignmentLevelBuilder(const TrackerTopology *, const TrackerGeometry *)
Definition: TrackerAlignmentLevelBuilder.cc:17
TrackerAlignmentLevelBuilder::buildPXBAlignmentLevels
align::AlignmentLevels buildPXBAlignmentLevels()
Definition: TrackerAlignmentLevelBuilder.cc:177
TrackerGeometry
Definition: TrackerGeometry.h:14