ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
14
15#include <AsgTools/ToolHandle.h>
16
20
21namespace InDet {
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
DataVector adapter that acts like it holds const pointers.
Property holding a SG store/key/clid from which a ReadHandle is made.
Helper to propagate decoration dependencies to a shallow copy.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
StatusCode initialize() override
TrackSystematicsAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outTrackKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inTrackKey
StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< std::string > m_systematicVariationSTD
ToolHandle< InDet::InclusiveTrackFilterTool > m_trackFilterToolLRT
SG::ShallowCopyDecorDeps< xAOD::TrackParticleContainer > m_decorDeps
ToolHandle< InDet::InDetTrackTruthFilterTool > m_trackFilterToolSTD
Gaudi::Property< std::string > m_systematicVariationLRT
Property holding a SG store/key/clid from which a ReadHandle is made.
Helper to propagate decoration dependencies to a shallow copy.
Property holding a SG store/key/clid from which a WriteHandle is made.
Primary Vertex Finder.