#include <AlignableTracker.h>
Public Member Functions | |
AlignableTracker (const TrackerGeometry *, const TrackerTopology *) | |
AlignmentErrorsExtended * | alignmentErrors () const override |
Return alignment errors, sorted by DetId. More... | |
Alignments * | alignments () const override |
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... | |
const AlignableObjectId & | objectIdProvider () const |
Return tracker alignable object ID provider derived from the tracker's geometry. 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 & | pixelEndcapHalfCylinders () |
Return pixel endcap half cylinders. 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 align::TrackerNameSpace & | trackerNameSpace () const |
Return tracker name space derived from the tracker's topology. More... | |
const TrackerTopology * | trackerTopology () const |
Return tracker topology used to build AlignableTracker. More... | |
void | update (const TrackerGeometry *, const TrackerTopology *) |
~AlignableTracker () override | |
Public Member Functions inherited from AlignableComposite | |
void | addAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown) override |
void | addAlignmentPositionErrorFromLocalRotation (const RotationType &rotation, bool propagateDown) override |
void | addAlignmentPositionErrorFromRotation (const RotationType &rotation, bool propagateDown) override |
void | addComponent (Alignable *component) final |
void | addSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown) override |
AlignableComposite (align::ID id, StructureType aType, const RotationType &rot=RotationType()) | |
StructureType | alignableObjectId () const override |
Return the alignable type identifier. More... | |
const Alignables & | components () const override |
Return vector of direct components. More... | |
void | dump () const override |
Recursive printout of alignable structure. More... | |
void | move (const GlobalVector &displacement) override |
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... | |
void | recursiveComponents (Alignables &result) const override |
Provide all components, subcomponents etc. (cf. description in base class) More... | |
void | rotateInGlobalFrame (const RotationType &rotation) override |
Rotation interpreted in global reference frame. More... | |
void | setAlignmentPositionError (const AlignmentPositionError &ape, bool propagateDown) override |
void | setSurfaceDeformation (const SurfaceDeformation *deformation, bool propagateDown) override |
Set the surface deformation parameters - if (!propagateDown) do not affect daughters. More... | |
int | surfaceDeformationIdPairs (std::vector< std::pair< int, SurfaceDeformation * > > &) const override |
Return surface deformations. More... | |
void | update (align::ID, StructureType aType, const RotationType &rot=RotationType()) |
template<class T > | |
void | update (T)=delete |
~AlignableComposite () override | |
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... | |
virtual void | cacheTransformation (const align::RunNumber &) |
virtual CompConstraintType | compConstraintType () const |
Return the alignable type of contraints wrt. its 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 | recenterSurface () |
Recenter surface object without moving possible components. More... | |
virtual void | restoreCachedTransformation () |
restore the previously cached transformation, also for possible components More... | |
virtual void | restoreCachedTransformation (const align::RunNumber &) |
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... | |
void | update (align::ID, const AlignableSurface &) |
virtual | ~Alignable () |
Destructor. More... | |
Private Member Functions | |
Alignables | merge (const Alignables &list1, const Alignables &list2) const |
Private Attributes | |
AlignableMap | alignableMap_ |
AlignableObjectId | alignableObjectId_ |
align::TrackerNameSpace | trackerNameSpace_ |
const TrackerTopology * | tTopo_ |
Friends | |
class | AlignableTrackerBuilder |
grant access for the tracker-alignables builder More... | |
Definition at line 17 of file AlignableTracker.h.
AlignableTracker::AlignableTracker | ( | const TrackerGeometry * | trackerGeometry, |
const TrackerTopology * | trackerTopology | ||
) |
Definition at line 14 of file AlignableTracker.cc.
References alignableObjectId_, AlignableTrackerBuilder::buildAlignables(), AlignableTrackerBuilder::objectIdProvider(), AlignableTrackerBuilder::trackerNameSpace(), and trackerNameSpace_.
|
inlineoverride |
Definition at line 23 of file AlignableTracker.h.
|
overridevirtual |
Return alignment errors, sorted by DetId.
Reimplemented from AlignableComposite.
Definition at line 59 of file AlignableTracker.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, AlignableComposite::components(), filterCSVwithJSON::copy, mps_fire::i, and AlignmentErrorsExtended::m_alignError.
Referenced by TrackerGeometryCompare::analyze(), TrackerSystematicMisalignments::analyze(), LaserAlignment::endRunProduce(), TrackerAlignment::saveToDB(), and ApeSettingAlgorithm::terminate().
|
overridevirtual |
Return alignments, sorted by DetId.
Reimplemented from AlignableComposite.
Definition at line 42 of file AlignableTracker.cc.
References AlCaHLTBitMon_QueryRunRegistry::comp, AlignableComposite::components(), filterCSVwithJSON::copy, mps_fire::i, and Alignments::m_align.
Referenced by TrackerGeometryCompare::analyze(), TrackerSystematicMisalignments::analyze(), LaserAlignment::endRunProduce(), and TrackerAlignment::saveToDB().
|
inline |
Return inner and outer barrel GeomDets together.
Definition at line 51 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 83 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 68 of file AlignableTracker.h.
References innerBarrelRods(), merge(), and outerBarrelRods().
Referenced by AlignmentParameterSelector::addAllRods(), and AlignmentParameterSelector::addSelection().
|
inline |
Return endcap GeomDets.
Definition at line 61 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TECModule, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), TrackerAlignment::moveAlignableEndCaps(), and TrackerGeometryCompare::surveyToTracker().
|
inline |
Return endcap layers.
Definition at line 91 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TECDisk, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllLayers(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Return encap petals.
Definition at line 76 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TECPetal, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllRods(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Return TECs.
Definition at line 40 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TECEndcap, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and LASGeometryUpdater::TrackerUpdate().
|
inline |
Return inner barrel GeomDets.
Definition at line 55 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TIBModule, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), barrelGeomDets(), TrackerAlignment::moveAlignableInnerHalfBarrels(), TrackerGeometryCompare::surveyToTracker(), and TIBTIDGeomDets().
|
inline |
Return inner barrel layers.
Definition at line 85 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TIBLayer, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and barrelLayers().
|
inline |
Return inner barrel rods.
Definition at line 70 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TIBString, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), and barrelRods().
|
inline |
Return TIB half barrels.
Definition at line 36 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TIBHalfBarrel, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and LASGeometryUpdater::TrackerUpdate().
|
private |
Definition at line 33 of file AlignableTracker.cc.
References python.cmstools::all().
Referenced by barrelGeomDets(), barrelLayers(), barrelRods(), and TIBTIDGeomDets().
|
inline |
Return tracker alignable object ID provider derived from the tracker's geometry.
Definition at line 110 of file AlignableTracker.h.
References alignableObjectId_.
Referenced by TrackerGeometryCompare::analyze(), PedeReader::checkAliParams(), TrackerGeometryCompare::setCommonTrackerSystem(), and TrackerScenarioBuilder::stripOffModule().
|
inline |
Return outer barrel GeomDets.
Definition at line 57 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TOBModule, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), barrelGeomDets(), TrackerAlignment::moveAlignableOuterHalfBarrels(), and TrackerGeometryCompare::surveyToTracker().
|
inline |
Return outer barrel layers.
Definition at line 87 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TOBLayer, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), and barrelLayers().
|
inline |
Return outer barrel rods.
Definition at line 72 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TOBRod, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and barrelRods().
|
inline |
Return TOB half barrels.
Definition at line 34 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TOBHalfBarrel, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and LASGeometryUpdater::TrackerUpdate().
|
inline |
Return pixel endcap GeomDets.
Definition at line 65 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TPEModule, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), TrackerAlignment::moveAlignablePixelEndCaps(), and TrackerGeometryCompare::surveyToTracker().
|
inline |
Return pixel endcap half cylinders.
Definition at line 46 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TPEHalfCylinder, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection().
|
inline |
Return pixel endcap layers.
Definition at line 95 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TPEHalfDisk, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllLayers(), and AlignmentParameterSelector::addSelection().
|
inline |
Return pixel endcap petals.
Definition at line 80 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TPEPanel, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllRods(), and AlignmentParameterSelector::addSelection().
|
inline |
Return TPEs.
Definition at line 42 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TPEEndcap, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection().
|
inline |
Return pixel barrel GeomDets.
Definition at line 59 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TPBModule, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), TrackerAlignment::moveAlignablePixelHalfBarrels(), and TrackerGeometryCompare::surveyToTracker().
|
inline |
Return pixel half barrel ladders (implemented as AlignableRods)
Definition at line 74 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TPBLadder, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllRods(), and AlignmentParameterSelector::addSelection().
|
inline |
Return pixel half barrel layers.
Definition at line 89 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TPBLayer, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllLayers(), and AlignmentParameterSelector::addSelection().
|
inline |
Return Pixel half barrels.
Definition at line 38 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TPBHalfBarrel, and AlignableObjectId::typeToName().
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 27 of file AlignableTracker.h.
References alignableMap_, and AlignableMap::find().
Referenced by AlignmentParameterSelector::addSelection(), TrackerScenarioBuilder::applyScenario(), endcapGeomDets(), endcapLayers(), endcapPetals(), endCaps(), innerBarrelGeomDets(), innerBarrelLayers(), innerBarrelRods(), innerHalfBarrels(), outerBarrelGeomDets(), outerBarrelLayers(), outerBarrelRods(), outerHalfBarrels(), pixelEndcapGeomDets(), pixelEndcapHalfCylinders(), pixelEndcapLayers(), pixelEndcapPetals(), pixelEndCaps(), pixelHalfBarrelGeomDets(), pixelHalfBarrelLadders(), pixelHalfBarrelLayers(), pixelHalfBarrels(), TIDGeomDets(), TIDLayers(), TIDRings(), and TIDs().
|
inline |
Return inner barrel and TID GeomDets together.
Definition at line 53 of file AlignableTracker.h.
References innerBarrelGeomDets(), merge(), and TIDGeomDets().
Referenced by TrackerAlignment::moveAlignableTIBTIDs().
|
inline |
Return TID GeomDets.
Definition at line 63 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TIDModule, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), TrackerAlignment::moveAlignableTIDs(), TrackerGeometryCompare::surveyToTracker(), and TIBTIDGeomDets().
|
inline |
Return TID layers.
Definition at line 93 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TIDDisk, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllLayers(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Return TID rings.
Definition at line 78 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TIDRing, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addAllRods(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Return TIDs.
Definition at line 44 of file AlignableTracker.h.
References alignableObjectId_, subStructures(), align::TIDEndcap, and AlignableObjectId::typeToName().
Referenced by AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().
|
inline |
Return tracker name space derived from the tracker's topology.
Definition at line 107 of file AlignableTracker.h.
References trackerNameSpace_.
|
inline |
Return tracker topology used to build AlignableTracker.
Definition at line 104 of file AlignableTracker.h.
References tTopo_.
Referenced by AlignmentParameterSelector::layerDeselected(), and AlignmentParameterSelector::outsideDetIdRanges().
void AlignableTracker::update | ( | const TrackerGeometry * | trackerGeometry, |
const TrackerTopology * | trackerTopology | ||
) |
Updater using TrackerGeometry and TrackerTopology. The given geometry and topology have to match the current ones.
Definition at line 27 of file AlignableTracker.cc.
References AlignableTrackerBuilder::buildAlignables().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
friend |
grant access for the tracker-alignables builder
Definition at line 19 of file AlignableTracker.h.
|
private |
Definition at line 118 of file AlignableTracker.h.
Referenced by AlignableTrackerBuilder::buildAlignables(), and subStructures().
|
private |
Definition at line 117 of file AlignableTracker.h.
Referenced by AlignableTracker(), endcapGeomDets(), endcapLayers(), endcapPetals(), endCaps(), innerBarrelGeomDets(), innerBarrelLayers(), innerBarrelRods(), innerHalfBarrels(), objectIdProvider(), outerBarrelGeomDets(), outerBarrelLayers(), outerBarrelRods(), outerHalfBarrels(), pixelEndcapGeomDets(), pixelEndcapHalfCylinders(), pixelEndcapLayers(), pixelEndcapPetals(), pixelEndCaps(), pixelHalfBarrelGeomDets(), pixelHalfBarrelLadders(), pixelHalfBarrelLayers(), pixelHalfBarrels(), TIDGeomDets(), TIDLayers(), TIDRings(), and TIDs().
|
private |
Definition at line 116 of file AlignableTracker.h.
Referenced by AlignableTracker(), and trackerNameSpace().
|
private |
Definition at line 115 of file AlignableTracker.h.
Referenced by trackerTopology().