ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
TrackingID
TrackingDecorAlgorithms
TrackingDecorAlgorithms
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
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/WriteDecorHandleKey.h
"
11
12
#include "
xAODTracking/TrackParticleContainer.h
"
13
14
15
namespace
TrackingDecorAlgorithms
{
16
17
class
TrackCovarianceDecoratorAlg
:
public
AthReentrantAlgorithm
{
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
28
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trackContainerKey
{
29
this
,
"TrackContainer"
,
"InDetTrackParticles"
,
30
"Key for the input track collection"
};
31
32
// Output decorations
33
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_dec_phiUncertainty
{
34
this
,
"phiUncertainty"
,
m_trackContainerKey
,
"phiUncertainty"
,
35
"sqrt of phi diagonal element of track covariance matrix"
};
36
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_dec_thetaUncertainty
{
37
this
,
"thetaUncertainty"
,
m_trackContainerKey
,
"thetaUncertainty"
,
38
"sqrt of theta diagonal element of track covariance matrix"
};
39
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_dec_qOverPUncertainty
{
40
this
,
"qOverPUncertainty"
,
m_trackContainerKey
,
"qOverPUncertainty"
,
41
"sqrt of qOverP diagonal element of track covariance matrix"
};
42
};
43
44
}
45
46
#endif
AthReentrantAlgorithm.h
TrackParticleContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
TrackingDecorAlgorithms::TrackCovarianceDecoratorAlg::TrackCovarianceDecoratorAlg
TrackCovarianceDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrackCovarianceDecoratorAlg.cxx:14
TrackingDecorAlgorithms::TrackCovarianceDecoratorAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition
TrackCovarianceDecoratorAlg.cxx:29
TrackingDecorAlgorithms::TrackCovarianceDecoratorAlg::m_dec_thetaUncertainty
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_thetaUncertainty
Definition
TrackCovarianceDecoratorAlg.h:36
TrackingDecorAlgorithms::TrackCovarianceDecoratorAlg::m_dec_phiUncertainty
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_phiUncertainty
Definition
TrackCovarianceDecoratorAlg.h:33
TrackingDecorAlgorithms::TrackCovarianceDecoratorAlg::m_dec_qOverPUncertainty
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_dec_qOverPUncertainty
Definition
TrackCovarianceDecoratorAlg.h:39
TrackingDecorAlgorithms::TrackCovarianceDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition
TrackCovarianceDecoratorAlg.cxx:18
TrackingDecorAlgorithms::TrackCovarianceDecoratorAlg::m_trackContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackContainerKey
Definition
TrackCovarianceDecoratorAlg.h:28
TrackingDecorAlgorithms
Definition
TrackCovarianceDecoratorAlg.cxx:12
Generated on
for ATLAS Offline Software by
1.17.0