From ab11413f9bae6b0120acdc583b1696a748b3db84 Mon Sep 17 00:00:00 2001 From: Benjamin Michael Wynne <b.m.wynne@ed.ac.uk> Date: Fri, 11 Oct 2019 09:48:52 +0000 Subject: [PATCH] Fix the other two EVCA reverse options --- .../ViewAlgs/src/EventViewCreatorAlgorithmWithJets.cxx | 8 ++------ .../ViewAlgs/src/EventViewCreatorAlgorithmWithMuons.cxx | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.cxx b/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.cxx index 6331bf1fb8f..ec29819a613 100644 --- a/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.cxx +++ b/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithJets.cxx @@ -109,16 +109,12 @@ StatusCode EventViewCreatorAlgorithmWithJets::execute( const EventContext& conte } // loop over decisions }// loop over output keys - // debug option to reorder views - if ( m_reverseViews ) { - std::reverse( viewVector->begin(), viewVector->end() ); - } - ATH_MSG_DEBUG( "Launching execution in " << viewVector->size() << " views" ); ATH_CHECK( ViewHelper::ScheduleViews( viewVector, // Vector containing views m_viewNodeName, // CF node to attach views to context, // Source context - getScheduler() ) ); + getScheduler(), + m_reverseViews ) ); // store views // auto viewsHandle = SG::makeHandle( m_viewsKey ); diff --git a/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithMuons.cxx b/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithMuons.cxx index d80ed85e48d..005cbe54867 100644 --- a/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithMuons.cxx +++ b/Trigger/TrigSteer/ViewAlgs/src/EventViewCreatorAlgorithmWithMuons.cxx @@ -131,16 +131,12 @@ StatusCode EventViewCreatorAlgorithmWithMuons::execute( const EventContext& cont } // loop over decisions }// loop over output keys - // debug option to reorder views - if ( m_reverseViews ) { - std::reverse( viewVector->begin(), viewVector->end() ); - } - ATH_MSG_DEBUG( "Launching execution in " << viewVector->size() << " views" ); ATH_CHECK( ViewHelper::ScheduleViews( viewVector, // Vector containing views m_viewNodeName, // CF node to attach views to context, // Source context - getScheduler() ) ); + getScheduler(), + m_reverseViews ) ); if (msgLvl(MSG::DEBUG)) debugPrintOut(context, outputHandles); return StatusCode::SUCCESS; -- GitLab