]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HBTAN/AliHBTReaderESD.cxx
comments added AliHBTParticle.h
[u/mrichter/AliRoot.git] / HBTAN / AliHBTReaderESD.cxx
index 42dc41f4593a2a135cd06efb848b5a03fee16594..03f18847f9c161374c8af15d113fbc416ee755e8 100644 (file)
@@ -141,8 +141,7 @@ Int_t AliHBTReaderESD::ReadNext()
            continue;
          }
         
-        //if (esdtrack->HasVertexParameters() == kFALSE) 
-        if ((esdtrack->GetStatus() & AliESDtrack::kITSrefit) == kFALSE)
+        if (esdtrack->HasVertexParameters() == kFALSE)
          {
            if (AliHBTParticle::fgDebug > 2) 
              Info("ReadNext","Particle skipped: Data at vertex not available.");
@@ -157,10 +156,8 @@ Int_t AliHBTReaderESD::ReadNext()
          }
        
         esdtrack->GetESDpid(pidtable);
-        //esdtrack->GetVertexPxPyPz(mom[0],mom[1],mom[2]); 
-        esdtrack->GetPxPyPz(mom);
-        //esdtrack->GetVertexXYZ(pos[0],pos[1],pos[2]);
-        esdtrack->GetXYZ(pos);
+        esdtrack->GetVertexPxPyPz(mom[0],mom[1],mom[2]);
+        esdtrack->GetVertexXYZ(pos[0],pos[1],pos[2]);
         
         Double_t extx;
         Double_t extp[5];