From df8397b2283dcbfbe16c453c77b1ae3ea9e6e397 Mon Sep 17 00:00:00 2001 From: mamerl Date: Fri, 16 Feb 2024 15:25:36 +0100 Subject: [PATCH] Update indentation for BasicEventSelection code block --- Root/BasicEventSelection.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Root/BasicEventSelection.cxx b/Root/BasicEventSelection.cxx index cadb20fae..4076087b2 100644 --- a/Root/BasicEventSelection.cxx +++ b/Root/BasicEventSelection.cxx @@ -1017,13 +1017,13 @@ EL::StatusCode BasicEventSelection :: execute () // Save info for extra triggers // if ( !m_extraTriggerSelection.empty() ) { - - for ( const std::string &trigName : m_extraTriggerSelectionList ) { - auto trigChain = m_trigDecTool_handle->getChainGroup( trigName ); - if ( (m_isTLAData && trigChain->isPassed(TrigDefs::requireDecision)) || (!m_isTLAData && trigChain->isPassed()) ) { - passedTriggers.push_back( trigName ); - triggerPrescales.push_back( trigChain->getPrescale() ); - + + for ( const std::string &trigName : m_extraTriggerSelectionList ) { + auto trigChain = m_trigDecTool_handle->getChainGroup( trigName ); + if ( (m_isTLAData && trigChain->isPassed(TrigDefs::requireDecision)) || (!m_isTLAData && trigChain->isPassed()) ) { + passedTriggers.push_back( trigName ); + triggerPrescales.push_back( trigChain->getPrescale() ); + bool doLumiPrescale = true; for ( const std::string &trigPart : trigChain->getListOfTriggers() ) { if (std::find(m_triggerUnprescaleList.begin(), m_triggerUnprescaleList.end(), trigPart) == m_triggerUnprescaleList.end()) doLumiPrescale = false; @@ -1036,9 +1036,9 @@ EL::StatusCode BasicEventSelection :: execute () } isPassedBitsNames.push_back( trigName ); - isPassedBits .push_back( m_trigDecTool_handle->isPassedBits(trigName) ); - if(trigChain->getPrescale()<1) disabledTriggers.push_back( trigName ); - } + isPassedBits .push_back( m_trigDecTool_handle->isPassedBits(trigName) ); + if(trigChain->getPrescale()<1) disabledTriggers.push_back( trigName ); + } } static SG::AuxElement::Decorator< std::vector< std::string > > dec_passedTriggers("passedTriggers");