ATLAS Offline Software
TrackSystematicsAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRACKSYSTEMATICSALG_HH
6 #define TRACKSYSTEMATICSALG_HH
7 
9 
14 
15 #include <AsgTools/ToolHandle.h>
16 
20 
21 namespace InDet {
23 
24  public:
25 
26  TrackSystematicsAlg(const std::string& name,
27  ISvcLocator* pSvcLocator );
28 
29  StatusCode initialize() override;
30  StatusCode execute(const EventContext& ctx) const override;
31 
32  private:
33 
34  ToolHandle<InDet::InclusiveTrackFilterTool> m_trackFilterToolLRT{this, "TrackFilterToolLRT", "", "LRT Track filter tool"};
35 
36  ToolHandle<InDet::InDetTrackTruthFilterTool> m_trackFilterToolSTD{this, "TrackFilterToolSTD", "", "STD Track filter tool"};
37 
38  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_inTrackKey{this, "InputTrackContainer", "InDetLargeD0TrackParticles", "Input track particle container"};
39  SG::WriteHandleKey<xAOD::TrackParticleContainer> m_outTrackKey{this, "OutputTrackContainer", "InDetLargeD0TrackParticles_TRK_EFF_LARGED0_GLOBAL__1down", "Output track particle container"};
40  SG::ShallowCopyDecorDeps<xAOD::TrackParticleContainer> m_decorDeps { this, "DecorDeps", {}, "List of decorations to propagate through the view container" };
41 
42  };
43 }
44 #endif
45 
46 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
InDetTrackTruthFilterTool.h
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::TrackSystematicsAlg::m_trackFilterToolLRT
ToolHandle< InDet::InclusiveTrackFilterTool > m_trackFilterToolLRT
Definition: TrackSystematicsAlg.h:34
InclusiveTrackFilterTool.h
InDet::TrackSystematicsAlg::m_decorDeps
SG::ShallowCopyDecorDeps< xAOD::TrackParticleContainer > m_decorDeps
Definition: TrackSystematicsAlg.h:40
SG::ReadHandleKey< xAOD::TrackParticleContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
ShallowCopyDecorDeps.h
Helper to propagate decoration dependencies to a shallow copy.
SG::WriteHandleKey< xAOD::TrackParticleContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SG::ShallowCopyDecorDeps
Helper to propagate decoration dependencies to a shallow copy.
Definition: StoreGate/StoreGate/ShallowCopyDecorDeps.h:75
InDet::TrackSystematicsAlg::m_trackFilterToolSTD
ToolHandle< InDet::InDetTrackTruthFilterTool > m_trackFilterToolSTD
Definition: TrackSystematicsAlg.h:36
AthReentrantAlgorithm.h
InDet::TrackSystematicsAlg::m_inTrackKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inTrackKey
Definition: TrackSystematicsAlg.h:38
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
InDet::TrackSystematicsAlg::initialize
StatusCode initialize() override
Definition: TrackSystematicsAlg.cxx:13
InDet::TrackSystematicsAlg::TrackSystematicsAlg
TrackSystematicsAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrackSystematicsAlg.cxx:10
ToolHandle.h
TrackParticleContainer.h
InDet::TrackSystematicsAlg::m_outTrackKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outTrackKey
Definition: TrackSystematicsAlg.h:39
InDet::TrackSystematicsAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: TrackSystematicsAlg.cxx:39
InDet::TrackSystematicsAlg
Definition: TrackSystematicsAlg.h:22