ATLAS Offline Software
JetRecAlg.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 
15 
16 #ifndef JetRecAlg_H
17 #define JetRecAlg_H
18 
20 #include "AsgTools/ToolHandle.h"
22 
25 
26 #if !defined(GENERATIONBASE) && !defined(XAOD_ANALYSIS)
28 #endif
29 
30 class IJetExecuteTool;
31 
33 
34 public:
35 
36  JetRecAlg(const std::string & n, ISvcLocator* l) : EL::AnaReentrantAlgorithm(n,l) {}
38 
40  StatusCode initialize() override;
41  StatusCode execute(const EventContext& ctx) const override;
42 
43 private:
44 
46  ToolHandle<IJetProvider> m_jetprovider ={this , "Provider" , {} , "Tool providing the jets (fastjet, copy, grooming...)"};
47  ToolHandleArray<IJetModifier> m_modifiers = {this , "Modifiers", {}, "moment calculators" };
48  SG::WriteHandleKey<xAOD::JetContainer> m_output= {this, "OutputContainer", "AntiKt4LCtopoJets", "The output jet container name"};
49 #if !defined (GENERATIONBASE) && !defined (XAOD_ANALYSIS)
50  ToolHandle<GenericMonitoringTool> m_monTool{this,"MonTool","","Monitoring tool"};
51 #endif
52 
53 };
54 
55 #endif
IJetProvider.h
JetRecAlg::initialize
StatusCode initialize() override
Athena algorithm's Hooks.
Definition: JetRecAlg.cxx:22
JetRecAlg::m_modifiers
ToolHandleArray< IJetModifier > m_modifiers
Definition: JetRecAlg.h:47
JetRecAlg::m_jetprovider
ToolHandle< IJetProvider > m_jetprovider
Athena configured tools.
Definition: JetRecAlg.h:46
IJetExecuteTool
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
Definition: IJetExecuteTool.h:19
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
JetRecAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: JetRecAlg.h:50
IJetModifier.h
JetRecAlg
Definition: JetRecAlg.h:32
GenericMonitoringTool.h
JetRecAlg::JetRecAlg
JetRecAlg(const std::string &n, ISvcLocator *l)
Definition: JetRecAlg.h:36
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
beamspotman.n
n
Definition: beamspotman.py:731
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
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
JetRecAlg::m_output
SG::WriteHandleKey< xAOD::JetContainer > m_output
Definition: JetRecAlg.h:48
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
ToolHandle.h
JetRecAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: JetRecAlg.cxx:54