]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCtrackerMI.cxx
svn ci AliTPCtrackerMI.cxx AliTPCRecoParam.cxx AliTPCRecoParam.h
[u/mrichter/AliRoot.git] / TPC / AliTPCtrackerMI.cxx
index 2560cd8f6a04430640a104fe29287a5cac860e73..de46c5d5a218e770391ec2729faa0f46cad311d8 100644 (file)
@@ -695,6 +695,10 @@ Double_t AliTPCtrackerMI::ErrY2(AliTPCseed* seed, const AliTPCclusterMI * cl){
     erry2+=0.5;  // edge cluster
   }
   erry2*=erry2;
+  Double_t addErr=0;
+  const Double_t *errInner = AliTPCReconstructor::GetRecoParam()->GetSystematicErrorClusterInner();
+  addErr=errInner[0]*TMath::Exp(-TMath::Abs(cl->GetX()-85.)/errInner[2]);
+  erry2+=addErr*addErr;
   seed->SetErrorY2(erry2);
   //
   return erry2;
@@ -847,6 +851,10 @@ Double_t AliTPCtrackerMI::ErrZ2(AliTPCseed* seed, const AliTPCclusterMI * cl){
     errz2+=0.5;  // edge cluster
   }
   errz2*=errz2;
+  Double_t addErr=0;
+  const Double_t *errInner = AliTPCReconstructor::GetRecoParam()->GetSystematicErrorClusterInner();
+  addErr=errInner[0]*TMath::Exp(-TMath::Abs(cl->GetX()-85.)/errInner[2]);
+  errz2+=addErr*addErr;
   seed->SetErrorZ2(errz2);
   //
   return errz2;