ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
JetAnalysisAlgorithms
JetAnalysisAlgorithms
JetReclusteringAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#ifndef JET_RECLUSTERING_ALG_H
8
#define JET_RECLUSTERING_ALG_H
9
10
// Algorithm includes
11
#include <
AnaAlgorithm/AnaAlgorithm.h
>
12
#include <
AsgTools/PropertyWrapper.h
>
13
#include <
SystematicsHandles/SysReadHandle.h
>
14
#include <
SystematicsHandles/SysWriteHandle.h
>
15
#include <
SelectionHelpers/SysReadSelectionHandle.h
>
16
#include <
SystematicsHandles/SysWriteDecorHandle.h
>
17
18
#include <
xAODJet/JetAuxContainer.h
>
19
#include <
xAODJet/JetContainer.h
>
20
21
#include "fastjet/ClusterSequence.hh"
22
23
#include <memory>
24
#include <vector>
25
26
namespace
CP
{
27
31
32
class
JetReclusteringAlg
final :
public
EL::AnaAlgorithm
{
33
34
public
:
35
using
EL::AnaAlgorithm::AnaAlgorithm
;
36
virtual
StatusCode
initialize
()
override
;
37
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
38
39
private
:
40
CP::SysListHandle
m_systematicsList
{
this
};
41
42
CP::SysReadHandle<xAOD::JetContainer>
m_jetsHandle
{
43
this
,
"jets"
,
""
,
"the jet container to use"
44
};
45
CP::SysReadSelectionHandle
m_jetSelection
{
46
this
,
"jetSelection"
,
""
,
"the selection on the input jets"
47
};
48
49
CP::SysWriteDecorHandle<std::vector<int>
>
m_smallRjetIndicesDecor
{
50
this
,
"smallRjetIndices"
,
"smallRjetIndices_%SYS%"
,
"indices of the small R jets used to build a given RC jet"
51
};
52
53
CP::SysWriteDecorHandle<float>
m_rcEnergyDecor
{
54
this
,
"rcJetEnergy"
,
"e_%SYS%"
,
"energy of the RC jet"
55
};
56
57
// output container
58
CP::SysWriteHandle<xAOD::JetContainer, xAOD::JetAuxContainer>
m_outHandle
{
59
this
,
"reclusteredJets"
,
"reclusteredJets_%SYS%"
,
"reclustered jets collection"
60
};
61
62
// reclustering properties
63
Gaudi::Property<std::string>
m_clusteringAlgorithm
{
64
this
,
"clusteringAlgorithm"
,
"AntiKt"
,
"algorithm to use to recluster the jets"
65
};
66
Gaudi::Property<float>
m_reclusteredJetsRadius
{
67
this
,
"reclusteredJetsRadius"
, 1.0,
"radius parameter for the reclustered jets"
68
};
69
std::unique_ptr<fastjet::JetDefinition>
m_fastjetClustering
;
70
};
71
72
}
// namespace
73
74
#endif
AnaAlgorithm.h
JetAuxContainer.h
JetContainer.h
PropertyWrapper.h
SysReadHandle.h
SysReadSelectionHandle.h
SysWriteDecorHandle.h
SysWriteHandle.h
CP::JetReclusteringAlg
an algorithm reclustering (selected) small-R jets into larger-R jets with FastJet,...
Definition
JetReclusteringAlg.h:32
CP::JetReclusteringAlg::m_reclusteredJetsRadius
Gaudi::Property< float > m_reclusteredJetsRadius
Definition
JetReclusteringAlg.h:66
CP::JetReclusteringAlg::m_rcEnergyDecor
CP::SysWriteDecorHandle< float > m_rcEnergyDecor
Definition
JetReclusteringAlg.h:53
CP::JetReclusteringAlg::m_fastjetClustering
std::unique_ptr< fastjet::JetDefinition > m_fastjetClustering
Definition
JetReclusteringAlg.h:69
CP::JetReclusteringAlg::m_jetSelection
CP::SysReadSelectionHandle m_jetSelection
Definition
JetReclusteringAlg.h:45
CP::JetReclusteringAlg::m_smallRjetIndicesDecor
CP::SysWriteDecorHandle< std::vector< int > > m_smallRjetIndicesDecor
Definition
JetReclusteringAlg.h:49
CP::JetReclusteringAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition
JetReclusteringAlg.h:40
CP::JetReclusteringAlg::m_outHandle
CP::SysWriteHandle< xAOD::JetContainer, xAOD::JetAuxContainer > m_outHandle
Definition
JetReclusteringAlg.h:58
CP::JetReclusteringAlg::m_clusteringAlgorithm
Gaudi::Property< std::string > m_clusteringAlgorithm
Definition
JetReclusteringAlg.h:63
CP::JetReclusteringAlg::m_jetsHandle
CP::SysReadHandle< xAOD::JetContainer > m_jetsHandle
Definition
JetReclusteringAlg.h:42
CP::JetReclusteringAlg::initialize
virtual StatusCode initialize() override
Definition
JetReclusteringAlg.cxx:11
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition
SysListHandle.h:33
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition
SysReadHandle.h:33
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition
SysReadSelectionHandle.h:32
CP::SysWriteDecorHandle
a data handle for reading systematics varied input data
Definition
SysWriteDecorHandle.h:42
CP::SysWriteHandle
a data handle for writing systematics varied input data
Definition
SysWriteHandle.h:34
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition
AnaAlgorithm.h:74
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaAlgorithm.cxx:40
EL::AnaAlgorithm::execute
virtual::StatusCode execute()
execute this algorithm
Definition
AnaAlgorithm.cxx:315
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
Generated on
for ATLAS Offline Software by
1.17.0