14#ifndef MEASUREMENTTOTRACKPARTICLEDECORATIONALG_H
15#define MEASUREMENTTOTRACKPARTICLEDECORATIONALG_H
18#include "GaudiKernel/ServiceHandle.h"
26#include "Acts/Definitions/Units.hpp"
28#include "Acts/EventData/TrackStateProxy.hpp"
39 virtual StatusCode
execute(
const EventContext& ctx)
const override;
52 float getChi2Contribution(
const typename ActsTrk::TrackStateBackend::ConstTrackStateProxy &state)
const;
53 std::pair<Acts::BoundVector, Acts::BoundMatrix>
getUnbiasedTrackParameters(
const typename ActsTrk::TrackStateBackend::ConstTrackStateProxy &state,
54 bool useSmoothed =
true)
const;
57 const float measurementCovariance,
58 const float trackParameterCovariance,
59 const bool evaluateUnbiased)
const;
66 this,
"TrackParticleKey",
"",
"Input track particle collection"};
70 "Decorate track particle with region of the measurement (barrel, ec)"};
73 "Decorate track particle with measurement detector id (innermost pix, pix, strip)"};
76 "Decorate track particle with measurement layer"};
79 "Predicted Chi2 contribution for each hit"};
82 "Filtered Chi2 contribution for each hit"};
85 "Decorate track particle with type of track state (outlier,hole, biased/unbiased)"};
88 "Decorate track particle with measurement cluster size (in r-phi)"};
91 "Decorate track particle with measurement cluster size (in eta)"};
96 "Decorate track particle with unbiased residual in local x"};
99 "Decorate track particle with unbiased pull in local x"};
102 "Decorate track particle with measurement local x"};
105 "Decorate track particle with unbiased prediction in local x"};
108 "Decorate track particle with local x measurement covariance"};
111 "Decorate track particle with unbiased local x prediction covariance"};
115 "Decorate track particle with unbiased residual in local y"};
118 "Decorate track particle with unbiased pull in local y"};
121 "Decorate track particle with measurement local y"};
124 "Decorate track particle with unbiased prediction in local y"};
127 "Decorate track particle with local y measurement covariance"};
130 "Decorate track particle with unbiased local y prediction covariance"};
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Handle class for adding a decoration to an object.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_chi2HitPredictedKey
float evaluatePull(const float residual, const float measurementCovariance, const float trackParameterCovariance, const bool evaluateUnbiased) const
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementRegionKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_residualLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackParameterLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLayerKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementDetectorKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLocYkey
PublicToolHandle< ActsTrk::ITrackingGeometryTool > m_trackingGeometryTool
float getChi2Contribution(const typename ActsTrk::TrackStateBackend::ConstTrackStateProxy &state) const
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementEtaWidthKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_pullLocYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementTypeKey
MeasurementToTrackParticleDecorationAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_residualLocXkey
virtual ~MeasurementToTrackParticleDecorationAlg()=default
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_pullLocXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLocCovXkey
std::pair< Acts::BoundVector, Acts::BoundMatrix > getUnbiasedTrackParameters(const typename ActsTrk::TrackStateBackend::ConstTrackStateProxy &state, bool useSmoothed=true) const
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticlesKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackParameterLocXkey
virtual StatusCode initialize() override
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackParameterLocCovYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementLocCovYkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_trackParameterLocCovXkey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_chi2HitFilteredKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_measurementPhiWidthKey
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...