ATLAS Offline Software
Loading...
Searching...
No Matches
SysTruthWeightAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef ASG_ANALYSIS_ALGORITHMS__SYS_TRUTH_WEIGHT_ALG_H
8#define ASG_ANALYSIS_ALGORITHMS__SYS_TRUTH_WEIGHT_ALG_H
9
18
19namespace CP
20{
23 {
25 public:
27
28 public:
29 StatusCode initialize() override;
30
31 public:
32 StatusCode execute(const EventContext& ctx) override;
33
35 private:
37 this, "TruthParticleContainer", "TruthParticles", "the truth particle container to use for the calculation"};
38
40 private:
41 ToolHandle<PMGTools::ISysTruthWeightTool> m_sysTruthWeightTool{
42 this, "sysTruthWeightTool", "PMGTools::PMGHFProductionFractionTool", "the systematic truth weight tool"};
43
45 private:
47
49 private:
51 this, "eventInfo", "EventInfo", "the event info object to run on"};
52
54 private:
56 this, "decoration", "", "the decoration for the truth weights"};
57 };
58} // namespace CP
59
60#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
an algorithm for calling ISysTruthWeightTool
ToolHandle< PMGTools::ISysTruthWeightTool > m_sysTruthWeightTool
the tool
StatusCode initialize() override
SysListHandle m_systematicsList
the systematics list we run
SysWriteDecorHandle< float > m_decoration
the decoration for the truth weights
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthParticleContainer
the truth particle container to use for the calculation
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event collection we run on
a data handle for reading systematics varied input data
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual::StatusCode execute()
execute this algorithm
Property holding a SG store/key/clid from which a ReadHandle is made.
Select isolated Photons, Electrons and Muons.