ATLAS Offline Software
Loading...
Searching...
No Matches
TrackCovarianceDecoratorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRACKINGDECORALGORITHMS_TRACKCOVARIANCEDECORATORALG_H
6#define TRACKINGDECORALGORITHMS_TRACKCOVARIANCEDECORATORALG_H
7
11
13
14
16
18 public:
19 TrackCovarianceDecoratorAlg(const std::string& name,
20 ISvcLocator* pSvcLocator);
21
22 virtual StatusCode initialize() override;
23 virtual StatusCode execute(const EventContext&) const override;
24
25 private:
26
27 // Input container
29 this, "TrackContainer", "InDetTrackParticles",
30 "Key for the input track collection"};
31
32 // Output decorations
34 this, "phiUncertainty", m_trackContainerKey, "phiUncertainty",
35 "sqrt of phi diagonal element of track covariance matrix"};
37 this, "thetaUncertainty", m_trackContainerKey, "thetaUncertainty",
38 "sqrt of theta diagonal element of track covariance matrix"};
40 this, "qOverPUncertainty", m_trackContainerKey, "qOverPUncertainty",
41 "sqrt of qOverP diagonal element of track covariance matrix"};
42 };
43
44}
45
46#endif
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.
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.
TrackCovarianceDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &) const override
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_thetaUncertainty
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_phiUncertainty
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_qOverPUncertainty
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackContainerKey