From 4a37f83353e52f6a75dea5c731b7ac4bcd545f99 Mon Sep 17 00:00:00 2001 From: Meirin Oan Evans <meirin.oan.evans@cern.ch> Date: Wed, 9 Dec 2020 14:09:16 +0000 Subject: [PATCH] Fix typo scaleWeights -> scaleWeight --- .../xAOD/TopEventSelectionTools/Root/JetFlavorPlots.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/Root/JetFlavorPlots.cxx b/PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/Root/JetFlavorPlots.cxx index df31dc822c10..9e12ebdc80b9 100644 --- a/PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/Root/JetFlavorPlots.cxx +++ b/PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/Root/JetFlavorPlots.cxx @@ -187,7 +187,7 @@ namespace top { else if (m_PMGTruthWeights->hasWeight("1009")) scaleWeight = m_PMGTruthWeights->getWeight("1009"); // for e.g. tZ 412063 else if (m_PMGTruthWeights->hasWeight("muR=05,muF=05")) scaleWeight = m_PMGTruthWeights->getWeight("muR=05,muF=05"); // for some other generator setups else top::check(m_PMGTruthWeights->hasWeight(" muR = 0.5, muF = 0.5 "), "JetFlavorPlots::apply(): Weight \" muR = 0.5, muF = 0.5 \" not found. Please report this message!"); - double eventWeight = scaleWeights; + double eventWeight = scaleWeight; if (!m_doRadHighNoVar3c) { top::check(m_PMGTruthWeights->hasWeight("Var3cUp"), "JetFlavorPlots::apply(): Weight \"Var3cUp\" not found. Please report this message!"); eventWeight *= m_PMGTruthWeights->getWeight("Var3cUp") / nominalWeight; @@ -210,7 +210,7 @@ namespace top { else if (m_PMGTruthWeights->hasWeight("1005")) scaleWeight = m_PMGTruthWeights->getWeight("1005"); // for e.g. tZ 412063 else if (m_PMGTruthWeights->hasWeight("muR=20,muF=20")) scaleWeight = m_PMGTruthWeights->getWeight("muR=20,muF=20"); // for some other generator setups else top::check(m_PMGTruthWeights->hasWeight(" muR = 2.0, muF = 2.0 "), "JetFlavorPlots::apply(): Weight \" muR = 2.0, muF = 2.0 \" not found. Please report this message!"); - double eventWeight = scaleWeights; + double eventWeight = scaleWeight; if (!m_doRadLowNoVar3c) { top::check(m_PMGTruthWeights->hasWeight("Var3cDown"), "JetFlavorPlots::apply(): Weight \"Var3cDown\" not found. Please report this message!"); eventWeight *= m_PMGTruthWeights->getWeight("Var3cDown") / nominalWeight; -- GitLab