ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
TrackingID
InDetTrackSystematicsTools
src
TrackSystematicsAlg.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 TRACKSYSTEMATICSALG_HH
6
#define TRACKSYSTEMATICSALG_HH
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
10
#include "
AthContainers/ConstDataVector.h
"
11
#include "
StoreGate/ReadHandleKey.h
"
12
#include "
StoreGate/WriteHandleKey.h
"
13
#include "
StoreGate/ShallowCopyDecorDeps.h
"
14
15
#include <
AsgTools/ToolHandle.h
>
16
17
#include "
InDetTrackSystematicsTools/InclusiveTrackFilterTool.h
"
18
#include "
InDetTrackSystematicsTools/InDetTrackTruthFilterTool.h
"
19
#include "
xAODTracking/TrackParticleContainer.h
"
20
21
namespace
InDet
{
25
class
TrackSystematicsAlg
:
public
AthReentrantAlgorithm
{
26
27
public
:
28
29
TrackSystematicsAlg
(
const
std::string& name,
30
ISvcLocator* pSvcLocator );
31
32
StatusCode
initialize
()
override
;
33
StatusCode
execute
(
const
EventContext& ctx)
const override
;
34
35
private
:
36
37
ToolHandle<InDet::InclusiveTrackFilterTool>
m_trackFilterToolLRT
{
this
,
"TrackFilterToolLRT"
,
""
,
"LRT Track filter tool"
};
38
39
ToolHandle<InDet::InDetTrackTruthFilterTool>
m_trackFilterToolSTD
{
this
,
"TrackFilterToolSTD"
,
""
,
"STD Track filter tool"
};
40
41
// LLP secondary vertexing (LLP1, IDTR2) uses TRK_EFF_LOOSE_COMBINED (STD) + TRK_EFF_LARGED0_GLOBAL (LRT)
42
// in one container -- prevents proliferation of bulky SV containers in DAOD, but may not capture
43
// individual systematic effects!!! Individual variations need one instance each, e.g. "TRK_EFF_LOOSE_GLOBAL"
44
Gaudi::Property<std::string>
m_systematicVariationSTD
{
this
,
"SystematicVariationSTD"
,
""
,
45
"Track filter systematic for standard tracks (empty: none)"
};
46
Gaudi::Property<std::string>
m_systematicVariationLRT
{
this
,
"SystematicVariationLRT"
,
""
,
47
"Track filter systematic for LRT tracks (empty: none)"
};
48
49
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_inTrackKey
{
this
,
"InputTrackContainer"
,
"InDetLargeD0TrackParticles"
,
"Input track particle container"
};
50
SG::WriteHandleKey<xAOD::TrackParticleContainer>
m_outTrackKey
{
this
,
"OutputTrackContainer"
,
"InDetLargeD0TrackParticles_TRK_EFF_LARGED0_GLOBAL__1down"
,
"Output track particle container"
};
51
SG::ShallowCopyDecorDeps<xAOD::TrackParticleContainer>
m_decorDeps
{
this
,
"DecorDeps"
, {},
"List of decorations to propagate through the view container"
};
52
53
};
54
}
55
#endif
56
57
AthReentrantAlgorithm.h
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
TrackParticleContainer.h
InDetTrackTruthFilterTool.h
InclusiveTrackFilterTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ShallowCopyDecorDeps.h
Helper to propagate decoration dependencies to a shallow copy.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ToolHandle.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
InDet::TrackSystematicsAlg::initialize
StatusCode initialize() override
Definition
TrackSystematicsAlg.cxx:14
InDet::TrackSystematicsAlg::TrackSystematicsAlg
TrackSystematicsAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrackSystematicsAlg.cxx:11
InDet::TrackSystematicsAlg::m_outTrackKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outTrackKey
Definition
TrackSystematicsAlg.h:50
InDet::TrackSystematicsAlg::m_inTrackKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inTrackKey
Definition
TrackSystematicsAlg.h:49
InDet::TrackSystematicsAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
TrackSystematicsAlg.cxx:51
InDet::TrackSystematicsAlg::m_systematicVariationSTD
Gaudi::Property< std::string > m_systematicVariationSTD
Definition
TrackSystematicsAlg.h:44
InDet::TrackSystematicsAlg::m_trackFilterToolLRT
ToolHandle< InDet::InclusiveTrackFilterTool > m_trackFilterToolLRT
Definition
TrackSystematicsAlg.h:37
InDet::TrackSystematicsAlg::m_decorDeps
SG::ShallowCopyDecorDeps< xAOD::TrackParticleContainer > m_decorDeps
Definition
TrackSystematicsAlg.h:51
InDet::TrackSystematicsAlg::m_trackFilterToolSTD
ToolHandle< InDet::InDetTrackTruthFilterTool > m_trackFilterToolSTD
Definition
TrackSystematicsAlg.h:39
InDet::TrackSystematicsAlg::m_systematicVariationLRT
Gaudi::Property< std::string > m_systematicVariationLRT
Definition
TrackSystematicsAlg.h:46
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::ShallowCopyDecorDeps
Helper to propagate decoration dependencies to a shallow copy.
Definition
StoreGate/StoreGate/ShallowCopyDecorDeps.h:75
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0