Skip to content
Snippets Groups Projects
Commit 34374894 authored by Tomasz Bold's avatar Tomasz Bold
Browse files

Fixed decisions storage for FS RoI

parent 824c8402
No related branches found
No related tags found
No related merge requests found
......@@ -125,10 +125,13 @@ StatusCode L1Decoder::execute (const EventContext& ctx) const {
// for now all the chains that were pre-scaled out are set to re-run in the second pass
HLT::IDVec rerunChains = prescaledChains; // Perform copy of vector<uint32_t>
ATH_CHECK( saveChainsInfo( rerunChains, chainsInfo, "rerun" ) );
{
SG::WriteHandle<DecisionContainer> handleFSDecisions = createAndStore(m_FSDecisions, ctx);
ATH_CHECK( saveChainsInfo( activeChains, handleFSDecisions.ptr(), "unprescaled") );
handleFSDecisions.ptr()->at(0)->setObjectLink( "initialRoI", ElementLink<TrigRoiDescriptorCollection>( m_trigFSRoIKey.key(), 0 ) );
auto decision = TrigCompositeUtils::newDecisionIn( handleFSDecisions.ptr(), "L1" );
for ( auto chain: activeChains )
TrigCompositeUtils::addDecisionID( chain, decision );
decision->setObjectLink( "initialRoI", ElementLink<TrigRoiDescriptorCollection>( m_trigFSRoIKey.key(), 0 ) );
}
// Do cost monitoring, this utilises the HLT_costmonitor chain
if (m_enableCostMonitoring) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment