ATLAS Offline Software
JetDecoratorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 #ifndef JET_ANALYSIS_ALGORITHMS__JET_DECORATOR_ALG_H
9 #define JET_ANALYSIS_ALGORITHMS__JET_DECORATOR_ALG_H
10 
15 #include <xAODJet/JetContainer.h>
16 
17 namespace CP
18 {
20 
21  class JetDecoratorAlg final : public EL::AnaAlgorithm
22  {
24  public:
25  JetDecoratorAlg (const std::string& name,
26  ISvcLocator* pSvcLocator);
27 
28 
29  public:
30  StatusCode initialize () override;
31 
32  public:
33  StatusCode execute () override;
34 
36  private:
37  ToolHandle<IJetDecorator> m_decorator{this, "decorator", "", "the decorator tool we apply to the jet collection"};
38 
40  private:
42 
44  private:
46  this, "jets", "", "the jet collection to run on"};
47 
48  };
49 }
50 
51 #endif
CP::JetDecoratorAlg::m_jetHandle
SysCopyHandle< const xAOD::JetContainer > m_jetHandle
the jet collection we run on
Definition: JetDecoratorAlg.h:45
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::JetDecoratorAlg::initialize
StatusCode initialize() override
Definition: JetDecoratorAlg.cxx:30
SysListHandle.h
SysCopyHandle.h
IJetDecorator.h
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::JetDecoratorAlg::m_decorator
ToolHandle< IJetDecorator > m_decorator
the update tool
Definition: JetDecoratorAlg.h:37
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::JetDecoratorAlg
an algorithm for calling IJetUpdateJvt
Definition: JetDecoratorAlg.h:22
CP::JetDecoratorAlg::JetDecoratorAlg
JetDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: JetDecoratorAlg.cxx:21
CP::JetDecoratorAlg::execute
StatusCode execute() override
Definition: JetDecoratorAlg.cxx:42
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CP::JetDecoratorAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: JetDecoratorAlg.h:41
JetContainer.h
CP::SysCopyHandle
a systematics data handle that will either copy the input object or act like an update handle
Definition: SysCopyHandle.h:62