ATLAS Offline Software
JetDecorationAlg.h
Go to the documentation of this file.
1 // this is a -*- C++ -*- file
2 /*
3  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4 */
5 
12 
13 #ifndef JetDecorationAlg_H
14 #define JetDecorationAlg_H
15 
17 #include "AsgTools/ToolHandle.h"
19 
21 #include "xAODJet/JetContainer.h"
22 
24 
25 public:
26 
28 
30  StatusCode initialize() override;
31  StatusCode execute(const EventContext& ctx) const override;
32 
33 private:
34 
35  ToolHandleArray<IJetDecorator> m_decorators{this , "Decorators", {}, "Jet decorators" };
36  SG::ReadHandleKey<xAOD::JetContainer> m_jetKey{this, "JetContainer", "", "Jet container name"};
37 
38 };
39 
40 #endif
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
IJetDecorator.h
JetDecorationAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: JetDecorationAlg.cxx:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
JetDecorationAlg::initialize
StatusCode initialize() override
Athena algorithm's Hooks.
Definition: JetDecorationAlg.cxx:9
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaReentrantAlgorithm.cxx:29
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition: AnaReentrantAlgorithm.h:51
JetDecorationAlg
Definition: JetDecorationAlg.h:23
JetContainer.h
AnaReentrantAlgorithm.h
JetDecorationAlg::m_jetKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
Definition: JetDecorationAlg.h:36
JetDecorationAlg::m_decorators
ToolHandleArray< IJetDecorator > m_decorators
Definition: JetDecorationAlg.h:35
ToolHandle.h