ATLAS Offline Software
Loading...
Searching...
No Matches
PMGTruthWeightAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef ASG_ANALYSIS_ALGORITHMS__PMG_TRUTH_WEIGHT_ALG_H
9#define ASG_ANALYSIS_ALGORITHMS__PMG_TRUTH_WEIGHT_ALG_H
10
17
18namespace CP
19{
22 {
25 StatusCode initialize () override;
26 StatusCode execute () override;
27
29 private:
30 ToolHandle<PMGTools::IPMGTruthWeightTool> m_truthWeightTool {this, "truthWeightTool", "PMGTools::PMGTruthWeightTool", "the truth weight tool"};
31
33 private:
35
37 private:
39 this, "eventInfo", "EventInfo", "the event info object to run on"};
40
42 private:
44 this, "decoration", "", "the decoration for the truth weights"};
45 };
46}
47
48#endif
an algorithm for calling IPMGTruthWeightTool
ToolHandle< PMGTools::IPMGTruthWeightTool > m_truthWeightTool
the tool
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info we decorate
SysWriteDecorHandle< float > m_decoration
the decoration for the truth weights
StatusCode initialize() override
SysListHandle m_systematicsList
the systematics list we run
StatusCode execute() override
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
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
Select isolated Photons, Electrons and Muons.