From c6f77268bdb3a794800dedde0dd8a0abc84e127e Mon Sep 17 00:00:00 2001 From: joaoVictorPinto <jodafons@cern.ch> Date: Fri, 15 Mar 2019 16:15:06 +0100 Subject: [PATCH] remove ringer dists in E/G dist tool and substitute all 1e3 to GeV Gaudi unit --- .../TrigEgammaAnalysisTools/Root/TrigEgammaEventSelection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Trigger/TrigAnalysis/TrigEgammaAnalysisTools/Root/TrigEgammaEventSelection.cxx b/Trigger/TrigAnalysis/TrigEgammaAnalysisTools/Root/TrigEgammaEventSelection.cxx index d85e8c7f90c4..bf313f2bde98 100644 --- a/Trigger/TrigAnalysis/TrigEgammaAnalysisTools/Root/TrigEgammaEventSelection.cxx +++ b/Trigger/TrigAnalysis/TrigEgammaAnalysisTools/Root/TrigEgammaEventSelection.cxx @@ -279,7 +279,7 @@ bool TrigEgammaEventSelection::EventSelectionFakes(){ el1.SetPtEtaPhiE(elTag->pt(), elTag->trackParticle()->eta(), elTag->trackParticle()->phi(), elTag->e()); el2.SetPtEtaPhiE(elProbe->pt(), elProbe->trackParticle()->eta(), elProbe->trackParticle()->phi(), elProbe->e()); float tpPairMass = (el1 + el2).M(); - if( !((tpPairMass > m_ZeeMassMin*1.e3) && (tpPairMass < m_ZeeMassMax*1.e3))){ + if( !((tpPairMass > m_ZeeMassMin*Gaudi::Units::GeV) && (tpPairMass < m_ZeeMassMax*Gaudi::Units::GeV))){ ATH_MSG_DEBUG("tag and probe pair not in Z mass window"); continue; }else{ -- GitLab