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");