#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 | buildOuterTrackerDetector (AlignableTracker *) |
Builds the Phase-2 Outer Tracker Detector by hand. More... | |
void | buildOuterTrackerDetectorAlignable (const GeomDet *, int subdetId, Alignables &aliDets, Alignables &aliDetUnits, bool update=false) |
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 26 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 300 of file AlignableTrackerBuilder.cc.
References alignableMap_, TrackerAlignmentLevelBuilder::build(), personalPlayback::level, eostools::move(), trackerAlignmentLevelBuilder_, trackerGeometry_, TrackerAlignmentLevelBuilder::trackerNameSpace(), trackerTopology_, and update.
Referenced by buildAlignables().
|
private |
Builds Alignables on module-level for each part of the tracker.
Definition at line 89 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 54 of file AlignableTrackerBuilder.cc.
References alignableMap_, AlignableTracker::alignableMap_, alignableObjectId_, buildAlignableComposites(), buildAlignableDetUnits(), buildOuterTrackerDetector(), buildPixelDetector(), buildStripDetector(), AlignableComposite::components(), AlignableObjectId::geometry(), AlignableMap::get(), AlignableObjectId::PhaseII, Alignable::theId, and update.
Referenced by AlignableTracker::AlignableTracker(), and AlignableTracker::update().
|
private |
Builds the Phase-2 Outer Tracker Detector by hand.
Definition at line 381 of file AlignableTrackerBuilder.cc.
References AlignableComposite::addComponent(), alignableMap_, alignableObjectId_, AlignableMap::find(), AlignableMap::get(), AlignableObjectId::idToString(), AlCaHLTBitMon_QueryRunRegistry::string, align::Strip, align::TIDEndcap, and align::TOBBarrel.
Referenced by buildAlignables().
|
private |
Definition at line 254 of file AlignableTrackerBuilder.cc.
References GeomDet::components(), Exception, GeomDet::geographicalId(), mps_fire::i, numDetUnits, DetId::rawId(), update, and AlignableDet::update().
Referenced by convertGeomDetsToAlignables().
|
private |
Builds the PixelDetector by hand.
Definition at line 327 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 161 of file AlignableTrackerBuilder.cc.
References align::AlignableDetUnit, Exception, GeomDet::geographicalId(), mps_fire::i, GeomDet::isLeaf(), numDetUnits, DetId::rawId(), update, and AlignableDetUnit::update().
Referenced by buildStripDetectorAlignable(), and convertGeomDetsToAlignables().
|
private |
Builds the StripDetector by hand.
Definition at line 350 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 195 of file AlignableTrackerBuilder.cc.
References buildPixelDetectorAlignable(), GeomDet::components(), hcalRecHitTable_cff::detId, Exception, GeomDet::geographicalId(), mps_fire::i, numDetUnits, DetId::rawId(), update, 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 110 of file AlignableTrackerBuilder.cc.
References TrackerAlignmentLevelBuilder::addDetUnitInfo(), alignableMap_, alignableObjectId_, buildOuterTrackerDetectorAlignable(), buildPixelDetectorAlignable(), buildStripDetectorAlignable(), Exception, AlignableObjectId::geometry(), AlignableMap::get(), EcalCalibMonitorClient_cfi::moduleName, numDetUnits, AlignableObjectId::PhaseII, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, SiStripDetId::TOB, trackerAlignmentLevelBuilder_, and update.
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 72 of file AlignableTrackerBuilder.h.
Referenced by buildAlignableComposites(), buildAlignables(), buildOuterTrackerDetector(), buildPixelDetector(), buildStripDetector(), and convertGeomDetsToAlignables().
|
private |
Definition at line 70 of file AlignableTrackerBuilder.h.
Referenced by AlignableTrackerBuilder(), buildAlignableDetUnits(), buildAlignables(), buildOuterTrackerDetector(), buildPixelDetector(), buildStripDetector(), convertGeomDetsToAlignables(), and objectIdProvider().
|
private |
Definition at line 76 of file AlignableTrackerBuilder.h.
Referenced by buildOuterTrackerDetectorAlignable(), buildPixelDetectorAlignable(), buildStripDetectorAlignable(), and convertGeomDetsToAlignables().
|
private |
Definition at line 74 of file AlignableTrackerBuilder.h.
Referenced by buildAlignableComposites(), convertGeomDetsToAlignables(), and trackerNameSpace().
|
private |
Definition at line 68 of file AlignableTrackerBuilder.h.
Referenced by buildAlignableComposites(), and buildAlignableDetUnits().
|
private |
Definition at line 69 of file AlignableTrackerBuilder.h.
Referenced by buildAlignableComposites().