ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetCalibTools
src
components
CalibratedJetCopyAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JETCALIBTOOLS_CALIBRATED_JET_COPY_ALG_H
6
#define JETCALIBTOOLS_CALIBRATED_JET_COPY_ALG_H
7
8
#include <string>
9
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
#include "
StoreGate/ReadHandleKey.h
"
12
#include "
StoreGate/WriteHandleKey.h
"
13
#include "
StoreGate/WriteDecorHandleKey.h
"
14
#include "
xAODJet/JetContainer.h
"
15
#include "
JetInterface/IJetModifier.h
"
16
17
18
class
CalibratedJetCopyAlg
:
public
AthReentrantAlgorithm
{
19
public
:
20
CalibratedJetCopyAlg
(
const
std::string& name,
21
ISvcLocator* pSvcLocator);
22
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
25
26
private
:
27
ToolHandle<IJetModifier>
m_calibTool
;
28
29
SG::ReadHandleKey<xAOD::JetContainer>
m_jetKey
{
30
this
,
"JetContainer"
,
"AntiKt4EMPFlowJets"
,
31
"Input jet container"
};
32
33
SG::WriteHandleKey<xAOD::JetContainer>
m_copyKey
{
34
this
,
"OutputContainer"
,
""
,
35
"Output calibrated shallow-copy container"
};
36
37
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_linkKey
{
38
this
,
"calibratedJetLinkKey"
,
m_jetKey
,
"calibratedJetLink"
,
39
"Link from each input jet to its calibrated copy"
};
40
};
41
42
#endif
AthReentrantAlgorithm.h
IJetModifier.h
JetContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CalibratedJetCopyAlg::initialize
virtual StatusCode initialize() override
Definition
CalibratedJetCopyAlg.cxx:20
CalibratedJetCopyAlg::CalibratedJetCopyAlg
CalibratedJetCopyAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CalibratedJetCopyAlg.cxx:13
CalibratedJetCopyAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CalibratedJetCopyAlg.cxx:28
CalibratedJetCopyAlg::m_calibTool
ToolHandle< IJetModifier > m_calibTool
Definition
CalibratedJetCopyAlg.h:27
CalibratedJetCopyAlg::m_copyKey
SG::WriteHandleKey< xAOD::JetContainer > m_copyKey
Definition
CalibratedJetCopyAlg.h:33
CalibratedJetCopyAlg::m_jetKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
Definition
CalibratedJetCopyAlg.h:29
CalibratedJetCopyAlg::m_linkKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_linkKey
Definition
CalibratedJetCopyAlg.h:37
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
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
Generated on
for ATLAS Offline Software by
1.17.0