ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetCalibTools
src
components
JetCalibrationDecoratorAlg.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_JET_CALIBRATION_DECORATOR_ALG_H
6
#define JETCALIBTOOLS_JET_CALIBRATION_DECORATOR_ALG_H
7
8
#include <string>
9
10
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
11
#include "
StoreGate/ReadHandleKey.h
"
12
#include "
StoreGate/WriteDecorHandleKey.h
"
13
#include "
xAODJet/JetContainer.h
"
14
#include "
JetInterface/IJetModifier.h
"
15
16
17
class
JetCalibrationDecoratorAlg
:
public
AthReentrantAlgorithm
{
18
public
:
19
JetCalibrationDecoratorAlg
(
const
std::string& name,
20
ISvcLocator* pSvcLocator);
21
22
virtual
StatusCode
initialize
()
override
;
23
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
24
25
private
:
26
ToolHandle<IJetModifier>
m_calibTool
;
27
28
SG::ReadHandleKey<xAOD::JetContainer>
m_jetKey
{
29
this
,
"JetContainer"
,
"AntiKt4EMPFlowJets"
,
30
"Input jet container"
};
31
32
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_ptCalibKey
{
33
this
,
"ptCalibratedKey"
,
"AntiKt4EMPFlowJets.pt_calibrated"
,
34
"Decorated calibrated pT"
};
35
36
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_etaCalibKey
{
37
this
,
"etaCalibratedKey"
,
"AntiKt4EMPFlowJets.eta_calibrated"
,
38
"Decorated calibrated eta"
};
39
40
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_massCalibKey
{
41
this
,
"massCalibratedKey"
,
"AntiKt4EMPFlowJets.mass_calibrated"
,
42
"Decorated calibrated mass"
};
43
44
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_phiCalibKey
{
45
this
,
"phiCalibratedKey"
,
"AntiKt4EMPFlowJets.phi_calibrated"
,
46
"Decorated calibrated phi"
};
47
};
48
49
#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.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
JetCalibrationDecoratorAlg::m_phiCalibKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_phiCalibKey
Definition
JetCalibrationDecoratorAlg.h:44
JetCalibrationDecoratorAlg::m_jetKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
Definition
JetCalibrationDecoratorAlg.h:28
JetCalibrationDecoratorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
JetCalibrationDecoratorAlg.cxx:28
JetCalibrationDecoratorAlg::JetCalibrationDecoratorAlg
JetCalibrationDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
JetCalibrationDecoratorAlg.cxx:11
JetCalibrationDecoratorAlg::m_etaCalibKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_etaCalibKey
Definition
JetCalibrationDecoratorAlg.h:36
JetCalibrationDecoratorAlg::m_massCalibKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_massCalibKey
Definition
JetCalibrationDecoratorAlg.h:40
JetCalibrationDecoratorAlg::m_calibTool
ToolHandle< IJetModifier > m_calibTool
Definition
JetCalibrationDecoratorAlg.h:26
JetCalibrationDecoratorAlg::m_ptCalibKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_ptCalibKey
Definition
JetCalibrationDecoratorAlg.h:32
JetCalibrationDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition
JetCalibrationDecoratorAlg.cxx:18
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
Generated on
for ATLAS Offline Software by
1.17.0