ATLAS Offline Software
JetAlgorithm.h
Go to the documentation of this file.
1 //Dear emacs, this is -*-c++-*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // JetAlgorithm.h
8 
9 #ifndef JetAlgorithm_H
10 #define JetAlgorithm_H
11 
12 #include "AsgTools/ToolHandle.h"
14 
16 
18 
19 public:
20 
21  JetAlgorithm(const std::string& name, ISvcLocator* pSvcLocator) : EL::AnaReentrantAlgorithm(name, pSvcLocator) {}
24 
26  StatusCode initialize() override;
27  StatusCode execute(const EventContext& ctx) const override;
28 
29 private:
30 
32  ToolHandleArray<IJetExecuteTool> m_exetools{this,"Tools",{},"Jet-tools to run"};
33 
34 };
35 
36 #endif
JetAlgorithm::m_exetools
ToolHandleArray< IJetExecuteTool > m_exetools
Athena configured tools.
Definition: JetAlgorithm.h:32
JetAlgorithm::~JetAlgorithm
~JetAlgorithm()
Destructor:
IJetExecuteTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
JetAlgorithm::initialize
StatusCode initialize() override
Athena algorithm's Hooks.
Definition: JetAlgorithm.cxx:15
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
AnaReentrantAlgorithm.h
JetAlgorithm::JetAlgorithm
JetAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: JetAlgorithm.h:21
JetAlgorithm::execute
StatusCode execute(const EventContext &ctx) const override
Definition: JetAlgorithm.cxx:28
ToolHandle.h
JetAlgorithm
Definition: JetAlgorithm.h:17