![]() |
ATLAS Offline Software
|
Helper class to access the Acts::surface associated with an Uncalibrated xAOD measurement. More...
#include <xAODUncalibMeasSurfAcc.h>
Public Member Functions | |
xAODUncalibMeasSurfAcc ()=default | |
Empty default constructor -> conversion will crash for ID measurements. More... | |
xAODUncalibMeasSurfAcc (const ActsTrk::ITrackingGeometryTool *trackGeoTool) | |
Constructor taking the pointer to the Tracking geometry tool. More... | |
const Acts::Surface * | operator() (const Acts::SourceLink &sourceLink) const |
Operator called by the Acts API to fetch the surface. More... | |
const Acts::Surface * | get (const xAOD::UncalibratedMeasurement *meas) const |
Operator. More... | |
Private Attributes | |
const Acts::TrackingGeometry * | m_actsTrackingGeometry {nullptr} |
const DetectorElementToActsGeometryIdMap * | m_detectorElementToGeometryIdMap {nullptr} |
Helper class to access the Acts::surface associated with an Uncalibrated xAOD measurement.
In the ID domain, the Acts identifier of the uncalibrated measurement is looked-up in the DetectorElementToActsGeometryIdMap and then the tracking geometry is used to return the corresponding surface. In the muon domain, all measurements have a link to the associated readout element and the surface look-up is performed via a helper funciton.
Definition at line 22 of file xAODUncalibMeasSurfAcc.h.
|
default |
Empty default constructor -> conversion will crash for ID measurements.
ActsTrk::detail::xAODUncalibMeasSurfAcc::xAODUncalibMeasSurfAcc | ( | const ActsTrk::ITrackingGeometryTool * | trackGeoTool | ) |
Constructor taking the pointer to the Tracking geometry tool.
The tracking geometry and the surface association map are directly retrieved from the tool.
trackGeoTool | Pointer to the tracking geometry tool |
Definition at line 12 of file xAODUncalibMeasSurfAcc.cxx.
const Acts::Surface * ActsTrk::detail::xAODUncalibMeasSurfAcc::get | ( | const xAOD::UncalibratedMeasurement * | meas | ) | const |
Operator.
ID measurements use the tracking geometry surface id look up to fetch the surface
Muon measurements have a direct link to the readout geometry -> surface
Definition at line 19 of file xAODUncalibMeasSurfAcc.cxx.
const Acts::Surface * ActsTrk::detail::xAODUncalibMeasSurfAcc::operator() | ( | const Acts::SourceLink & | sourceLink | ) | const |
Operator called by the Acts API to fetch the surface.
Definition at line 16 of file xAODUncalibMeasSurfAcc.cxx.
|
private |
Definition at line 36 of file xAODUncalibMeasSurfAcc.h.
|
private |
Definition at line 37 of file xAODUncalibMeasSurfAcc.h.