From d4b204354ba1b5bfece031af063531d7d8cf9066 Mon Sep 17 00:00:00 2001 From: Michael Holzbock Date: Tue, 13 Aug 2024 18:00:52 +0200 Subject: [PATCH] rename flag to m_doTruthJetTagging for clarity --- Root/JetSelector.cxx | 4 ++-- xAODAnaHelpers/JetSelector.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Root/JetSelector.cxx b/Root/JetSelector.cxx index 44894d5a6..c49901a7e 100644 --- a/Root/JetSelector.cxx +++ b/Root/JetSelector.cxx @@ -235,7 +235,7 @@ EL::StatusCode JetSelector :: initialize () } // initialize the JetPileupLabelingTool to (re-)evaluate decorators using in Jvt efficiency tools - if ( m_doPileupLabel ) { + if ( m_doTruthJetTagging ) { m_jetPileupLabelingTool.setTypeAndName("JetPileupLabelingTool/PileupLabelingTool"); ATH_CHECK( m_jetPileupLabelingTool.setProperty("RecoJetContainer", m_outContainerName) ); ATH_CHECK( m_jetPileupLabelingTool.setProperty("TruthJetContainer", m_truthJetContainer) ); @@ -681,7 +681,7 @@ bool JetSelector :: executeSelection ( const xAOD::JetContainer* inJets, } // add isHS labels to jets (required for Jvt efficiency tools) - if (m_doPileupLabel && isMC()) { + if (m_doTruthJetTagging && isMC()) { ATH_CHECK(m_jetPileupLabelingTool->decorate(*inJets)); } diff --git a/xAODAnaHelpers/JetSelector.h b/xAODAnaHelpers/JetSelector.h index 86f5eed47..26d62d6fa 100644 --- a/xAODAnaHelpers/JetSelector.h +++ b/xAODAnaHelpers/JetSelector.h @@ -127,8 +127,8 @@ class JetSelector : public xAH::Algorithm float m_eta_max_JVF = 2.4; /// @brief cut value float m_JVFCut = 0.5; - /// @brief (re-)evaluate jet pile-up labels required for Jvt efficiency tools - bool m_doPileupLabel = false; + /// @brief (re-)evaluate the hard-scatter jet label (isJvtHS) required for Jvt efficiency tools + bool m_doTruthJetTagging = false; /// @brief check JVT bool m_doJVT = false; /// @brief keep JVT-rejected jets and decorate passing status