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
 Return alignment errors, sorted by DetId. More...
 
Alignmentsalignments () 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...
 
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 *)
 
virtual ~AlignableTracker ()
 
- 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...
 
void update (align::ID, StructureType aType, const RotationType &rot=RotationType())
 
virtual ~AlignableComposite ()
 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 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)
 
template<class T >
void update (T)=delete
 
- 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 19 of file AlignableTracker.h.

Constructor & Destructor Documentation

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

Definition at line 18 of file AlignableTracker.cc.

References AlignableTrackerBuilder::buildAlignables(), AlignableTrackerBuilder::objectIdProvider(), and AlignableTrackerBuilder::trackerNameSpace().

19  :
20  // id not yet known, will be set by builder
22  tTopo_(trackerTopology),
23  trackerNameSpace_(trackerTopology),
24  alignableObjectId_(trackerGeometry, nullptr, nullptr)
25 {
26  AlignableTrackerBuilder builder(trackerGeometry, trackerTopology);
27  builder.buildAlignables(this);
28  trackerNameSpace_ = builder.trackerNameSpace();
29  alignableObjectId_ = builder.objectIdProvider();
30 }
AlignableComposite()
default constructor hidden
const TrackerTopology * tTopo_
AlignableObjectId alignableObjectId_
align::TrackerNameSpace trackerNameSpace_
align::RotationType RotationType
Definition: Alignable.h:34
virtual AlignableTracker::~AlignableTracker ( )
inlinevirtual

Definition at line 27 of file AlignableTracker.h.

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

Member Function Documentation

AlignmentErrorsExtended * AlignableTracker::alignmentErrors ( void  ) const
virtual

Return alignment errors, sorted by DetId.

Reimplemented from AlignableComposite.

Definition at line 74 of file AlignableTracker.cc.

References AlCaHLTBitMon_QueryRunRegistry::comp, AlignableComposite::components(), popcon2dropbox::copy(), mps_fire::i, and AlignmentErrorsExtended::m_alignError.

Referenced by TrackerGeometryCompare::analyze(), AlignmentProducerBase::applyAlignmentsToGeometry(), LaserAlignment::endRunProduce(), pixelEndcapLayers(), TrackerAlignment::saveToDB(), ApeSettingAlgorithm::terminate(), and AlignmentProducerBase::writeForRunRange().

75 {
76 
78  AlignmentErrorsExtended* m_alignmentErrors = new AlignmentErrorsExtended();
79 
80  // Add components recursively
81  for ( align::Alignables::iterator i=comp.begin(); i!=comp.end(); i++ )
82  {
83  AlignmentErrorsExtended* tmpAlignmentErrorsExtended = (*i)->alignmentErrors();
84  std::copy( tmpAlignmentErrorsExtended->m_alignError.begin(), tmpAlignmentErrorsExtended->m_alignError.end(),
85  std::back_inserter(m_alignmentErrors->m_alignError) );
86  delete tmpAlignmentErrorsExtended;
87  }
88 
89  std::sort( m_alignmentErrors->m_alignError.begin(), m_alignmentErrors->m_alignError.end(),
91 
92  return m_alignmentErrors;
93 
94 }
std::vector< AlignTransformErrorExtended > m_alignError
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
virtual Alignables components() const
Return vector of direct components.
Alignments * AlignableTracker::alignments ( void  ) const
virtual

Return alignments, sorted by DetId.

Reimplemented from AlignableComposite.

Definition at line 52 of file AlignableTracker.cc.

References AlCaHLTBitMon_QueryRunRegistry::comp, AlignableComposite::components(), popcon2dropbox::copy(), mps_fire::i, and Alignments::m_align.

Referenced by TrackerGeometryCompare::analyze(), AlignmentProducerBase::applyAlignmentsToGeometry(), LaserAlignment::endRunProduce(), pixelEndcapLayers(), TrackerAlignment::saveToDB(), and AlignmentProducerBase::writeForRunRange().

53 {
54 
56  Alignments* m_alignments = new Alignments();
57  // Add components recursively
58  for ( align::Alignables::iterator i=comp.begin(); i!=comp.end(); i++ )
59  {
60  Alignments* tmpAlignments = (*i)->alignments();
61  std::copy( tmpAlignments->m_align.begin(), tmpAlignments->m_align.end(),
62  std::back_inserter(m_alignments->m_align) );
63  delete tmpAlignments;
64  }
65 
66  std::sort( m_alignments->m_align.begin(), m_alignments->m_align.end(),
68 
69  return m_alignments;
70 
71 }
std::vector< AlignTransform > m_align
Definition: Alignments.h:19
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
virtual Alignables components() const
Return vector of direct components.
Alignables AlignableTracker::barrelGeomDets ( )
inline

Return inner and outer barrel GeomDets together.

Definition at line 69 of file AlignableTracker.h.

References innerBarrelGeomDets(), merge(), and outerBarrelGeomDets().

Referenced by AlignmentParameterSelector::addAllDets(), and AlignmentParameterSelector::addSelection().

69  { return this->merge(this->innerBarrelGeomDets(),
70  this->outerBarrelGeomDets());}
Alignables merge(const Alignables &list1, const Alignables &list2) const
Alignables & innerBarrelGeomDets()
Return inner barrel GeomDets.
Alignables & outerBarrelGeomDets()
Return outer barrel GeomDets.
Alignables AlignableTracker::barrelLayers ( )
inline

Return inner and outer barrel layers.

Definition at line 128 of file AlignableTracker.h.

References innerBarrelLayers(), merge(), and outerBarrelLayers().

Referenced by AlignmentParameterSelector::addAllLayers(), and AlignmentParameterSelector::addSelection().

128  { return this->merge(this->innerBarrelLayers(),
129  this->outerBarrelLayers() );
130  }
Alignables merge(const Alignables &list1, const Alignables &list2) const
Alignables & outerBarrelLayers()
Return outer barrel layers.
Alignables & innerBarrelLayers()
Return inner barrel layers.
Alignables AlignableTracker::barrelRods ( )
inline

Return inner and outer barrel rods.

Definition at line 101 of file AlignableTracker.h.

References innerBarrelRods(), merge(), and outerBarrelRods().

Referenced by AlignmentParameterSelector::addAllRods(), and AlignmentParameterSelector::addSelection().

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

Return endcap GeomDets.

Definition at line 88 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().

88  {
90  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::endcapLayers ( )
inline

Return endcap layers.

Definition at line 144 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addAllLayers(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().

144  {
146  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::endcapPetals ( )
inline

Return encap petals.

Definition at line 115 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addAllRods(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().

115  {
117  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::endCaps ( )
inline

Return TECs.

Definition at line 52 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and LASGeometryUpdater::TrackerUpdate().

52  {
54  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::innerBarrelGeomDets ( )
inline

Return inner barrel GeomDets.

Definition at line 76 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().

76  {
78  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::innerBarrelLayers ( )
inline

Return inner barrel layers.

Definition at line 132 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and barrelLayers().

132  {
134  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::innerBarrelRods ( )
inline

Return inner barrel rods.

Definition at line 103 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection(), and barrelRods().

103  {
105  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::innerHalfBarrels ( )
inline

Return TIB half barrels.

Definition at line 44 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and LASGeometryUpdater::TrackerUpdate().

44  {
46  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
align::Alignables AlignableTracker::merge ( const Alignables list1,
const Alignables list2 
) const
private

Definition at line 41 of file AlignableTracker.cc.

References Vispa.Plugins.EdmBrowser.EdmDataAccessor::all().

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

43 {
44  Alignables all = list1;
45 
46  all.insert( all.end(), list2.begin(), list2.end() );
47 
48  return all;
49 }
std::vector< Alignable * > Alignables
Definition: Alignable.h:274
const AlignableObjectId& AlignableTracker::objectIdProvider ( ) const
inline

Return tracker alignable object ID provider derived from the tracker's geometry.

Definition at line 171 of file AlignableTracker.h.

References alignableObjectId_, and merge().

Referenced by TrackerGeometryCompare::analyze(), PedeReader::checkAliParams(), AlignableObjectId::commonObjectIdProvider(), TrackerGeometryCompare::setCommonTrackerSystem(), and TrackerScenarioBuilder::stripOffModule().

171 { return alignableObjectId_; }
AlignableObjectId alignableObjectId_
Alignables& AlignableTracker::outerBarrelGeomDets ( )
inline

Return outer barrel GeomDets.

Definition at line 80 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), barrelGeomDets(), TrackerAlignment::moveAlignableOuterHalfBarrels(), and TrackerGeometryCompare::surveyToTracker().

80  {
82  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::outerBarrelLayers ( )
inline

Return outer barrel layers.

Definition at line 136 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection(), and barrelLayers().

136  {
138  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::outerBarrelRods ( )
inline

Return outer barrel rods.

Definition at line 107 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and barrelRods().

107  {
109  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::outerHalfBarrels ( )
inline

Return TOB half barrels.

Definition at line 40 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection(), SurveyDataConverter::applyAPEs(), and LASGeometryUpdater::TrackerUpdate().

40  {
42  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::pixelEndcapGeomDets ( )
inline

Return pixel endcap GeomDets.

Definition at line 96 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), TrackerAlignment::moveAlignablePixelEndCaps(), and TrackerGeometryCompare::surveyToTracker().

96  {
98  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::pixelEndcapHalfCylinders ( )
inline

Return pixel endcap half cylinders.

Definition at line 64 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection().

64  {
66  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::pixelEndcapLayers ( )
inline

Return pixel endcap layers.

Definition at line 152 of file AlignableTracker.h.

References alignableObjectId_, alignmentErrors(), alignments(), subStructures(), align::TPEHalfDisk, and AlignableObjectId::typeToName().

Referenced by AlignmentParameterSelector::addAllLayers(), and AlignmentParameterSelector::addSelection().

152  {
154  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::pixelEndcapPetals ( )
inline

Return pixel endcap petals.

Definition at line 123 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addAllRods(), and AlignmentParameterSelector::addSelection().

123  {
125  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::pixelEndCaps ( )
inline

Return TPEs.

Definition at line 56 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection().

56  {
58  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::pixelHalfBarrelGeomDets ( )
inline

Return pixel barrel GeomDets.

Definition at line 84 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addAllDets(), AlignmentParameterSelector::addSelection(), TrackerAlignment::moveAlignablePixelHalfBarrels(), and TrackerGeometryCompare::surveyToTracker().

84  {
86  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::pixelHalfBarrelLadders ( )
inline

Return pixel half barrel ladders (implemented as AlignableRods)

Definition at line 111 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addAllRods(), and AlignmentParameterSelector::addSelection().

111  {
113  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::pixelHalfBarrelLayers ( )
inline

Return pixel half barrel layers.

Definition at line 140 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addAllLayers(), and AlignmentParameterSelector::addSelection().

140  {
142  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::pixelHalfBarrels ( )
inline

Return Pixel half barrels.

Definition at line 48 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection().

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

Return inner barrel and TID GeomDets together.

Definition at line 72 of file AlignableTracker.h.

References innerBarrelGeomDets(), merge(), and TIDGeomDets().

Referenced by TrackerAlignment::moveAlignableTIBTIDs().

72  { return this->merge(this->innerBarrelGeomDets(),
73  this->TIDGeomDets());
74  }
Alignables merge(const Alignables &list1, const Alignables &list2) const
Alignables & innerBarrelGeomDets()
Return inner barrel GeomDets.
Alignables & TIDGeomDets()
Return TID GeomDets.
Alignables& AlignableTracker::TIDGeomDets ( )
inline
Alignables& AlignableTracker::TIDLayers ( )
inline

Return TID layers.

Definition at line 148 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addAllLayers(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().

148  {
150  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::TIDRings ( )
inline

Return TID rings.

Definition at line 119 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addAllRods(), AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().

119  {
121  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
Alignables& AlignableTracker::TIDs ( )
inline

Return TIDs.

Definition at line 60 of file AlignableTracker.h.

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

Referenced by AlignmentParameterSelector::addSelection(), and SurveyDataConverter::applyAPEs().

60  {
62  }
std::string typeToName(align::StructureType type) const
Convert type to name.
AlignableObjectId alignableObjectId_
Alignables & subStructures(const std::string &subStructName)
const align::TrackerNameSpace& AlignableTracker::trackerNameSpace ( ) const
inline

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

Definition at line 168 of file AlignableTracker.h.

References trackerNameSpace_.

168 { return trackerNameSpace_; }
align::TrackerNameSpace trackerNameSpace_
const TrackerTopology* AlignableTracker::trackerTopology ( ) const
inline

Return tracker topology used to build AlignableTracker.

Definition at line 165 of file AlignableTracker.h.

References tTopo_.

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

165 { return tTopo_;}
const TrackerTopology * tTopo_
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 33 of file AlignableTracker.cc.

References AlignableTrackerBuilder::buildAlignables().

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), AlignmentProducerBase::createAlignables(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), subStructures(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

35 {
36  AlignableTrackerBuilder builder(trackerGeometry, trackerTopology);
37  builder.buildAlignables(this, /* update = */ true);
38 }

Friends And Related Function Documentation

friend class AlignableTrackerBuilder
friend

grant access for the tracker-alignables builder

Definition at line 22 of file AlignableTracker.h.

Member Data Documentation

AlignableMap AlignableTracker::alignableMap_
private

Definition at line 178 of file AlignableTracker.h.

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

AlignableObjectId AlignableTracker::alignableObjectId_
private
align::TrackerNameSpace AlignableTracker::trackerNameSpace_
private

Definition at line 176 of file AlignableTracker.h.

Referenced by trackerNameSpace().

const TrackerTopology* AlignableTracker::tTopo_
private

Definition at line 175 of file AlignableTracker.h.

Referenced by trackerTopology().