Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Reconstruction
Jet
JetSubStructureMomentTools
Root
SubjetFinderTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
JetSubStructureMomentTools/SubjetFinderTool.h
"
6
#include "
JetEDM/FastJetUtils.h
"
7
#include "
JetSubStructureUtils/SubjetFinder.h
"
8
9
SubjetFinderTool::SubjetFinderTool
(
const
std::string&
name
) :
10
JetSubStructureMomentToolsBase
(
name
)
11
{
12
declareProperty
(
"JetAlgorithm"
,
m_jetalg
=
"Kt"
);
13
declareProperty
(
"JetRadius"
,
m_jetrad
= 0.3);
14
declareProperty
(
"PtMin"
,
m_ptmin
= 5000);
15
declareProperty
(
"SubjetRecorder"
,
m_subjetrecorder
);
16
declareProperty
(
"ExclusiveNjets"
,
m_exclusivenjets
= -1);
17
}
18
19
int
SubjetFinderTool::modifyJet
(
xAOD::Jet
&
jet
)
const
{
20
if
(!
checkForConstituents
(
jet
))
return
1;
21
22
// Set up jet algorithm
23
xAOD::JetAlgorithmType::ID
ialg =
xAOD::JetAlgorithmType::algId
(
m_jetalg
);
24
fastjet::JetAlgorithm fjalg =
xAOD::JetAlgorithmType::fastJetDef
(ialg);
25
26
// Run it
27
JetSubStructureUtils::SubjetFinder
subjetFinder(fjalg,
m_jetrad
,
m_ptmin
,
m_exclusivenjets
);
28
std::vector<fastjet::PseudoJet> subjets = subjetFinder.
result
(
jet
);
29
30
// Record
31
m_subjetrecorder
->recordSubjets(subjets,
jet
);
32
33
return
0;
34
}
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition:
AthCommonDataStore.h:145
SubjetFinderTool::m_subjetrecorder
ToolHandle< ISubjetRecorderTool > m_subjetrecorder
Definition:
SubjetFinderTool.h:27
jet
Definition:
JetCalibTools_PlotJESFactors.cxx:23
SubjetFinderTool::m_jetalg
std::string m_jetalg
Definition:
SubjetFinderTool.h:23
xAOD::JetAlgorithmType::fastJetDef
fastjet::JetAlgorithm fastJetDef(ID id)
Definition:
FastJetUtils.cxx:20
SubjetFinderTool.h
xAOD::JetAlgorithmType::ID
ID
//////////////////////////////////////// JetAlgorithmType::ID defines most common physics jet finding...
Definition:
JetContainerInfo.h:29
SubjetFinderTool::m_jetrad
float m_jetrad
Definition:
SubjetFinderTool.h:24
JetSubStructureMomentToolsBase::checkForConstituents
bool checkForConstituents(const xAOD::Jet &jet) const
Definition:
JetSubStructureMomentToolsBase.h:33
JetSubStructureUtils::SubjetFinder
Definition:
SubjetFinder.h:13
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
xAOD::Jet_v1
Class describing a jet.
Definition:
Jet_v1.h:57
SubjetFinderTool::m_exclusivenjets
int m_exclusivenjets
Definition:
SubjetFinderTool.h:26
SubjetFinder.h
xAOD::JetAlgorithmType::algId
ID algId(const std::string &n)
Converts a string into a JetAlgorithmType::ID.
Definition:
JetContainerInfo.cxx:76
SubjetFinderTool::SubjetFinderTool
SubjetFinderTool(const std::string &name)
Definition:
SubjetFinderTool.cxx:9
JetSubStructureMomentToolsBase
Definition:
JetSubStructureMomentToolsBase.h:18
SubjetFinderTool::modifyJet
int modifyJet(xAOD::Jet &jet) const
Modify a single jet. This is obsolete and set to be removed.
Definition:
SubjetFinderTool.cxx:19
FastJetUtils.h
JetSubStructureUtils::SubjetFinder::result
virtual std::vector< fastjet::PseudoJet > result(const fastjet::PseudoJet &jet) const
Definition:
SubjetFinder.cxx:20
SubjetFinderTool::m_ptmin
float m_ptmin
Definition:
SubjetFinderTool.h:25
Generated on Fri Mar 14 2025 21:19:10 for ATLAS Offline Software by
1.8.18