Skip to content

Commit

Permalink
Update indentation for BasicEventSelection code block
Browse files Browse the repository at this point in the history
  • Loading branch information
mamerl committed Feb 16, 2024
1 parent ae1f616 commit df8397b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Root/BasicEventSelection.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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");
Expand Down

0 comments on commit df8397b

Please sign in to comment.