]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Tracks that can be removed from ESD by the cleaning procedure are not anymore include...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 May 2008 21:32:21 +0000 (21:32 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 May 2008 21:32:21 +0000 (21:32 +0000)
TPC/AliTPCComparison.C

index 3c40e2e680c9fd1a2cf130781e4019eba0bb6745..d9dd6b32c480eed6bd44453989a01a623df66a24 100644 (file)
@@ -553,8 +553,9 @@ Int_t GoodTracksTPC(const Char_t *dir) {
         if (p->Pt()<0.100) continue;
         if (TMath::Abs(p->Pz()/p->Pt())>0.999) continue;
 
-        Double_t vx=p->Vx(),vy=p->Vy();
+        Double_t vx=p->Vx(),vy=p->Vy(),vz=p->Vz();
         if (TMath::Sqrt(vx*vx+vy*vy)>3.5) continue;
+        if (TMath::Abs(vz) > 50.) continue;
 
         AliTrackReference *ref=new((*refs)[nt]) AliTrackReference();