]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG0/dNdEta/AlidNdEtaVertexRecEffSelector.cxx
new way of creating the corrections: 3d as function of eta, vtx_z and pt
[u/mrichter/AliRoot.git] / PWG0 / dNdEta / AlidNdEtaVertexRecEffSelector.cxx
index 2bf0fff8b3bdb62a9c139bffc0aad643d77bbfef..4a4cb2e3873a004b9961a3598291d304651e0a34 100644 (file)
@@ -14,6 +14,8 @@
 #include <AliESD.h>
 #include <AliESDVertex.h>
 
+#include "AliPWG0Helper.h"
+
 //
 // This class plots the vertex reconstruction efficiency
 // If a vertex was reconstructed is decided by the function CheckVertex()
@@ -129,7 +131,7 @@ Bool_t AlidNdEtaVertexRecEffSelector::Process(Long64_t entry)
     if (!particle)
       continue;
 
-    if (IsPrimaryCharged(particle, nPrim) == kFALSE)
+    if (AliPWG0Helper::IsPrimaryCharged(particle, nPrim) == kFALSE)
       continue;
 
     if (TMath::Abs(particle->Eta()) < fkEtaRange)