Bug fix
authorbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Feb 2008 14:20:39 +0000 (14:20 +0000)
committerbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Feb 2008 14:20:39 +0000 (14:20 +0000)
STEER/AliESDEvent.cxx

index 015450d..368957b 100644 (file)
@@ -657,9 +657,8 @@ Bool_t AliESDEvent::Clean(Float_t *cleanPars) {
     Float_t dca=v0->GetDcaV0Daughters();
     Float_t csp=v0->GetV0CosineOfPointingAngle();
     Float_t cspcut=cspMin + dca/dcaMax*(1.-cspMin);
-    if (csp > cspcut){
-      if (RemoveV0(i)) rc=kTRUE;
-    }
+    if (csp > cspcut) continue;
+    if (RemoveV0(i)) rc=kTRUE;
   }