#include <AlignableTrackerBuilder.h>
Public Member Functions | |
AlignableTrackerBuilder (const TrackerGeometry *, const TrackerTopology *) | |
void | buildAlignables (AlignableTracker *, bool update=false) |
const AlignableObjectId & | objectIdProvider () const |
Return tracker alignable object ID provider derived from the tracker's geometry. More... | |
const align::TrackerNameSpace & | trackerNameSpace () const |
Return tracker name space derived from the tracker's topology. More... | |
virtual | ~AlignableTrackerBuilder ()=default |
Private Types | |
using | Alignables = align::Alignables |
Private Member Functions | |
void | buildAlignableComposites (bool update=false) |
void | buildAlignableDetUnits (bool update=false) |
Builds Alignables on module-level for each part of the tracker. More... | |
void | buildPixelDetector (AlignableTracker *) |
Builds the PixelDetector by hand. More... | |
void | buildPixelDetectorAlignable (const GeomDet *, int subdetId, Alignables &aliDets, Alignables &aliDetUnits, bool update=false) |
Converts GeomDetUnits of PXB and PXE to AlignableDetUnits. More... | |
void | buildStripDetector (AlignableTracker *) |
Builds the StripDetector by hand. More... | |
void | buildStripDetectorAlignable (const GeomDet *, int subdetId, Alignables &aliDets, Alignables &aliDetUnits, bool update=false) |
void | convertGeomDetsToAlignables (const TrackingGeometry::DetContainer &, const std::string &moduleName, bool update=false) |
Private Attributes | |
AlignableMap * | alignableMap_ |
const AlignableObjectId | alignableObjectId_ |
int | numDetUnits = 0 |
TrackerAlignmentLevelBuilder | trackerAlignmentLevelBuilder_ |
const TrackerGeometry * | trackerGeometry_ |
const TrackerTopology * | trackerTopology_ |
Definition at line 17 of file AlignableTrackerBuilder.h.
|
private |
Definition at line 18 of file AlignableTrackerBuilder.h.
AlignableTrackerBuilder::AlignableTrackerBuilder | ( | const TrackerGeometry * | trackerGeometry, |
const TrackerTopology * | trackerTopology | ||
) |
Definition at line 24 of file AlignableTrackerBuilder.cc.
References alignableObjectId_, Exception, AlignableObjectId::geometry(), AlignableObjectId::PhaseI, AlignableObjectId::PhaseII, AlignableObjectId::RunI, and contentValuesCheck::ss.
|
virtualdefault |
|
private |
Builds all composite Alignables for the tracker. The hierarchy and numbers of components are determined in TrackerAlignmentLevelBuilder.
Definition at line 240 of file AlignableTrackerBuilder.cc.
References alignableMap_, TrackerAlignmentLevelBuilder::build(), testEve_cfg::level, eostools::move(), trackerAlignmentLevelBuilder_, trackerGeometry_, TrackerAlignmentLevelBuilder::trackerNameSpace(), and trackerTopology_.
Referenced by buildAlignables().
|
private |
Builds Alignables on module-level for each part of the tracker.
Definition at line 80 of file AlignableTrackerBuilder.cc.
References alignableObjectId_, convertGeomDetsToAlignables(), TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), TrackerGeometry::detsTEC(), TrackerGeometry::detsTIB(), TrackerGeometry::detsTID(), TrackerGeometry::detsTOB(), AlignableObjectId::idToString(), align::TECModule, align::TIBModule, align::TIDModule, align::TOBModule, align::TPBModule, align::TPEModule, trackerGeometry_, and update.
Referenced by buildAlignables().
void AlignableTrackerBuilder::buildAlignables | ( | AlignableTracker * | trackerAlignables, |
bool | update = false |
||
) |
Builds all Alignables (units and composites) of the tracker, based on the given TrackerGeometry.
Definition at line 52 of file AlignableTrackerBuilder.cc.
References alignableMap_, AlignableTracker::alignableMap_, buildAlignableComposites(), buildAlignableDetUnits(), buildPixelDetector(), buildStripDetector(), AlignableComposite::components(), AlignableMap::get(), and Alignable::theId.
Referenced by AlignableTracker::AlignableTracker(), and AlignableTracker::update().
|
private |
Builds the PixelDetector by hand.
Definition at line 267 of file AlignableTrackerBuilder.cc.
References AlignableComposite::addComponent(), alignableMap_, alignableObjectId_, AlignableMap::find(), AlignableMap::get(), AlignableObjectId::idToString(), align::Pixel, AlCaHLTBitMon_QueryRunRegistry::string, align::TPBBarrel, and align::TPEEndcap.
Referenced by buildAlignables().
|
private |
Converts GeomDetUnits of PXB and PXE to AlignableDetUnits.
Definition at line 147 of file AlignableTrackerBuilder.cc.
References align::AlignableDetUnit, Exception, GeomDet::geographicalId(), mps_fire::i, GeomDet::isLeaf(), numDetUnits, DetId::rawId(), and AlignableDetUnit::update().
Referenced by buildStripDetectorAlignable(), and convertGeomDetsToAlignables().
|
private |
Builds the StripDetector by hand.
Definition at line 290 of file AlignableTrackerBuilder.cc.
References AlignableComposite::addComponent(), alignableMap_, alignableObjectId_, AlignableMap::find(), AlignableMap::get(), AlignableObjectId::idToString(), AlCaHLTBitMon_QueryRunRegistry::string, align::Strip, align::TECEndcap, align::TIBBarrel, align::TIDEndcap, and align::TOBBarrel.
Referenced by buildAlignables().
|
private |
Converts GeomDets of TIB, TID, TOB and TEC either to AlignableDetUnits or AlignableSiStripDet, depending on the module-type (2D or 1D).
Definition at line 181 of file AlignableTrackerBuilder.cc.
References buildPixelDetectorAlignable(), GeomDet::components(), Exception, GeomDet::geographicalId(), mps_fire::i, numDetUnits, DetId::rawId(), and AlignableDet::update().
Referenced by convertGeomDetsToAlignables().
|
private |
Decides whether a GeomDet is from Pixel- or Strip-Detector and calls the according method to build the Alignable.
Definition at line 101 of file AlignableTrackerBuilder.cc.
References TrackerAlignmentLevelBuilder::addDetUnitInfo(), alignableMap_, buildPixelDetectorAlignable(), buildStripDetectorAlignable(), Exception, AlignableMap::get(), numDetUnits, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, and trackerAlignmentLevelBuilder_.
Referenced by buildAlignableDetUnits().
|
inline |
Return tracker alignable object ID provider derived from the tracker's geometry.
Definition at line 33 of file AlignableTrackerBuilder.h.
References alignableObjectId_.
Referenced by AlignableTracker::AlignableTracker().
|
inline |
Return tracker name space derived from the tracker's topology.
Definition at line 30 of file AlignableTrackerBuilder.h.
References trackerAlignmentLevelBuilder_, and TrackerAlignmentLevelBuilder::trackerNameSpace().
Referenced by AlignableTracker::AlignableTracker().
|
private |
Definition at line 67 of file AlignableTrackerBuilder.h.
Referenced by buildAlignableComposites(), buildAlignables(), buildPixelDetector(), buildStripDetector(), and convertGeomDetsToAlignables().
|
private |
Definition at line 65 of file AlignableTrackerBuilder.h.
Referenced by AlignableTrackerBuilder(), buildAlignableDetUnits(), buildPixelDetector(), buildStripDetector(), and objectIdProvider().
|
private |
Definition at line 71 of file AlignableTrackerBuilder.h.
Referenced by buildPixelDetectorAlignable(), buildStripDetectorAlignable(), and convertGeomDetsToAlignables().
|
private |
Definition at line 69 of file AlignableTrackerBuilder.h.
Referenced by buildAlignableComposites(), convertGeomDetsToAlignables(), and trackerNameSpace().
|
private |
Definition at line 63 of file AlignableTrackerBuilder.h.
Referenced by buildAlignableComposites(), and buildAlignableDetUnits().
|
private |
Definition at line 64 of file AlignableTrackerBuilder.h.
Referenced by buildAlignableComposites().