Temporary fix
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Oct 2010 11:03:24 +0000 (11:03 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 Oct 2010 11:03:24 +0000 (11:03 +0000)
PWG2/RESONANCES/AliRsnCutPrimaryVertex.cxx

index c6f22bf..c33178c 100644 (file)
@@ -107,11 +107,12 @@ Bool_t AliRsnCutPrimaryVertex::IsSelected(TObject *obj1, TObject* /*obj2*/)
   {
     // lines suggested by Andrea to reject TPC-only events
     if(!aod->GetPrimaryVertexSPD()) return kFALSE;
-    if(!aod->GetPrimaryVertexSPD()->Status()) return kFALSE;
+    //PH    if(!aod->GetPrimaryVertexSPD()->Status()) return kFALSE;
     
     AliAODVertex *prim = (AliAODVertex*)aod->GetPrimaryVertex();
     fCutValueI = prim->GetNContributors();
-    fCutValueD = prim->Zv();
+    //PH    fCutValueD = prim->Zv();
+    fCutValueD = prim->GetZ();
   }
   else
     return kFALSE;