CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
AlignableTracker Class Reference

#include <AlignableTracker.h>

Inheritance diagram for AlignableTracker:
AlignableComposite Alignable

Public Member Functions

 AlignableTracker (const TrackerGeometry *, const TrackerTopology *)
 
AlignmentErrorsExtendedalignmentErrors () const override
 Return alignment errors, sorted by DetId. More...
 
Alignmentsalignments () 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...
 
AlignablesendcapGeomDets ()
 Return endcap GeomDets. More...
 
AlignablesendcapLayers ()
 Return endcap layers. More...
 
AlignablesendcapPetals ()
 Return encap petals. More...
 
AlignablesendCaps ()
 Return TECs. More...
 
AlignablesinnerBarrelGeomDets ()
 Return inner barrel GeomDets. More...
 
AlignablesinnerBarrelLayers ()
 Return inner barrel layers. More...
 
AlignablesinnerBarrelRods ()
 Return inner barrel rods. More...
 
AlignablesinnerHalfBarrels ()
 Return TIB half barrels. More...
 
const AlignableObjectIdobjectIdProvider () const
 Return tracker alignable object ID provider derived from the tracker's geometry. More...
 
AlignablesouterBarrelGeomDets ()
 Return outer barrel GeomDets. More...
 
AlignablesouterBarrelLayers ()
 Return outer barrel layers. More...
 
AlignablesouterBarrelRods ()
 Return outer barrel rods. More...
 
AlignablesouterHalfBarrels ()
 Return TOB half barrels. More...
 
AlignablespixelEndcapGeomDets ()
 Return pixel endcap GeomDets. More...
 
AlignablespixelEndcapHalfCylinders ()
 Return pixel endcap half cylinders. More...
 
AlignablespixelEndcapLayers ()
 Return pixel endcap layers. More...
 
AlignablespixelEndcapPetals ()
 Return pixel endcap petals. More...
 
AlignablespixelEndCaps ()
 Return TPEs. More...
 
AlignablespixelHalfBarrelGeomDets ()
 Return pixel barrel GeomDets. More...
 
AlignablespixelHalfBarrelLadders ()
 Return pixel half barrel ladders (implemented as AlignableRods) More...
 
AlignablespixelHalfBarrelLayers ()
 Return pixel half barrel layers. More...
 
AlignablespixelHalfBarrels ()
 Return Pixel half barrels. More...
 
AlignablessubStructures (const std::string &subStructName)
 
Alignables TIBTIDGeomDets ()
 Return inner barrel and TID GeomDets together. More...
 
AlignablesTIDGeomDets ()
 Return TID GeomDets. More...
 
AlignablesTIDLayers ()
 Return TID layers. More...
 
AlignablesTIDRings ()
 Return TID rings. More...
 
AlignablesTIDs ()
 Return TIDs. More...
 
const align::TrackerNameSpacetrackerNameSpace () const
 Return tracker name space derived from the tracker's topology. More...
 
const TrackerTopologytrackerTopology () 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 Alignablescomponents () 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 &)
 
AlignmentParametersalignmentParameters () 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 AlignablesdeepComponents () const
 
const GlobalVectordisplacement () const
 Return change of the global position since the creation of the object. More...
 
bool firstCompsWithParams (Alignables &paramComps) const
 
const DetIdgeomDetId () const
 
const PositionTypeglobalPosition () const
 Return the global position of the object. More...
 
const RotationTypeglobalRotation () 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 &paramComps) const
 
Alignablemother () 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 RotationTyperotation () 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 AlignableSurfacesurface () const
 Return the Surface (global position and orientation) of the object. More...
 
AlignmentSurfaceDeformationssurfaceDeformations () const
 Return surface deformations, sorted by DetId. More...
 
const SurveyDetsurvey () 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 TrackerTopologytTopo_
 

Friends

class AlignableTrackerBuilder
 grant access for the tracker-alignables builder More...
 

Additional Inherited Members

- Public Types inherited from Alignable
typedef align::Alignables Alignables
 
enum  CompConstraintType { CompConstraintType::NONE, CompConstraintType::POSITION, CompConstraintType::POSITION_Z }
 
typedef align::GlobalVector GlobalVector
 
typedef align::LocalVector LocalVector
 
typedef align::PositionType PositionType
 
typedef align::RotationType RotationType
 
typedef align::Scalar Scalar
 
typedef align::StructureType StructureType
 
- Protected Types inherited from Alignable
template<class T >
using Cache = std::map< align::RunNumber, T >
 
- Protected Member Functions inherited from AlignableComposite
 AlignableComposite (const GeomDet *geomDet)
 Constructor from GeomDet, only for use in AlignableDet. More...
 
void setSurface (const AlignableSurface &s)
 
void update (const GeomDet *geomDet)
 
- Protected Member Functions inherited from Alignable
void addDisplacement (const GlobalVector &displacement)
 
void addRotation (const RotationType &rotation)
 
virtual void updateMother (const GlobalVector &shift)
 
- Protected Attributes inherited from AlignableComposite
StructureType theStructureType
 
- Protected Attributes inherited from Alignable
CompConstraintType compConstraintType_ {CompConstraintType::NONE}
 
Cache< GlobalVectordisplacementsCache_
 
Cache< RotationTyperotationsCache_
 
Cache< AlignableSurfacesurfacesCache_
 
GlobalVector theCachedDisplacement
 
RotationType theCachedRotation
 
AlignableSurface theCachedSurface
 
Alignables theDeepComponents
 
DetId theDetId
 
GlobalVector theDisplacement
 
align::ID theId
 
RotationType theRotation
 
AlignableSurface theSurface
 

Detailed Description

Definition at line 17 of file AlignableTracker.h.

Constructor & Destructor Documentation

◆ AlignableTracker()

AlignableTracker::AlignableTracker ( const TrackerGeometry trackerGeometry,
const TrackerTopology trackerTopology 
)

Definition at line 14 of file AlignableTracker.cc.

References alignableObjectId_, AlignableTrackerBuilder::buildAlignables(), AlignableTrackerBuilder::objectIdProvider(), AlignableTrackerBuilder::trackerNameSpace(), trackerNameSpace_, and trackerTopology().

15  : // id not yet known, will be set by builder
19  alignableObjectId_(trackerGeometry, nullptr, nullptr, nullptr) {
20  AlignableTrackerBuilder builder(trackerGeometry, trackerTopology);
21  builder.buildAlignables(this);
22  trackerNameSpace_ = builder.trackerNameSpace();
23  alignableObjectId_ = builder.objectIdProvider();
24 }
AlignableComposite()
default constructor hidden
const TrackerTopology * tTopo_
AlignableObjectId alignableObjectId_
align::TrackerNameSpace trackerNameSpace_
align::RotationType RotationType
Definition: Alignable.h:31
const TrackerTopology * trackerTopology() const
Return tracker topology used to build AlignableTracker.

◆ ~AlignableTracker()

AlignableTracker::~AlignableTracker ( )
inlineoverride

Definition at line 23 of file AlignableTracker.h.

23 {/* TODO: delete all tracker-alignables? */};

Member Function Documentation

◆ alignmentErrors()

AlignmentErrorsExtended * AlignableTracker::alignmentErrors ( void  ) const
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, AlignmentErrorsExtended::m_alignError, and jetUpdater_cfi::sort.

Referenced by TrackerGeometryCompare::analyze(), TrackerSystematicMisalignments::analyze(), LaserAlignment::endRunProduce(), TrackerAlignment::saveToDB(), and ApeSettingAlgorithm::terminate().

59  {
61  AlignmentErrorsExtended* m_alignmentErrors = new AlignmentErrorsExtended();
62 
63  // Add components recursively
64  for (align::Alignables::iterator i = comp.begin(); i != comp.end(); i++) {
65  AlignmentErrorsExtended* tmpAlignmentErrorsExtended = (*i)->alignmentErrors();
66  std::copy(tmpAlignmentErrorsExtended->m_alignError.begin(),
67  tmpAlignmentErrorsExtended->m_alignError.end(),
68  std::back_inserter(m_alignmentErrors->m_alignError));
69  delete tmpAlignmentErrorsExtended;
70  }
71 
72  // sort by rawId
73  std::sort(m_alignmentErrors->m_alignError.begin(), m_alignmentErrors->m_alignError.end());
74 
75  return m_alignmentErrors;
76 }
const Alignables & components() const override
Return vector of direct components.
std::vector< AlignTransformErrorExtended > m_alignError
std::vector< Alignable * > Alignables
Definition: Utilities.h:31

◆ alignments()

Alignments * AlignableTracker::alignments ( void  ) const
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, Alignments::m_align, and jetUpdater_cfi::sort.

Referenced by TrackerGeometryCompare::analyze(), TrackerSystematicMisalignments::analyze(), TrackerGeometryIntoNtuples::analyze(), LaserAlignment::endRunProduce(), and TrackerAlignment::saveToDB().

42  {
44  Alignments* m_alignments = new Alignments();
45  // Add components recursively
46  for (align::Alignables::iterator i = comp.begin(); i != comp.end(); i++) {
47  Alignments* tmpAlignments = (*i)->alignments();
48  std::copy(tmpAlignments->m_align.begin(), tmpAlignments->m_align.end(), std::back_inserter(m_alignments->m_align));
49  delete tmpAlignments;
50  }
51 
52  // sort by rawId
53  std::sort(m_alignments->m_align.begin(), m_alignments->m_align.end());
54 
55  return m_alignments;
56 }
const Alignables & components() const override
Return vector of direct components.
std::vector< AlignTransform > m_align
Definition: Alignments.h:19
std::vector< Alignable * > Alignables
Definition: Utilities.h:31

◆ barrelGeomDets()

Alignables AlignableTracker::barrelGeomDets ( )
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().

51 { return this->merge(this->innerBarrelGeomDets(), this->outerBarrelGeomDets()); }
Alignables & innerBarrelGeomDets()
Return inner barrel GeomDets.
Alignables & outerBarrelGeomDets()
Return outer barrel GeomDets.
Alignables merge(const Alignables &list1, const Alignables &list2) const

◆ barrelLayers()

Alignables AlignableTracker::barrelLayers ( )
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().

83 { return this->merge(this->innerBarrelLayers(), this->outerBarrelLayers()); }
Alignables & outerBarrelLayers()
Return outer barrel layers.
Alignables & innerBarrelLayers()
Return inner barrel layers.
Alignables merge(const Alignables &list1, const Alignables &list2) const

◆ barrelRods()

Alignables AlignableTracker::barrelRods ( )
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().

68 { return this->merge(this->innerBarrelRods(), this->outerBarrelRods()); }
Alignables & outerBarrelRods()
Return outer barrel rods.
Alignables merge(const Alignables &list1, const Alignables &list2) const
Alignables & innerBarrelRods()
Return inner barrel rods.

◆ endcapGeomDets()

Alignables& AlignableTracker::endcapGeomDets ( )
inline

◆ endcapLayers()

Alignables& AlignableTracker::endcapLayers ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ endcapPetals()

Alignables& AlignableTracker::endcapPetals ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ endCaps()

Alignables& AlignableTracker::endCaps ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ innerBarrelGeomDets()

Alignables& AlignableTracker::innerBarrelGeomDets ( )
inline

◆ innerBarrelLayers()

Alignables& AlignableTracker::innerBarrelLayers ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ innerBarrelRods()

Alignables& AlignableTracker::innerBarrelRods ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ innerHalfBarrels()

Alignables& AlignableTracker::innerHalfBarrels ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ merge()

align::Alignables AlignableTracker::merge ( const Alignables list1,
const Alignables list2 
) const
private

Definition at line 33 of file AlignableTracker.cc.

References python.cmstools::all().

Referenced by barrelGeomDets(), barrelLayers(), barrelRods(), and TIBTIDGeomDets().

33  {
34  Alignables all = list1;
35 
36  all.insert(all.end(), list2.begin(), list2.end());
37 
38  return all;
39 }
def all(container)
workaround iterator generators for ROOT classes
Definition: cmstools.py:25
align::Alignables Alignables
Definition: Alignable.h:34

◆ objectIdProvider()

const AlignableObjectId& AlignableTracker::objectIdProvider ( ) const
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().

110 { return alignableObjectId_; }
AlignableObjectId alignableObjectId_

◆ outerBarrelGeomDets()

Alignables& AlignableTracker::outerBarrelGeomDets ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ outerBarrelLayers()

Alignables& AlignableTracker::outerBarrelLayers ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ outerBarrelRods()

Alignables& AlignableTracker::outerBarrelRods ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ outerHalfBarrels()

Alignables& AlignableTracker::outerHalfBarrels ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ pixelEndcapGeomDets()

Alignables& AlignableTracker::pixelEndcapGeomDets ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ pixelEndcapHalfCylinders()

Alignables& AlignableTracker::pixelEndcapHalfCylinders ( )
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().

46  {
48  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ pixelEndcapLayers()

Alignables& AlignableTracker::pixelEndcapLayers ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ pixelEndcapPetals()

Alignables& AlignableTracker::pixelEndcapPetals ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ pixelEndCaps()

Alignables& AlignableTracker::pixelEndCaps ( )
inline

Return TPEs.

Definition at line 42 of file AlignableTracker.h.

References alignableObjectId_, subStructures(), align::TPEEndcap, and AlignableObjectId::typeToName().

Referenced by AlignmentParameterSelector::addSelection().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ pixelHalfBarrelGeomDets()

Alignables& AlignableTracker::pixelHalfBarrelGeomDets ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ pixelHalfBarrelLadders()

Alignables& AlignableTracker::pixelHalfBarrelLadders ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ pixelHalfBarrelLayers()

Alignables& AlignableTracker::pixelHalfBarrelLayers ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ pixelHalfBarrels()

Alignables& AlignableTracker::pixelHalfBarrels ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ subStructures()

Alignables& AlignableTracker::subStructures ( const std::string &  subStructName)
inline

◆ TIBTIDGeomDets()

Alignables AlignableTracker::TIBTIDGeomDets ( )
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().

53 { return this->merge(this->innerBarrelGeomDets(), this->TIDGeomDets()); }
Alignables & innerBarrelGeomDets()
Return inner barrel GeomDets.
Alignables & TIDGeomDets()
Return TID GeomDets.
Alignables merge(const Alignables &list1, const Alignables &list2) const

◆ TIDGeomDets()

Alignables& AlignableTracker::TIDGeomDets ( )
inline

◆ TIDLayers()

Alignables& AlignableTracker::TIDLayers ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ TIDRings()

Alignables& AlignableTracker::TIDRings ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ TIDs()

Alignables& AlignableTracker::TIDs ( )
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().

std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)

◆ trackerNameSpace()

const align::TrackerNameSpace& AlignableTracker::trackerNameSpace ( ) const
inline

Return tracker name space derived from the tracker's topology.

Definition at line 107 of file AlignableTracker.h.

References trackerNameSpace_.

107 { return trackerNameSpace_; }
align::TrackerNameSpace trackerNameSpace_

◆ trackerTopology()

const TrackerTopology* AlignableTracker::trackerTopology ( ) const
inline

Return tracker topology used to build AlignableTracker.

Definition at line 104 of file AlignableTracker.h.

References tTopo_.

Referenced by AlignableTracker(), AlignmentParameterSelector::layerDeselected(), AlignmentParameterSelector::outsideDetIdRanges(), and update().

104 { return tTopo_; }
const TrackerTopology * tTopo_

◆ update()

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(), and trackerTopology().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().

27  {
28  AlignableTrackerBuilder builder(trackerGeometry, trackerTopology);
29  builder.buildAlignables(this, /* update = */ true);
30 }
const TrackerTopology * trackerTopology() const
Return tracker topology used to build AlignableTracker.

Friends And Related Function Documentation

◆ AlignableTrackerBuilder

friend class AlignableTrackerBuilder
friend

grant access for the tracker-alignables builder

Definition at line 19 of file AlignableTracker.h.

Member Data Documentation

◆ alignableMap_

AlignableMap AlignableTracker::alignableMap_
private

Definition at line 118 of file AlignableTracker.h.

Referenced by AlignableTrackerBuilder::buildAlignables(), and subStructures().

◆ alignableObjectId_

AlignableObjectId AlignableTracker::alignableObjectId_
private

◆ trackerNameSpace_

align::TrackerNameSpace AlignableTracker::trackerNameSpace_
private

Definition at line 116 of file AlignableTracker.h.

Referenced by AlignableTracker(), and trackerNameSpace().

◆ tTopo_

const TrackerTopology* AlignableTracker::tTopo_
private

Definition at line 115 of file AlignableTracker.h.

Referenced by trackerTopology().