#include <AlignableTracker.h>
Public Member Functions | |
AlignableTracker (const TrackerGeometry *tracker, const TrackerTopology *tTopo) | |
Constructor (builds the full hierarchy) More... | |
AlignmentErrorsExtended * | alignmentErrors () const |
Return alignment errors, sorted by DetId. More... | |
Alignments * | alignments () const |
Return alignments, sorted by DetId. More... | |
Alignables | barrelGeomDets () |
Return inner and outer barrel GeomDets together. More... | |
Alignables | barrelLayers () |
Return inner and outer barrel layers. More... | |
Alignables | barrelRods () |
Return inner and outer barrel rods. More... | |
Alignables & | endcapGeomDets () |
Return endcap GeomDets. More... | |
Alignables & | endcapLayers () |
Return endcap layers. More... | |
Alignables & | endcapPetals () |
Return encap petals. More... | |
Alignables & | endCaps () |
Return TECs. More... | |
Alignables & | innerBarrelGeomDets () |
Return inner barrel GeomDets. More... | |
Alignables & | innerBarrelLayers () |
Return inner barrel layers. More... | |
Alignables & | innerBarrelRods () |
Return inner barrel rods. More... | |
Alignables & | innerHalfBarrels () |
Return TIB half barrels. More... | |
Alignables & | outerBarrelGeomDets () |
Return outer barrel GeomDets. More... | |
Alignables & | outerBarrelLayers () |
Return outer barrel layers. More... | |
Alignables & | outerBarrelRods () |
Return outer barrel rods. More... | |
Alignables & | outerHalfBarrels () |
Return TOB half barrels. More... | |
Alignables & | pixelEndcapGeomDets () |
Return pixel endcap GeomDets. More... | |
Alignables & | pixelEndcapLayers () |
Return pixel endcap layers. More... | |
Alignables & | pixelEndcapPetals () |
Return pixel endcap petals. More... | |
Alignables & | pixelEndCaps () |
Return TPEs. More... | |
Alignables & | pixelHalfBarrelGeomDets () |
Return pixel barrel GeomDets. More... | |
Alignables & | pixelHalfBarrelLadders () |
Return pixel half barrel ladders (implemented as AlignableRods) More... | |
Alignables & | pixelHalfBarrelLayers () |
Return pixel half barrel layers. More... | |
Alignables & | pixelHalfBarrels () |
Return Pixel half barrels. More... | |
Alignables & | subStructures (const std::string &subStructName) |
Alignables | TIBTIDGeomDets () |
Return inner barrel and TID GeomDets together. More... | |
Alignables & | TIDGeomDets () |
Return TID GeomDets. More... | |
Alignables & | TIDLayers () |
Return TID layers. More... | |
Alignables & | TIDRings () |
Return TID rings. More... | |
Alignables & | TIDs () |
Return TIDs. More... | |
const TrackerTopology * | trackerTopology () const |
Returns tracker topology. More... | |
Public Member Functions inherited from AlignableComposite | |
virtual void | addAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown) |
virtual void | addAlignmentPositionErrorFromLocalRotation (const RotationType &rotation, bool propagateDown) |
virtual void | addAlignmentPositionErrorFromRotation (const RotationType &rotation, bool propagateDown) |
virtual void | addComponent (Alignable *component) |
virtual void | addSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown) |
AlignableComposite (align::ID id, StructureType aType, const RotationType &rot=RotationType()) | |
virtual StructureType | alignableObjectId () const |
Return the alignable type identifier. More... | |
virtual Alignables | components () const |
Return vector of direct components. More... | |
virtual void | dump () const |
Recursive printout of alignable structure. More... | |
virtual void | move (const GlobalVector &displacement) |
Move with respect to the global reference frame. More... | |
virtual void | moveComponentLocal (const int i, const LocalVector &localDisplacement) |
Move a single component with respect to the local reference frame. More... | |
virtual void | moveComponentsLocal (const LocalVector &localDisplacement) |
Move with respect to the local reference frame. More... | |
virtual void | recursiveComponents (Alignables &result) const |
Provide all components, subcomponents etc. (cf. description in base class) More... | |
virtual void | rotateInGlobalFrame (const RotationType &rotation) |
Rotation interpreted in global reference frame. More... | |
virtual void | setAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown) |
virtual void | setSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown) |
Set the surface deformation parameters - if (!propagateDown) do not affect daughters. More... | |
virtual int | surfaceDeformationIdPairs (std::vector< std::pair< int, SurfaceDeformation * > > &) const |
Return surface deformations. More... | |
virtual | ~AlignableComposite () |
deleting its components More... | |
Public Member Functions inherited from Alignable | |
Alignable (align::ID, const AlignableSurface &) | |
Alignable (align::ID, const RotationType &) | |
AlignmentParameters * | alignmentParameters () const |
Get the AlignmentParameters. More... | |
virtual void | cacheTransformation () |
cache the current position, rotation and other parameters (e.g. surface deformations), also for possible components More... | |
const Alignables & | deepComponents () const |
const GlobalVector & | displacement () const |
Return change of the global position since the creation of the object. More... | |
bool | firstCompsWithParams (Alignables ¶mComps) const |
const DetId & | geomDetId () const |
const PositionType & | globalPosition () const |
Return the global position of the object. More... | |
const RotationType & | globalRotation () const |
Return the global orientation of the object. More... | |
align::ID | id () const |
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit). More... | |
bool | lastCompsWithParams (Alignables ¶mComps) const |
Alignable * | mother () const |
Return pointer to container alignable (if any) More... | |
virtual void | restoreCachedTransformation () |
restore the previously cached transformation, also for possible components More... | |
virtual void | rotateAroundGlobalAxis (const GlobalVector &axis, Scalar radians) |
Rotation around arbitratry global axis. More... | |
virtual void | rotateAroundGlobalX (Scalar radians) |
Rotation around global x-axis. More... | |
virtual void | rotateAroundGlobalY (Scalar radians) |
Rotation around global y-axis. More... | |
virtual void | rotateAroundGlobalZ (Scalar radians) |
Rotation around global z-axis. More... | |
virtual void | rotateAroundLocalAxis (const LocalVector &axis, Scalar radians) |
Rotation around arbitratry local axis. More... | |
virtual void | rotateAroundLocalX (Scalar radians) |
Rotation around local x-axis. More... | |
virtual void | rotateAroundLocalY (Scalar radians) |
Rotation around local y-axis. More... | |
virtual void | rotateAroundLocalZ (Scalar radians) |
Rotation around local z-axis. More... | |
virtual void | rotateInLocalFrame (const RotationType &rotation) |
Rotation intepreted in the local reference frame. More... | |
const RotationType & | rotation () const |
Return change of orientation since the creation of the object. More... | |
void | setAlignmentParameters (AlignmentParameters *dap) |
Set the AlignmentParameters. More... | |
void | setMother (Alignable *mother) |
Assign mother to alignable. More... | |
void | setSurvey (const SurveyDet *) |
Set survey info. More... | |
int | size () const |
Return number of direct components. More... | |
const AlignableSurface & | surface () const |
Return the Surface (global position and orientation) of the object. More... | |
AlignmentSurfaceDeformations * | surfaceDeformations () const |
Return surface deformations, sorted by DetId. More... | |
const SurveyDet * | survey () const |
Return survey info. More... | |
virtual | ~Alignable () |
Destructor. More... | |
Private Member Functions | |
void | buildBarrel (const std::string &subDet) |
Build a barrel for a given sub-detector (TPB, TIB, TOB). More... | |
void | buildTEC () |
void | buildTIB () |
void | buildTID () |
void | buildTOB () |
void | buildTPB () |
void | buildTPE () |
void | buildTRK () |
void | detsToAlignables (const TrackingGeometry::DetContainer &dets, const std::string &moduleName) |
Create list of lower-level modules. More... | |
Alignables | merge (const Alignables &list1, const Alignables &list2) const |
Private Attributes | |
AlignSetup< Alignables > | alignableLists_ |
TrackerCounters | tkCounters_ |
const TrackerTopology * | tTopo_ |
Definition at line 15 of file AlignableTracker.h.
|
explicit |
Constructor (builds the full hierarchy)
Definition at line 24 of file AlignableTracker.cc.
References buildTEC(), buildTIB(), buildTID(), buildTOB(), buildTPB(), buildTPE(), buildTRK(), AlignableComposite::components(), TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), TrackerGeometry::detsTEC(), TrackerGeometry::detsTIB(), TrackerGeometry::detsTID(), detsToAlignables(), TrackerGeometry::detsTOB(), and Alignable::theId.
|
virtual |
Return alignment errors, sorted by DetId.
Reimplemented from AlignableComposite.
Definition at line 303 of file AlignableTracker.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, AlignableComposite::components(), filterCSVwithJSON::copy, i, AlignmentErrorsExtended::m_alignError, and python.multivaluedict::sort().
Referenced by TrackerSystematicMisalignments::analyze(), TrackerGeometryCompare::analyze(), LaserAlignment::endRunProduce(), TrackerAlignment::saveToDB(), AlignmentProducer::startingNewLoop(), ApeSettingAlgorithm::terminate(), and AlignmentProducer::writeForRunRange().
|
virtual |
Return alignments, sorted by DetId.
Reimplemented from AlignableComposite.
Definition at line 280 of file AlignableTracker.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, AlignableComposite::components(), filterCSVwithJSON::copy, i, Alignments::m_align, and python.multivaluedict::sort().
Referenced by TrackerSystematicMisalignments::analyze(), TrackerGeometryCompare::analyze(), LaserAlignment::endRunProduce(), TrackerAlignment::saveToDB(), AlignmentProducer::startingNewLoop(), and AlignmentProducer::writeForRunRange().
|
inline |
Return inner and outer barrel GeomDets together.
Definition at line 43 of file AlignableTracker.h.
References innerBarrelGeomDets(), merge(), and outerBarrelGeomDets().
Referenced by AlignmentParameterSelector::addAllDets(), and AlignmentParameterSelector::addSelection().
|
inline |
Return inner and outer barrel layers.
Definition at line 78 of file AlignableTracker.h.
References innerBarrelLayers(), merge(), and outerBarrelLayers().
Referenced by AlignmentParameterSelector::addAllLayers(), and AlignmentParameterSelector::addSelection().
|
inline |
Return inner and outer barrel rods.
Definition at line 63 of file AlignableTracker.h.
References innerBarrelRods(), merge(), and outerBarrelRods().
Referenced by AlignmentParameterSelector::addAllRods(), and AlignmentParameterSelector::addSelection().
|
private |
Build a barrel for a given sub-detector (TPB, TIB, TOB).
Definition at line 135 of file AlignableTracker.cc.
References AlignableComposite::AlignableComposite(), alignableLists_, Reference_intrackfit_cff::barrel, AlignSetup< Type >::find(), AlignSetup< Type >::get(), AlCaHLTBitMon_QueryRunRegistry::string, and AlignableObjectId::stringToId().
Referenced by buildTIB(), buildTOB(), and buildTPB().
|
private |
Definition at line 215 of file AlignableTracker.cc.
References AlignableBuilder::addLevelInfo(), alignableLists_, AlignableBuilder::buildAll(), align::TECDisk, align::TECEndcap, align::TECModule, align::TECPetal, align::TECRing, align::TECSide, tkCounters_, and tTopo_.
Referenced by AlignableTracker().
|
private |
Definition at line 175 of file AlignableTracker.cc.
References AlignableBuilder::addLevelInfo(), alignableLists_, AlignableBuilder::buildAll(), buildBarrel(), align::TIBHalfBarrel, align::TIBHalfShell, align::TIBLayer, align::TIBModule, align::TIBString, align::TIBSurface, tkCounters_, and tTopo_.
Referenced by AlignableTracker().
|
private |
Definition at line 190 of file AlignableTracker.cc.
References AlignableBuilder::addLevelInfo(), alignableLists_, AlignableBuilder::buildAll(), align::TIDDisk, align::TIDEndcap, align::TIDModule, align::TIDRing, align::TIDSide, tkCounters_, and tTopo_.
Referenced by AlignableTracker().
|
private |
Definition at line 202 of file AlignableTracker.cc.
References AlignableBuilder::addLevelInfo(), alignableLists_, AlignableBuilder::buildAll(), buildBarrel(), tkCounters_, align::TOBHalfBarrel, align::TOBLayer, align::TOBModule, align::TOBRod, and tTopo_.
Referenced by AlignableTracker().
|
private |
Definition at line 149 of file AlignableTracker.cc.
References AlignableBuilder::addLevelInfo(), alignableLists_, AlignableBuilder::buildAll(), buildBarrel(), tkCounters_, align::TPBHalfBarrel, align::TPBLadder, align::TPBLayer, align::TPBModule, and tTopo_.
Referenced by AlignableTracker().
|
private |
Definition at line 162 of file AlignableTracker.cc.
References AlignableBuilder::addLevelInfo(), alignableLists_, AlignableBuilder::buildAll(), tkCounters_, align::TPEBlade, align::TPEEndcap, align::TPEHalfCylinder, align::TPEHalfDisk, align::TPEModule, align::TPEPanel, and tTopo_.
Referenced by AlignableTracker().
|
private |
Definition at line 228 of file AlignableTracker.cc.
References AlignableComposite::addComponent(), AlignableComposite::AlignableComposite(), alignableLists_, AlignSetup< Type >::find(), AlignSetup< Type >::get(), align::Pixel, align::Strip, and patCandidatesForDimuonsSequences_cff::tracker.
Referenced by AlignableTracker().
|
private |
Create list of lower-level modules.
Definition at line 50 of file AlignableTracker.cc.
References align::AlignableDetUnit, alignableLists_, AlignableComposite::components(), Exception, AlignSetup< Type >::get(), SiStripDetId::glued(), i, LogDebug, edm::moduleName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripDetId::TEC, SiStripDetId::TIB, SiStripDetId::TID, and SiStripDetId::TOB.
Referenced by AlignableTracker().
|
inline |
Return endcap GeomDets.
Definition at line 56 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), TrackerAlignment::moveAlignableEndCaps(), and TrackerGeometryCompare::surveyToTracker().
|
inline |
Return endcap layers.
Definition at line 88 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllLayers(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Return encap petals.
Definition at line 71 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllRods(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Return TECs.
Definition at line 36 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and LASGeometryUpdater::TrackerUpdate().
|
inline |
Return inner barrel GeomDets.
Definition at line 50 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), barrelGeomDets(), TrackerAlignment::moveAlignableInnerHalfBarrels(), TrackerGeometryCompare::surveyToTracker(), and TIBTIDGeomDets().
|
inline |
Return inner barrel layers.
Definition at line 82 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and barrelLayers().
|
inline |
Return inner barrel rods.
Definition at line 65 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), and barrelRods().
|
inline |
Return TIB half barrels.
Definition at line 32 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and LASGeometryUpdater::TrackerUpdate().
|
private |
Definition at line 268 of file AlignableTracker.cc.
References cond::ecalcond::all.
Referenced by barrelGeomDets(), barrelLayers(), barrelRods(), and TIBTIDGeomDets().
|
inline |
Return outer barrel GeomDets.
Definition at line 52 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), barrelGeomDets(), TrackerAlignment::moveAlignableOuterHalfBarrels(), and TrackerGeometryCompare::surveyToTracker().
|
inline |
Return outer barrel layers.
Definition at line 84 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), and barrelLayers().
|
inline |
Return outer barrel rods.
Definition at line 67 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and barrelRods().
|
inline |
Return TOB half barrels.
Definition at line 30 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and LASGeometryUpdater::TrackerUpdate().
|
inline |
Return pixel endcap GeomDets.
Definition at line 60 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), TrackerAlignment::moveAlignablePixelEndCaps(), and TrackerGeometryCompare::surveyToTracker().
|
inline |
Return pixel endcap layers.
Definition at line 92 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllLayers(), and AlignmentParameterSelector::addSelection().
|
inline |
Return pixel endcap petals.
Definition at line 75 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllRods(), and AlignmentParameterSelector::addSelection().
|
inline |
Return TPEs.
Definition at line 38 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection().
|
inline |
Return pixel barrel GeomDets.
Definition at line 54 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), TrackerAlignment::moveAlignablePixelHalfBarrels(), and TrackerGeometryCompare::surveyToTracker().
|
inline |
Return pixel half barrel ladders (implemented as AlignableRods)
Definition at line 69 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllRods(), and AlignmentParameterSelector::addSelection().
|
inline |
Return pixel half barrel layers.
Definition at line 86 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllLayers(), and AlignmentParameterSelector::addSelection().
|
inline |
Return Pixel half barrels.
Definition at line 34 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection().
|
inline |
Return alignables of subdet and hierarchy level determined by name as defined in tracker part of Alignment/CommonAlignment/StructureType.h
Definition at line 25 of file AlignableTracker.h.
References alignableLists_, and AlignSetup< Type >::find().
Referenced by AlignmentParameterSelector::addSelection(), TrackerScenarioBuilder::applyScenario(), endcapGeomDets(), endcapLayers(), endcapPetals(), endCaps(), innerBarrelGeomDets(), innerBarrelLayers(), innerBarrelRods(), innerHalfBarrels(), outerBarrelGeomDets(), outerBarrelLayers(), outerBarrelRods(), outerHalfBarrels(), pixelEndcapGeomDets(), pixelEndcapLayers(), pixelEndcapPetals(), pixelEndCaps(), pixelHalfBarrelGeomDets(), pixelHalfBarrelLadders(), pixelHalfBarrelLayers(), pixelHalfBarrels(), TIDGeomDets(), TIDLayers(), TIDRings(), and TIDs().
|
inline |
Return inner barrel and TID GeomDets together.
Definition at line 46 of file AlignableTracker.h.
References innerBarrelGeomDets(), merge(), and TIDGeomDets().
Referenced by TrackerAlignment::moveAlignableTIBTIDs().
|
inline |
Return TID GeomDets.
Definition at line 58 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), TrackerAlignment::moveAlignableTIDs(), TrackerGeometryCompare::surveyToTracker(), and TIBTIDGeomDets().
|
inline |
Return TID layers.
Definition at line 90 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllLayers(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Return TID rings.
Definition at line 73 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addAllRods(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Return TIDs.
Definition at line 40 of file AlignableTracker.h.
References subStructures().
Referenced by AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Returns tracker topology.
Definition at line 101 of file AlignableTracker.h.
References tTopo_.
Referenced by AlignmentParameterSelector::layerDeselected(), and AlignmentParameterSelector::outsideDetIdRanges().
|
private |
Definition at line 121 of file AlignableTracker.h.
Referenced by buildBarrel(), buildTEC(), buildTIB(), buildTID(), buildTOB(), buildTPB(), buildTPE(), buildTRK(), detsToAlignables(), and subStructures().
|
private |
Definition at line 123 of file AlignableTracker.h.
Referenced by buildTEC(), buildTIB(), buildTID(), buildTOB(), buildTPB(), and buildTPE().
|
private |
Definition at line 125 of file AlignableTracker.h.
Referenced by buildTEC(), buildTIB(), buildTID(), buildTOB(), buildTPB(), buildTPE(), and trackerTopology().