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 
17 
18 
20 
23 
24 public:
25 
27  ~AlignableTracker() override { /* TODO: delete all tracker-alignables? */ };
28 
31  Alignables& subStructures(const std::string &subStructName) {
32  return alignableMap_.find(subStructName);
33  }
34 
37  void update(const TrackerGeometry*, const TrackerTopology*);
38 
42  }
46  }
50  }
54  }
58  }
62  }
66  }
67 
70  this->outerBarrelGeomDets());}
73  this->TIDGeomDets());
74  }
78  }
82  }
86  }
90  }
94  }
98  }
99 
101  Alignables barrelRods() { return this->merge(this->innerBarrelRods(), this->outerBarrelRods());}
105  }
109  }
113  }
117  }
121  }
125  }
126 
128  Alignables barrelLayers() { return this->merge(this->innerBarrelLayers(),
129  this->outerBarrelLayers() );
130  }
134  }
138  }
142  }
146  }
150  }
154  }
155 
156 
157 
159  Alignments* alignments() const override;
160 
162  AlignmentErrorsExtended* alignmentErrors() const override;
163 
165  const TrackerTopology* trackerTopology() const { return tTopo_;}
166 
169 
172 private:
173  Alignables merge( const Alignables& list1, const Alignables& list2 ) const;
174 
179 
180 };
181 
182 #endif //AlignableTracker_H
Alignables & pixelHalfBarrelGeomDets()
Return pixel barrel GeomDets.
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableMap alignableMap_
Alignables merge(const Alignables &list1, const Alignables &list2) const
void update(const TrackerGeometry *, const TrackerTopology *)
Alignables & pixelHalfBarrelLayers()
Return pixel half barrel layers.
Alignables barrelGeomDets()
Return inner and outer barrel GeomDets together.
Alignables TIBTIDGeomDets()
Return inner barrel and TID GeomDets together.
~AlignableTracker() override
const TrackerTopology * tTopo_
const TrackerTopology * trackerTopology() const
Return tracker topology used to build AlignableTracker.
AlignableTracker(const TrackerGeometry *, const TrackerTopology *)
AlignableObjectId alignableObjectId_
Alignables & innerBarrelGeomDets()
Return inner barrel GeomDets.
Alignables & endCaps()
Return TECs.
Alignables & TIDGeomDets()
Return TID GeomDets.
Allows conversion between type and name, and vice-versa.
align::TrackerNameSpace trackerNameSpace_
Alignables & outerBarrelRods()
Return outer barrel rods.
Alignables barrelRods()
Return inner and outer barrel rods.
Alignables & pixelEndcapPetals()
Return pixel endcap petals.
const AlignableObjectId & objectIdProvider() const
Return tracker alignable object ID provider derived from the tracker's geometry.
Alignables barrelLayers()
Return inner and outer barrel layers.
Alignables & find(const std::string &name="")
Definition: AlignableMap.cc:15
Alignables & endcapGeomDets()
Return endcap GeomDets.
Alignables & pixelEndcapGeomDets()
Return pixel endcap GeomDets.
Alignables & TIDs()
Return TIDs.
Alignables & outerBarrelLayers()
Return outer barrel layers.
Alignables & outerBarrelGeomDets()
Return outer barrel GeomDets.
Alignables & TIDLayers()
Return TID layers.
Alignables & TIDRings()
Return TID rings.
Alignables & pixelHalfBarrels()
Return Pixel half barrels.
Alignables & pixelEndCaps()
Return TPEs.
Alignables & subStructures(const std::string &subStructName)
Alignables & innerBarrelLayers()
Return inner barrel layers.
Alignments * alignments() const override
Return alignments, sorted by DetId.
AlignmentErrorsExtended * alignmentErrors() const override
Return alignment errors, sorted by DetId.
Alignables & pixelHalfBarrelLadders()
Return pixel half barrel ladders (implemented as AlignableRods)
const align::TrackerNameSpace & trackerNameSpace() const
Return tracker name space derived from the tracker's topology.
Alignables & endcapPetals()
Return encap petals.
Alignables & innerHalfBarrels()
Return TIB half barrels.
Alignables & endcapLayers()
Return endcap layers.
Alignables & pixelEndcapHalfCylinders()
Return pixel endcap half cylinders.
align::Alignables Alignables
Definition: Alignable.h:37
Alignables & pixelEndcapLayers()
Return pixel endcap layers.
Alignables & outerHalfBarrels()
Return TOB half barrels.
Alignables & innerBarrelRods()
Return inner barrel rods.