diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkTools/src/PrescaleTool.cxx b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkTools/src/PrescaleTool.cxx index 150742540a0a2d2b5e5871215da2b571e2bb828c..e1f69bd2134ac0e88ec0efad069cedca7ee17e76 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkTools/src/PrescaleTool.cxx +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkTools/src/PrescaleTool.cxx @@ -43,9 +43,8 @@ namespace DerivationFramework { { const xAOD::EventInfo* ei = 0; CHECK( evtStore()->retrieve( ei , "EventInfo" ) ); - uint32_t eventNumber ei->eventNumber(); bool accept(false); - if (eventNumber % m_prescale == 0) accept = true; + if (ei->eventNumber() % m_prescale == 0) accept = true; return accept; }