![]() |
ATLAS Offline Software
|
Class to calibrate the Acts track states with uncalibrated Trk::PrepRaw data objects. More...
#include <TrkPrepRawDataCalibrator.h>
Public Types | |
| using | SourceLink_t = const Trk::PrepRawData* |
| abrivation of the underlying source link type | |
| enum class | ProjectorType { e1DimNoTime = 0 , e1DimRotNoTime = 1 , e2DimNoTime = 2 , e1DimWithTime = 3 , e1DimRotWithTime = 4 , e2DimWithTime = 5 } |
| Enum encoding the possible projectors used in ATLAS. More... | |
| template<typename trajectory_t> | |
| using | TrackState_t = typename Acts::MultiTrajectory<trajectory_t>::TrackStateProxy |
| Abbrivation of the track state proxy type. | |
| template<typename trajectory_t> | |
| using | ConstTrackState_t = typename Acts::MultiTrajectory<trajectory_t>::ConstTrackStateProxy |
| Abbrivation of the const track state proxy type. | |
Public Member Functions | |
| TrkPrepRawDataCalibrator ()=default | |
| Empty constructor not configuring any tool -> crash if not later overwritten. | |
| TrkPrepRawDataCalibrator (const ActsTrk::IActsToTrkConverterTool *convTool, const Trk::IRIO_OnTrackCreator *rotCreator) | |
| Constructor taking the Acts <-> Trk conversion tool & a preconfigured rot creator to calibrate the measurements. | |
| template<typename trajectory_t> | |
| void | calibrate (const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, TrackState_t< trajectory_t > trackState) const |
| Calibrator delegate implementation to calibrate the ActsTrk fit from Trk::PrepRawData objects. | |
| template<typename trackstate_t> | |
| std::unique_ptr< Trk::RIO_OnTrack > | createROT (const Acts::GeometryContext &gctx, const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, const trackstate_t &trackState) const |
| Create a Track Raw Input object (ROT) from the source link to the PRD measurement and the predicted track parameters of the track state. | |
| template<std::size_t Dim, typename trajectory_t, typename pos_t, typename cov_t> | |
| void | setState (const ProjectorType projector, const pos_t &locpos, const cov_t &cov, Acts::SourceLink link, TrackState_t< trajectory_t > &trackState) const |
| Copy the local position & covariance into the Acts track state proxy. | |
Static Public Member Functions | |
| static SourceLink_t | unpack (const Acts::SourceLink &sl) |
| Unpack the prepraw data measurement from the source link. | |
| static Acts::SourceLink | pack (const SourceLink_t prd) |
| Pack the PrepRaw data measurement into a source link. | |
Private Attributes | |
| TrkMeasurementCalibrator | m_rotCalib {} |
| const ActsTrk::IActsToTrkConverterTool * | m_convTool {nullptr} |
| Pointer to the track conversion tool. | |
| const Trk::IRIO_OnTrackCreator * | m_rotCreator {nullptr} |
| ROT creator. | |
Static Private Attributes | |
| static constexpr std::array< Acts::BoundSubspaceIndices, 6 > | s_boundSpaceIndices |
| Array to map the Projector types to the bound index configurations used by the ATLAS detector measurements. | |
Class to calibrate the Acts track states with uncalibrated Trk::PrepRaw data objects.
Essentially, this class is reproducing the calibration work flow during the ATLAS fit.
Definition at line 17 of file TrkPrepRawDataCalibrator.h.
|
inherited |
Abbrivation of the const track state proxy type.
Definition at line 44 of file MeasurementCalibratorBase.h.
abrivation of the underlying source link type
Definition at line 53 of file TrkPrepRawDataCalibrator.h.
|
inherited |
Abbrivation of the track state proxy type.
Definition at line 41 of file MeasurementCalibratorBase.h.
|
stronginherited |
Enum encoding the possible projectors used in ATLAS.
Their integer representations correspond to the element index in the s_boundSpaceIndices member
| Enumerator | |
|---|---|
| e1DimNoTime | |
| e1DimRotNoTime | Project out solely the locX (Applies to Itk strips, Rpc, Tgc, sTgc, Mm). |
| e2DimNoTime | Project out solely the locY - Complementary projector if the strip plane is rotated (Applies to Itk endcap strips, Rpc, Tgc, sTgc). |
| e1DimWithTime | Project out the two spatial coordinates - (Applies to ITk pixel, BI-Rpc, sTgc pad). |
| e1DimRotWithTime | Project out the locX & time coordinate - (Applies to Rpc, Tgc, Mm, sTgc). |
| e2DimWithTime | Project out the locY & time coordinate - (Applies to Rpc, Tgc, sTgc). |
Definition at line 29 of file MeasurementCalibratorBase.h.
|
default |
Empty constructor not configuring any tool -> crash if not later overwritten.
| ActsTrk::detail::TrkPrepRawDataCalibrator::TrkPrepRawDataCalibrator | ( | const ActsTrk::IActsToTrkConverterTool * | convTool, |
| const Trk::IRIO_OnTrackCreator * | rotCreator ) |
Constructor taking the Acts <-> Trk conversion tool & a preconfigured rot creator to calibrate the measurements.
| convTool | Pointer to the configured track conversion tool |
| rotCreator | Pointer to the configured ROT creator |
Definition at line 7 of file TrkPrepRawDataCalibrator.cxx.
| void ActsTrk::detail::TrkPrepRawDataCalibrator::calibrate | ( | const Acts::GeometryContext & | gctx, |
| const Acts::CalibrationContext & | cctx, | ||
| const Acts::SourceLink & | sl, | ||
| TrackState_t< trajectory_t > | trackState ) const |
Calibrator delegate implementation to calibrate the ActsTrk fit from Trk::PrepRawData objects.
| trajectory_t | Tepmlate parameter of the underlying MultTrajectory container backend |
| gctx | Geometry context to access the alignment of the surface |
| cctx | Calibration context to access the calibration constants from the conditions store |
| sl | Reference to the packed ATLASSourceLink (a.k.a Trk::MeasurementBase) |
| trackState | Reference to the multi trajectory track state to fill |
| std::unique_ptr< Trk::RIO_OnTrack > ActsTrk::detail::TrkPrepRawDataCalibrator::createROT | ( | const Acts::GeometryContext & | gctx, |
| const Acts::CalibrationContext & | cctx, | ||
| const Acts::SourceLink & | sl, | ||
| const trackstate_t & | trackState ) const |
Create a Track Raw Input object (ROT) from the source link to the PRD measurement and the predicted track parameters of the track state.
| trajectory_t | Tepmlate parameter of the underlying MultTrajectory container backend |
| gctx | Geometry context to access the alignment of the surface |
| cctx | Calibration context to access the calibration constants from the conditions store |
| sl | Reference to the packed ATLASSourceLink (a.k.a Trk::MeasurementBase) |
| trackState | Reference to the multi trajectory track state to read the predicted parameters from. |
|
static |
Pack the PrepRaw data measurement into a source link.
| prd | Pointer to the prep data measurement to pack |
Definition at line 17 of file TrkPrepRawDataCalibrator.cxx.
|
inherited |
Copy the local position & covariance into the Acts track state proxy.
| Dim | Dimension of the measurement |
| trajectory_t | Data type of the track state proxy backend |
| pos_t | Data type of the [Dim x 1] position vector |
| cov_t | Data type of the [Dim x Dim] covariance matrix |
| projector | Projector configuration of the measurement |
| locpos | Calibrated local postion |
| cov | Calibrated local covariance |
| link | Source link to associate with the state |
| trackState | Refrence to the track state proxy to write. |
|
static |
Unpack the prepraw data measurement from the source link.
| sl | Reference to the source link to unpack |
Definition at line 12 of file TrkPrepRawDataCalibrator.cxx.
|
private |
Pointer to the track conversion tool.
Definition at line 63 of file TrkPrepRawDataCalibrator.h.
|
private |
Definition at line 61 of file TrkPrepRawDataCalibrator.h.
|
private |
|
staticconstexprprivateinherited |
Array to map the Projector types to the bound index configurations used by the ATLAS detector measurements.
Definition at line 66 of file MeasurementCalibratorBase.h.