ATLAS Offline Software
Loading...
Searching...
No Matches
SysTruthWeightAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
16
17namespace CP
18{
21 {
23 public:
24 SysTruthWeightAlg(const std::string& name, ISvcLocator* pSvcLocator);
25
26 public:
27 StatusCode initialize() override;
28
29 public:
30 StatusCode execute() override;
31
33 private:
35
37 private:
38 ToolHandle<PMGTools::ISysTruthWeightTool> m_sysTruthWeightTool;
39
41 private:
43
45 private:
47 this, "eventInfo", "EventInfo", "the event info object to run on"};
48
50 private:
52 this, "decoration", "", "the decoration for the truth weights"};
53 };
54} // namespace CP
55
56#endif
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
std::string m_truthParticleContainer
the truth particle container to use for the calculation
SysTruthWeightAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
ToolHandle< PMGTools::ISysTruthWeightTool > m_sysTruthWeightTool
the tool
StatusCode initialize() override
StatusCode execute() override
SysListHandle m_systematicsList
the systematics list we run
SysWriteDecorHandle< float > m_decoration
the decoration for the truth weights
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
Select isolated Photons, Electrons and Muons.