]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixing bug in the Kalman update of the covariance matrix (M.Ivanov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Nov 2005 13:26:23 +0000 (13:26 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Nov 2005 13:26:23 +0000 (13:26 +0000)
TRD/AliTRDtrack.cxx

index f6534dac85b80b8e22b3f4cd0eb83554827b5aa2..6bea33ef61744fb4ec77ce273c72bad362c2172a 100644 (file)
@@ -671,8 +671,9 @@ Int_t AliTRDtrack::Update(const AliTRDcluster *c, Double_t chisq, UInt_t index,
 
     r00=c->GetSigmaY2()+errang+add, r01=0., r11=c->GetSigmaZ2()*xu_factor; 
     r00+=(fCyy+2.0*h01*fCzy+h01*h01*fCzz);
+    r01+=(fCzy+h01*fCzz);
+    r11+=fCzz;
 
-    r01+=(fCzy+h01*fCzz);  
     det=r00*r11 - r01*r01;
     tmp=r00; r00=r11/det; r11=tmp/det; r01=-r01/det;