ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRec
JetRec
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
19
#include "
AnaAlgorithm/AnaReentrantAlgorithm.h
"
20
#include "
AsgTools/ToolHandle.h
"
21
#include "
AsgDataHandles/WriteHandleKey.h
"
22
#include "
AsgDataHandles/WriteDecorHandleKey.h
"
23
24
#include "
JetInterface/IJetProvider.h
"
25
#include "
JetInterface/IJetModifier.h
"
26
27
#if !defined(GENERATIONBASE) && !defined(XAOD_ANALYSIS)
28
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
29
#endif
30
31
class
IJetExecuteTool
;
32
33
class
JetRecAlg
:
public
EL::AnaReentrantAlgorithm
{
34
35
public
:
36
37
JetRecAlg
(
const
std::string & n, ISvcLocator* l) :
EL
::
AnaReentrantAlgorithm
(n,l) {}
38
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
39
41
StatusCode
initialize
()
override
;
42
StatusCode
execute
(
const
EventContext& ctx)
const override
;
43
44
private
:
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
AnaReentrantAlgorithm.h
WriteDecorHandleKey.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
GenericMonitoringTool.h
IJetModifier.h
IJetProvider.h
ToolHandle.h
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
IJetExecuteTool
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
Definition
IJetExecuteTool.h:19
JetRecAlg::m_parentKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_parentKey
Definition
JetRecAlg.h:50
JetRecAlg::initialize
StatusCode initialize() override
Athena algorithm's Hooks.
Definition
JetRecAlg.cxx:23
JetRecAlg::m_modifiers
ToolHandleArray< IJetModifier > m_modifiers
Definition
JetRecAlg.h:48
JetRecAlg::m_output
SG::WriteHandleKey< xAOD::JetContainer > m_output
Definition
JetRecAlg.h:49
JetRecAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
JetRecAlg.cxx:58
JetRecAlg::m_jetprovider
ToolHandle< IJetProvider > m_jetprovider
Athena configured tools.
Definition
JetRecAlg.h:47
JetRecAlg::JetRecAlg
JetRecAlg(const std::string &n, ISvcLocator *l)
Definition
JetRecAlg.h:37
JetRecAlg::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
JetRecAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
JetRecAlg.h:52
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
Generated on
for ATLAS Offline Software by
1.17.0