ATLAS Offline Software
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 Mon Dec 23 2024 21:12:34 for ATLAS Offline Software by
1.8.18