ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkHI
src
HIJetAugmentationTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DERIVATIONFRAMEWORK_HIJETAUGMENTATIONTOOL_H
6
#define DERIVATIONFRAMEWORK_HIJETAUGMENTATIONTOOL_H
7
8
#include <string>
9
#include <vector>
10
11
// Gaudi & Athena basics
12
#include "
AsgTools/ToolHandle.h
"
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
15
#include "GaudiKernel/ServiceHandle.h"
16
#include "
JetCalibTools/IJetCalibrationTool.h
"
17
#include "
JetInterface/IJetUpdateJvt.h
"
18
#include "
xAODCore/ShallowCopy.h
"
19
#include "
xAODEventInfo/EventInfo.h
"
20
#include "
xAODJet/JetContainer.h
"
21
22
class
IThinningSvc;
23
24
namespace
DerivationFramework
{
25
26
class
HIJetAugmentationTool
:
public
extends<AthAlgTool, IAugmentationTool> {
27
28
public
:
29
HIJetAugmentationTool
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
30
~HIJetAugmentationTool
();
31
32
// Athena algtool's Hooks
33
StatusCode
initialize
();
34
StatusCode
finalize
();
35
36
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
;
37
38
private
:
39
40
Gaudi::Property<float>
m_deltaR
{
41
this
,
"DeltaRJetMatching"
, 0.3,
42
"Maximum distance in eta-phi between two matched jets"
};
43
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfoKey"
,
44
"EventInfo"
,
""
};
45
SG::ReadHandleKey<xAOD::JetContainer>
m_hiJet_key
{
this
,
"HIJetContainerKey"
,
46
"AntiKt4HIJets"
};
47
SG::ReadHandleKey<xAOD::JetContainer>
m_caloJet_key
{
48
this
,
"CaloJetContainerKey"
,
"AntiKt4EMTopoJets"
};
49
50
// Tools
51
PublicToolHandle<IJetUpdateJvt>
m_jvtUpdateTool
{
52
this
,
"JVTToolEMTopo"
,
"JetVertexTaggerTool"
,
53
"JVT tool for EMTopo jets"
};
54
55
// Set up the decorators - TODO Should these be WriteDecorHandleKeys?
56
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_jvtMatchedKey
{
57
this
,
"JVTMatchedName"
,
"JvtMatched"
,
58
"SG Key for JVT AuxData"
};
59
60
};
61
62
}
63
#endif
ShallowCopy.h
SG::WriteDecorHandleKey< xAOD::JetContainer >
DerivationFramework::HIJetAugmentationTool::m_jvtUpdateTool
PublicToolHandle< IJetUpdateJvt > m_jvtUpdateTool
JVT update tool.
Definition:
HIJetAugmentationTool.h:51
DerivationFramework::HIJetAugmentationTool::m_caloJet_key
SG::ReadHandleKey< xAOD::JetContainer > m_caloJet_key
Definition:
HIJetAugmentationTool.h:47
DerivationFramework::HIJetAugmentationTool::HIJetAugmentationTool
HIJetAugmentationTool(const std::string &t, const std::string &n, const IInterface *p)
Definition:
HIJetAugmentationTool.cxx:11
IAugmentationTool.h
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
DerivationFramework::HIJetAugmentationTool::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition:
HIJetAugmentationTool.h:43
SG::ReadHandleKey< xAOD::EventInfo >
DerivationFramework::HIJetAugmentationTool::initialize
StatusCode initialize()
Definition:
HIJetAugmentationTool.cxx:23
IJetCalibrationTool.h
DerivationFramework::HIJetAugmentationTool::m_jvtMatchedKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_jvtMatchedKey
Definition:
HIJetAugmentationTool.h:56
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:209
DerivationFramework::HIJetAugmentationTool::~HIJetAugmentationTool
~HIJetAugmentationTool()
Definition:
HIJetAugmentationTool.cxx:18
DerivationFramework::HIJetAugmentationTool::m_hiJet_key
SG::ReadHandleKey< xAOD::JetContainer > m_hiJet_key
Definition:
HIJetAugmentationTool.h:45
beamspotman.n
n
Definition:
beamspotman.py:727
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
DerivationFramework::HIJetAugmentationTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const
Definition:
HIJetAugmentationTool.cxx:53
EventInfo.h
DerivationFramework::HIJetAugmentationTool::m_deltaR
Gaudi::Property< float > m_deltaR
Definition:
HIJetAugmentationTool.h:40
JetContainer.h
IJetUpdateJvt.h
DerivationFramework::HIJetAugmentationTool
Definition:
HIJetAugmentationTool.h:26
ToolHandle.h
DerivationFramework::HIJetAugmentationTool::finalize
StatusCode finalize()
Definition:
HIJetAugmentationTool.cxx:39
Generated on Wed Nov 19 2025 21:10:56 for ATLAS Offline Software by
1.8.18