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
PhysicsAnalysis
AnalysisCommon
ParticleJetTools
ParticleJetTools
JetFlavourInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
xAODJet/Jet.h
"
6
7
namespace
xAOD
{
8
9
// return a "basic" jet flavour label:
10
// 5: b jet
11
// 4: c jet
12
// 15: tau jet
13
// 0: light-flavour jet
14
//
15
// The first three different methods all use ghost association and correspond to the
16
// different labeling schemes:
17
// using the weakly decaying hadrons, using the hadrons resulting from fragmentation,
18
// or using the partons just before fragmentation
19
20
int
GAFinalHadronFlavourLabel
(
const
xAOD::Jet
*
jet
);
21
int
GAInitialHadronFlavourLabel
(
const
xAOD::Jet
*
jet
);
22
int
GAFinalPartonFlavourLabel
(
const
xAOD::Jet
*
jet
);
23
24
// The following methods use the "traditional" (Run-1) cone-based labelling and a "safer" successor
25
// (safer because it uses hadrons, and becauses it uses an exclusive labelling -- it will associate
26
// a HF hadron only with a single jet)
27
28
int
ExclusiveConeHadronFlavourLabel
(
const
xAOD::Jet
*
jet
);
29
int
ExclusiveConeDoubleHadronFlavourLabel
(
const
xAOD::Jet
*
jet
);
30
31
enum
JetFlavourLabelType
{
GAFinalHadron
,
GAInitialHadron
,
GAFinalParton
,
ExclConeHadron
,
ExclConeDoubleHadron
};
32
33
// Provide a unified interface to all methods
34
int
jetFlavourLabel
(
const
xAOD::Jet
*
jet
,
JetFlavourLabelType
=
ExclConeHadron
);
35
36
}
Jet.h
xAOD::GAFinalParton
@ GAFinalParton
Definition:
JetFlavourInfo.h:31
xAOD::JetFlavourLabelType
JetFlavourLabelType
Definition:
JetFlavourInfo.h:31
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
xAOD::GAInitialHadron
@ GAInitialHadron
Definition:
JetFlavourInfo.h:31
xAOD::ExclusiveConeHadronFlavourLabel
int ExclusiveConeHadronFlavourLabel(const xAOD::Jet *jet)
Definition:
JetFlavourInfo.cxx:62
xAOD::jetFlavourLabel
int jetFlavourLabel(const xAOD::Jet *jet, JetFlavourLabelType=ExclConeHadron)
Definition:
JetFlavourInfo.cxx:81
jet
Definition:
JetCalibTools_PlotJESFactors.cxx:23
xAOD::GAInitialHadronFlavourLabel
int GAInitialHadronFlavourLabel(const xAOD::Jet *jet)
Definition:
JetFlavourInfo.cxx:30
xAOD::ExclusiveConeDoubleHadronFlavourLabel
int ExclusiveConeDoubleHadronFlavourLabel(const xAOD::Jet *jet)
Definition:
JetFlavourInfo.cxx:72
xAOD::ExclConeDoubleHadron
@ ExclConeDoubleHadron
Definition:
JetFlavourInfo.h:31
xAOD::Jet_v1
Class describing a jet.
Definition:
Jet_v1.h:57
xAOD::ExclConeHadron
@ ExclConeHadron
Definition:
JetFlavourInfo.h:31
xAOD::GAFinalHadronFlavourLabel
int GAFinalHadronFlavourLabel(const xAOD::Jet *jet)
Definition:
JetFlavourInfo.cxx:14
xAOD::GAFinalPartonFlavourLabel
int GAFinalPartonFlavourLabel(const xAOD::Jet *jet)
Definition:
JetFlavourInfo.cxx:46
xAOD::GAFinalHadron
@ GAFinalHadron
Definition:
JetFlavourInfo.h:31
Generated on Fri Mar 21 2025 21:12:47 for ATLAS Offline Software by
1.8.18