Skip to content
Snippets Groups Projects
Commit 1ddca87e authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

TrigEgammaHypo: Avoid EventContext TLS lookups.

Don't fetch EventContext from thread-local storage if we already have
it as an argument.
parent 0a469dfc
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
#include "GaudiKernel/Property.h"
......@@ -82,7 +82,7 @@ StatusCode TrigL2CaloHypoAlgMT::execute( const EventContext& context ) const {
}
d->setObjectLink( "roi", roiELInfo.link );
TrigCompositeUtils::linkToPrevious( d, previousDecision );
TrigCompositeUtils::linkToPrevious( d, previousDecision, context );
ATH_MSG_DEBUG( "Added view, roi, cluster, previous decision to new decision " << counter << " for view " << (*viewELInfo.link)->name() );
counter++;
......
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