Skip to content
Snippets Groups Projects
Commit a4d6573c authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'cherry-pick-ba2d9ed14e6-master' into 'master'

Sweeping !38813 from 21.2 to master.
Replace pT by energy in JetUncertainties

See merge request atlas/athena!38846
parents 00393091 ca18ee57
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!38846Sweeping !38813 from 21.2 to master. Replace pT by energy in JetUncertainties
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#include "JetUncertainties/ELogMassEtaUncertaintyComponent.h"
......@@ -57,7 +57,7 @@ bool ELogMassEtaUncertaintyComponent::getValidityImpl(const xAOD::Jet& jet, cons
double ELogMassEtaUncertaintyComponent::getUncertaintyImpl(const xAOD::Jet& jet, const xAOD::EventInfo&) const
{
return m_uncHist->getValue(jet.pt()*m_energyScale,log(getMassOverE(jet,m_massDef)),m_absEta ? fabs(jet.eta()) : jet.eta());
return m_uncHist->getValue(jet.e()*m_energyScale,log(getMassOverE(jet,m_massDef)),m_absEta ? fabs(jet.eta()) : jet.eta());
}
} // end jet namespace
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#include "JetUncertainties/ELogMassUncertaintyComponent.h"
......@@ -49,12 +49,12 @@ ELogMassUncertaintyComponent* ELogMassUncertaintyComponent::clone() const
bool ELogMassUncertaintyComponent::getValidityImpl(const xAOD::Jet& jet, const xAOD::EventInfo&) const
{
return !m_validHist ? true : getValidBool(m_validHist->getValue(jet.pt()*m_energyScale,log(getMassOverE(jet,m_massDef))));
return !m_validHist ? true : getValidBool(m_validHist->getValue(jet.e()*m_energyScale,log(getMassOverE(jet,m_massDef))));
}
double ELogMassUncertaintyComponent::getUncertaintyImpl(const xAOD::Jet& jet, const xAOD::EventInfo&) const
{
return m_uncHist->getValue(jet.pt()*m_energyScale,log(getMassOverE(jet,m_massDef)));
return m_uncHist->getValue(jet.e()*m_energyScale,log(getMassOverE(jet,m_massDef)));
}
} // end jet namespace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment