From faad9f0e7c86103346bbeef98921b102effea2a6 Mon Sep 17 00:00:00 2001
From: scott snyder <sss@karma>
Date: Sun, 2 Jun 2019 18:09:13 +0200
Subject: [PATCH] TrigBphysHypo: Avoid EventContext TLS lookup.

Avoid looking up EventContext in TLS when it is already available
as a function argument.
---
 Trigger/TrigHypothesis/TrigBphysHypo/src/TrigMultiTrkHypoMT.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Trigger/TrigHypothesis/TrigBphysHypo/src/TrigMultiTrkHypoMT.cxx b/Trigger/TrigHypothesis/TrigBphysHypo/src/TrigMultiTrkHypoMT.cxx
index 452c10ff52d..5aab7c72ff7 100644
--- a/Trigger/TrigHypothesis/TrigBphysHypo/src/TrigMultiTrkHypoMT.cxx
+++ b/Trigger/TrigHypothesis/TrigBphysHypo/src/TrigMultiTrkHypoMT.cxx
@@ -315,7 +315,7 @@ StatusCode TrigMultiTrkHypoMT::execute( const EventContext& context) const
         	// If you needed to re-map the previous decision(s), then call decisionIDs once
         	// for each previous decision
         	// if the same previous decision is called twice, that's fine - internally takes care of that
-        	linkToPrevious( newDecision, previousDecision );
+        	linkToPrevious( newDecision, previousDecision, context );
         	if(itrk == 0 ){
         		decisionIDs(previousDecision, previousDecisionIDs0);
 			}else{
-- 
GitLab