ATLAS Offline Software
Loading...
Searching...
No Matches
JetRecAlg.h
Go to the documentation of this file.
1// this is a -*- C++ -*- file
2/*
3 Copyright (C) 2002-2025 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"
23
26
27#if !defined(GENERATIONBASE) && !defined(XAOD_ANALYSIS)
29#endif
30
31class IJetExecuteTool;
32
34
35public:
36
37 JetRecAlg(const std::string & n, ISvcLocator* l) : EL::AnaReentrantAlgorithm(n,l) {}
39
41 StatusCode initialize() override;
42 StatusCode execute(const EventContext& ctx) const override;
43
44private:
45
47 ToolHandle<IJetProvider> m_jetprovider ={this , "Provider" , {} , "Tool providing the jets (fastjet, copy, grooming...)"};
48 ToolHandleArray<IJetModifier> m_modifiers = {this , "Modifiers", {}, "moment calculators" };
49 SG::WriteHandleKey<xAOD::JetContainer> m_output= {this, "OutputContainer", "AntiKt4LCtopoJets", "The output jet container name"};
50 SG::WriteDecorHandleKey<xAOD::JetContainer> m_parentKey= {this, "ParentDecor", "", "The parent decoration of the output jet container"};
51#if !defined (GENERATIONBASE) && !defined (XAOD_ANALYSIS)
52 ToolHandle<GenericMonitoringTool> m_monTool{this,"MonTool","","Monitoring tool"};
53#endif
54
55};
56
57#endif
Property holding a SG store/key/clid from which a WriteHandle is made.
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
SG::WriteDecorHandleKey< xAOD::JetContainer > m_parentKey
Definition JetRecAlg.h:50
StatusCode initialize() override
Athena algorithm's Hooks.
Definition JetRecAlg.cxx:23
ToolHandleArray< IJetModifier > m_modifiers
Definition JetRecAlg.h:48
SG::WriteHandleKey< xAOD::JetContainer > m_output
Definition JetRecAlg.h:49
StatusCode execute(const EventContext &ctx) const override
Definition JetRecAlg.cxx:58
ToolHandle< IJetProvider > m_jetprovider
Athena configured tools.
Definition JetRecAlg.h:47
JetRecAlg(const std::string &n, ISvcLocator *l)
Definition JetRecAlg.h:37
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
ToolHandle< GenericMonitoringTool > m_monTool
Definition JetRecAlg.h:52
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
This module defines the arguments passed from the BATCH driver to the BATCH worker.