CMS 3D CMS Logo

AlignableTracker.h
Go to the documentation of this file.
1 #ifndef Alignment_TrackerAlignment_AlignableTracker_H
2 #define Alignment_TrackerAlignment_AlignableTracker_H
3 
4 // Original Author: ?
5 // Last Update: Max Stark
6 // Date: Mon, 15 Feb 2016 09:32:12 CET
7 
8 // alignment
13 
14 class TrackerGeometry;
15 class TrackerTopology;
16 
20 
21 public:
23  ~AlignableTracker() override{/* TODO: delete all tracker-alignables? */};
24 
27  Alignables& subStructures(const std::string& subStructName) { return alignableMap_.find(subStructName); }
28 
31  void update(const TrackerGeometry*, const TrackerTopology*);
32 
48  }
49 
53  Alignables TIBTIDGeomDets() { return this->merge(this->innerBarrelGeomDets(), this->TIDGeomDets()); }
66 
68  Alignables barrelRods() { return this->merge(this->innerBarrelRods(), this->outerBarrelRods()); }
81 
83  Alignables barrelLayers() { return this->merge(this->innerBarrelLayers(), this->outerBarrelLayers()); }
96 
98  Alignments* alignments() const override;
99 
101  AlignmentErrorsExtended* alignmentErrors() const override;
102 
104  const TrackerTopology* trackerTopology() const { return tTopo_; }
105 
108 
111 
112 private:
113  Alignables merge(const Alignables& list1, const Alignables& list2) const;
114 
119 };
120 
121 #endif //AlignableTracker_H
AlignableTracker::trackerNameSpace
const align::TrackerNameSpace & trackerNameSpace() const
Return tracker name space derived from the tracker's topology.
Definition: AlignableTracker.h:107
AlignableTracker::AlignableTracker
AlignableTracker(const TrackerGeometry *, const TrackerTopology *)
Definition: AlignableTracker.cc:14
AlignableObjectId
Allows conversion between type and name, and vice-versa.
Definition: AlignableObjectId.h:13
align::TPBHalfBarrel
Definition: StructureType.h:26
AlignableTracker::outerBarrelGeomDets
Alignables & outerBarrelGeomDets()
Return outer barrel GeomDets.
Definition: AlignableTracker.h:57
AlignableTracker::TIDLayers
Alignables & TIDLayers()
Return TID layers.
Definition: AlignableTracker.h:93
align::TPEHalfDisk
Definition: StructureType.h:33
AlignableObjectId::typeToName
std::string typeToName(align::StructureType type) const
Convert type to name.
Definition: AlignableObjectId.cc:269
AlignableTracker::pixelEndCaps
Alignables & pixelEndCaps()
Return TPEs.
Definition: AlignableTracker.h:42
AlignableTracker::alignableObjectId_
AlignableObjectId alignableObjectId_
Definition: AlignableTracker.h:117
Alignable::Alignables
align::Alignables Alignables
Definition: Alignable.h:34
align::TECEndcap
Definition: StructureType.h:66
AlignableTracker::trackerTopology
const TrackerTopology * trackerTopology() const
Return tracker topology used to build AlignableTracker.
Definition: AlignableTracker.h:104
align::TPBLayer
Definition: StructureType.h:25
AlignableMap
Definition: AlignableMap.h:27
TrackerTopology
Definition: TrackerTopology.h:16
AlignableTracker::innerHalfBarrels
Alignables & innerHalfBarrels()
Return TIB half barrels.
Definition: AlignableTracker.h:36
align::TOBModule
Definition: StructureType.h:54
AlignableComposite
Definition: AlignableComposite.h:25
align::TPEEndcap
Definition: StructureType.h:35
align::TIBModule
Definition: StructureType.h:38
AlignableTracker::trackerNameSpace_
align::TrackerNameSpace trackerNameSpace_
Definition: AlignableTracker.h:116
AlignableTracker::innerBarrelGeomDets
Alignables & innerBarrelGeomDets()
Return inner barrel GeomDets.
Definition: AlignableTracker.h:55
align::TIBString
Definition: StructureType.h:39
AlignableTracker::objectIdProvider
const AlignableObjectId & objectIdProvider() const
Return tracker alignable object ID provider derived from the tracker's geometry.
Definition: AlignableTracker.h:110
AlignableTracker::endCaps
Alignables & endCaps()
Return TECs.
Definition: AlignableTracker.h:40
AlignableTracker::pixelEndcapLayers
Alignables & pixelEndcapLayers()
Return pixel endcap layers.
Definition: AlignableTracker.h:95
AlignableTracker::innerBarrelRods
Alignables & innerBarrelRods()
Return inner barrel rods.
Definition: AlignableTracker.h:70
align::TOBLayer
Definition: StructureType.h:56
align::TrackerNameSpace
Definition: TrackerNameSpace.h:10
AlignableTracker::barrelRods
Alignables barrelRods()
Return inner and outer barrel rods.
Definition: AlignableTracker.h:68
AlignableTracker::pixelHalfBarrelGeomDets
Alignables & pixelHalfBarrelGeomDets()
Return pixel barrel GeomDets.
Definition: AlignableTracker.h:59
AlignableTracker::outerBarrelLayers
Alignables & outerBarrelLayers()
Return outer barrel layers.
Definition: AlignableTracker.h:87
AlignableTracker::outerBarrelRods
Alignables & outerBarrelRods()
Return outer barrel rods.
Definition: AlignableTracker.h:72
AlignableTracker::endcapGeomDets
Alignables & endcapGeomDets()
Return endcap GeomDets.
Definition: AlignableTracker.h:61
TrackerNameSpace.h
AlignableTracker::alignmentErrors
AlignmentErrorsExtended * alignmentErrors() const override
Return alignment errors, sorted by DetId.
Definition: AlignableTracker.cc:59
AlignableTracker::innerBarrelLayers
Alignables & innerBarrelLayers()
Return inner barrel layers.
Definition: AlignableTracker.h:85
AlignableTracker::pixelHalfBarrels
Alignables & pixelHalfBarrels()
Return Pixel half barrels.
Definition: AlignableTracker.h:38
AlignableTracker
Definition: AlignableTracker.h:17
AlignableTracker::TIDRings
Alignables & TIDRings()
Return TID rings.
Definition: AlignableTracker.h:78
AlignableTracker::alignableMap_
AlignableMap alignableMap_
Definition: AlignableTracker.h:118
align::TOBHalfBarrel
Definition: StructureType.h:57
align::TIBLayer
Definition: StructureType.h:42
AlignableTracker::subStructures
Alignables & subStructures(const std::string &subStructName)
Definition: AlignableTracker.h:27
align::TIBHalfBarrel
Definition: StructureType.h:43
AlignableTrackerBuilder
Definition: AlignableTrackerBuilder.h:17
align::TIDRing
Definition: StructureType.h:49
align::TPBLadder
Definition: StructureType.h:24
AlignableTracker::pixelHalfBarrelLadders
Alignables & pixelHalfBarrelLadders()
Return pixel half barrel ladders (implemented as AlignableRods)
Definition: AlignableTracker.h:74
AlignableTracker::pixelHalfBarrelLayers
Alignables & pixelHalfBarrelLayers()
Return pixel half barrel layers.
Definition: AlignableTracker.h:89
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
AlignableMap::find
align::Alignables & find(const std::string &name="")
Definition: AlignableMap.cc:10
align::TPEHalfCylinder
Definition: StructureType.h:34
AlignableTracker::endcapLayers
Alignables & endcapLayers()
Return endcap layers.
Definition: AlignableTracker.h:91
AlignableTracker::pixelEndcapHalfCylinders
Alignables & pixelEndcapHalfCylinders()
Return pixel endcap half cylinders.
Definition: AlignableTracker.h:46
AlignableComposite.h
AlignableTracker::barrelGeomDets
Alignables barrelGeomDets()
Return inner and outer barrel GeomDets together.
Definition: AlignableTracker.h:51
AlignableTracker::endcapPetals
Alignables & endcapPetals()
Return encap petals.
Definition: AlignableTracker.h:76
AlignableTracker::outerHalfBarrels
Alignables & outerHalfBarrels()
Return TOB half barrels.
Definition: AlignableTracker.h:34
align::TIDModule
Definition: StructureType.h:47
align::TIDEndcap
Definition: StructureType.h:51
AlignableTracker::merge
Alignables merge(const Alignables &list1, const Alignables &list2) const
Definition: AlignableTracker.cc:33
align::TECPetal
Definition: StructureType.h:63
AlignableTracker::TIBTIDGeomDets
Alignables TIBTIDGeomDets()
Return inner barrel and TID GeomDets together.
Definition: AlignableTracker.h:53
AlignableTracker::~AlignableTracker
~AlignableTracker() override
Definition: AlignableTracker.h:23
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
AlignableTracker::tTopo_
const TrackerTopology * tTopo_
Definition: AlignableTracker.h:115
AlignableObjectId.h
align::TIDDisk
Definition: StructureType.h:50
AlignableTracker::alignments
Alignments * alignments() const override
Return alignments, sorted by DetId.
Definition: AlignableTracker.cc:42
align::TPEModule
Definition: StructureType.h:30
AlignableMap.h
AlignableTracker::pixelEndcapPetals
Alignables & pixelEndcapPetals()
Return pixel endcap petals.
Definition: AlignableTracker.h:80
AlignableTracker::TIDGeomDets
Alignables & TIDGeomDets()
Return TID GeomDets.
Definition: AlignableTracker.h:63
AlignableTracker::update
void update(const TrackerGeometry *, const TrackerTopology *)
Definition: AlignableTracker.cc:27
align::TECDisk
Definition: StructureType.h:65
Alignments
Definition: Alignments.h:10
AlignableTracker::barrelLayers
Alignables barrelLayers()
Return inner and outer barrel layers.
Definition: AlignableTracker.h:83
AlignableTracker::TIDs
Alignables & TIDs()
Return TIDs.
Definition: AlignableTracker.h:44
align::TECModule
Definition: StructureType.h:61
AlignableTracker::pixelEndcapGeomDets
Alignables & pixelEndcapGeomDets()
Return pixel endcap GeomDets.
Definition: AlignableTracker.h:65
align::TOBRod
Definition: StructureType.h:55
TrackerGeometry
Definition: TrackerGeometry.h:14
align::TPBModule
Definition: StructureType.h:23
align::TPEPanel
Definition: StructureType.h:31