ATLAS Offline Software
Loading...
Searching...
No Matches
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
15
16
18public:
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
25private:
26 ToolHandle<IJetModifier> m_calibTool;
27
29 this, "JetContainer", "AntiKt4EMPFlowJets",
30 "Input jet container"};
31
33 this, "ptCalibratedKey", "AntiKt4EMPFlowJets.pt_calibrated",
34 "Decorated calibrated pT"};
35
37 this, "etaCalibratedKey", "AntiKt4EMPFlowJets.eta_calibrated",
38 "Decorated calibrated eta"};
39
41 this, "massCalibratedKey", "AntiKt4EMPFlowJets.mass_calibrated",
42 "Decorated calibrated mass"};
43
45 this, "phiCalibratedKey", "AntiKt4EMPFlowJets.phi_calibrated",
46 "Decorated calibrated phi"};
47};
48
49#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteDecorHandleKey< xAOD::JetContainer > m_phiCalibKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
virtual StatusCode execute(const EventContext &ctx) const override
JetCalibrationDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteDecorHandleKey< xAOD::JetContainer > m_etaCalibKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_massCalibKey
ToolHandle< IJetModifier > m_calibTool
SG::WriteDecorHandleKey< xAOD::JetContainer > m_ptCalibKey
virtual StatusCode initialize() override
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.