5#ifndef PARTICLEJETTOOLS_JETTRUTHLABELINGTOOL_H
6#define PARTICLEJETTOOLS_JETTRUTHLABELINGTOOL_H
19#include "AthLinks/ElementLink.h"
43 void print()
const override;
52 Gaudi::Property<std::string>
m_jetContainerName{
this,
"RecoJetContainer",
"",
"Input reco jet container name"};
53 Gaudi::Property<std::string>
m_truthLabelName{
this,
"TruthLabelName",
"R10TruthLabel_R22v1",
"Truth label name"};
55 Gaudi::Property<bool>
m_isTruthJetCol{
this,
"IsTruthJetCollection",
false,
"Flag indicating whether input collection is a truth jet container"};
65 Gaudi::Property<bool>
m_useGhostJetMatch{
this,
"UseGhostJetMatch",
false,
"Use ghost association to match reco to truth jets, dR otherwise"};
66 Gaudi::Property<double>
m_recoGhostFrac{
this,
"RecoGhostFraction", 0.75,
"Ghost pT fraction window for GA matching"};
67 Gaudi::Property<bool>
m_matchUngroomedParent{
this,
"MatchUngroomedParent",
false,
"Use the ungroomed reco jet parent to match to truth jet"};
69 Gaudi::Property<double>
m_dRTruthJet{
this,
"dRTruthJet", 0.0,
"dR to match truth jet to reco jet (<0: closest jet)"};
70 Gaudi::Property<bool>
m_doLargeRLabels{
this,
"DoLargeRLabels",
true,
"Compute the W/Z/top labels (large R jets)"};
73 Gaudi::Property<double>
m_mLowTop{
this,
"MassLowTop", 140.0,
"Lower mass cut for top label [GeV]"};
74 Gaudi::Property<double>
m_mLowW{
this,
"MassLowW", 50.0,
"Lower mass cut for W label [GeV]"};
75 Gaudi::Property<double>
m_mLowZ{
this,
"MassLowZ", 50.0,
"Lower mass cut for Z label [GeV]"};
112 const EventContext& ctx )
const;
115 const EventContext& ctx )
const;
120 const EventContext& ctx)
const;
125 const EventContext& ctx )
const;
129 const xAOD::Jet &
jet,
bool matchH,
bool matchW,
bool matchZ,
bool matchTop,
130 const EventContext& ctx )
const;
struct TBPatternUnitContext Unknown
Interface for adding a decoration to a jet container.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Handle class for adding a decoration to an object.
std::string label(const std::string &format, int i)
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".