#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 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 18 of file AlignableTrackerBuilder.h.
AlignableTrackerBuilder::AlignableTrackerBuilder | ( | const TrackerGeometry * | trackerGeometry, |
const TrackerTopology * | trackerTopology | ||
) |
Definition at line 25 of file AlignableTrackerBuilder.cc.
References buildAlignables(), Exception, AlignableObjectId::PhaseI, AlignableObjectId::PhaseII, and AlignableObjectId::RunI.
|
virtualdefault |
|
private |
Builds all composite Alignables for the tracker. The hierarchy and numbers of components are determined in TrackerAlignmentLevelBuilder.
Definition at line 282 of file AlignableTrackerBuilder.cc.
References AlignableCompositeBuilder::addAlignmentLevel(), buildPixelDetector(), hcalDigis_cfi::level, and eostools::move().
Referenced by buildStripDetectorAlignable(), and objectIdProvider().
|
private |
Builds Alignables on module-level for each part of the tracker.
Definition at line 82 of file AlignableTrackerBuilder.cc.
References convertGeomDetsToAlignables(), align::TECModule, align::TIBModule, align::TIDModule, align::TOBModule, align::TPBModule, align::TPEModule, and update.
Referenced by buildAlignables(), and objectIdProvider().
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 51 of file AlignableTrackerBuilder.cc.
References AlignableTracker::alignableMap_, buildAlignableDetUnits(), AlignableComposite::components(), and Alignable::theId.
Referenced by AlignableTracker::AlignableTracker(), AlignableTrackerBuilder(), and AlignableTracker::update().
|
private |
Builds the PixelDetector by hand.
Definition at line 312 of file AlignableTrackerBuilder.cc.
References AlignableComposite::addComponent(), buildStripDetector(), align::Pixel, AlCaHLTBitMon_QueryRunRegistry::string, align::TPBBarrel, and align::TPEEndcap.
Referenced by buildAlignableComposites(), and objectIdProvider().
|
private |
Converts GeomDetUnits of PXB and PXE to AlignableDetUnits.
Definition at line 173 of file AlignableTrackerBuilder.cc.
References align::AlignableDetUnit, buildStripDetectorAlignable(), Exception, GeomDet::geographicalId(), mps_fire::i, GeomDet::isLeaf(), DetId::rawId(), and AlignableDetUnit::update().
Referenced by convertGeomDetsToAlignables(), and objectIdProvider().
|
private |
Builds the StripDetector by hand.
Definition at line 340 of file AlignableTrackerBuilder.cc.
References AlignableComposite::addComponent(), AlCaHLTBitMon_QueryRunRegistry::string, align::Strip, align::TECEndcap, align::TIBBarrel, align::TIDEndcap, and align::TOBBarrel.
Referenced by buildPixelDetector(), and objectIdProvider().
|
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 214 of file AlignableTrackerBuilder.cc.
References buildAlignableComposites(), GeomDet::components(), Exception, GeomDet::geographicalId(), mps_fire::i, DetId::rawId(), and AlignableDet::update().
Referenced by buildPixelDetectorAlignable(), and objectIdProvider().
|
private |
Decides whether a GeomDet is from Pixel- or Strip-Detector and calls the according method to build the Alignable.
Definition at line 123 of file AlignableTrackerBuilder.cc.
References buildPixelDetectorAlignable(), Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, and SiStripDetId::TOB.
Referenced by buildAlignableDetUnits(), and objectIdProvider().
|
inline |
Return tracker alignable object ID provider derived from the tracker's geometry.
Definition at line 36 of file AlignableTrackerBuilder.h.
References alignableObjectId_, buildAlignableComposites(), buildAlignableDetUnits(), buildPixelDetector(), buildPixelDetectorAlignable(), buildStripDetector(), buildStripDetectorAlignable(), convertGeomDetsToAlignables(), edm::moduleName(), AlCaHLTBitMon_QueryRunRegistry::string, and update.
Referenced by AlignableTracker::AlignableTracker().
|
inline |
Return tracker name space derived from the tracker's topology.
Definition at line 31 of file AlignableTrackerBuilder.h.
References trackerAlignmentLevelBuilder_, and TrackerAlignmentLevelBuilder::trackerNameSpace().
Referenced by AlignableTracker::AlignableTracker().
|
private |
Definition at line 73 of file AlignableTrackerBuilder.h.
|
private |
Definition at line 71 of file AlignableTrackerBuilder.h.
Referenced by objectIdProvider().
|
private |
Definition at line 77 of file AlignableTrackerBuilder.h.
|
private |
Definition at line 75 of file AlignableTrackerBuilder.h.
Referenced by trackerNameSpace().
|
private |
Definition at line 69 of file AlignableTrackerBuilder.h.
|
private |
Definition at line 70 of file AlignableTrackerBuilder.h.