Skip to content

Commit

Permalink
rename flag to m_doTruthJetTagging for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
miholzbo committed Aug 13, 2024
1 parent 00ba82e commit d4b2043
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Root/JetSelector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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) );
Expand Down Expand Up @@ -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));
}

Expand Down
4 changes: 2 additions & 2 deletions xAODAnaHelpers/JetSelector.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4b2043

Please sign in to comment.