ATLAS Offline Software
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 
17 namespace 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
ISysTruthWeightTool.h
CP::SysTruthWeightAlg::execute
StatusCode execute() override
Definition: SysTruthWeightAlg.cxx:50
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
SysListHandle.h
CP::SysTruthWeightAlg::m_decoration
SysWriteDecorHandle< float > m_decoration
the decoration for the truth weights
Definition: SysTruthWeightAlg.h:51
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP::SysTruthWeightAlg
an algorithm for calling ISysTruthWeightTool
Definition: SysTruthWeightAlg.h:21
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:49
SysReadHandle.h
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::SysTruthWeightAlg::m_truthParticleContainer
std::string m_truthParticleContainer
the truth particle container to use for the calculation
Definition: SysTruthWeightAlg.h:34
columnar::final
CM final
Definition: ColumnAccessor.h:106
CP::SysTruthWeightAlg::SysTruthWeightAlg
SysTruthWeightAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: SysTruthWeightAlg.cxx:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
EventInfo.h
CP::SysTruthWeightAlg::m_sysTruthWeightTool
ToolHandle< PMGTools::ISysTruthWeightTool > m_sysTruthWeightTool
the tool
Definition: SysTruthWeightAlg.h:38
CP::SysTruthWeightAlg::initialize
StatusCode initialize() override
Definition: SysTruthWeightAlg.cxx:33
CP::SysTruthWeightAlg::m_eventInfoHandle
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event collection we run on
Definition: SysTruthWeightAlg.h:46
CP::SysTruthWeightAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: SysTruthWeightAlg.h:42
CP::SysWriteDecorHandle< float >