From bfe94293d321690ecdabdd2004c22fc177010947 Mon Sep 17 00:00:00 2001
From: Daniel Campora <dcampora@cern.ch>
Date: Tue, 28 Nov 2017 11:18:41 +0100
Subject: [PATCH] Added resetFilterStatus to first node.

---
 Tr/TrackFitter/src/TrackMasterFitter.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Tr/TrackFitter/src/TrackMasterFitter.cpp b/Tr/TrackFitter/src/TrackMasterFitter.cpp
index e856a4b24c5..e475c89b003 100644
--- a/Tr/TrackFitter/src/TrackMasterFitter.cpp
+++ b/Tr/TrackFitter/src/TrackMasterFitter.cpp
@@ -863,6 +863,8 @@ StatusCode TrackMasterFitter::updateTransport(LHCb::Track& track) const
     auto inode = nodes.begin() ;
     const LHCb::StateVector* refvector = &((*inode)->refVector()) ;
     TrackMatrix F =  ROOT::Math::SMatrixIdentity() ;
+    // Reset the first node
+    (*inode)->resetFilterStatus();
     for(++inode; inode!=nodes.end() && sc.isSuccess() ; ++inode) {
 
       FitNode* node = *inode ;
-- 
GitLab