]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/qaRec/AliTRDtrackInfoGen.cxx
Store number of TRD tracklets on ESD for tracking and PID. Reuse data
[u/mrichter/AliRoot.git] / TRD / qaRec / AliTRDtrackInfoGen.cxx
index 3ee8dff9244a942997df867755c63fbc1a87e2e4..d462867fdb107f2d53b715d1d8483eb4fe118e3e 100644 (file)
@@ -251,7 +251,7 @@ void AliTRDtrackInfoGen::Exec(Option_t *){
     fTrackInfo->SetTrackId(esdTrack->GetID());
     Double_t p[AliPID::kSPECIES]; esdTrack->GetTRDpid(p);
     fTrackInfo->SetESDpid(p);
-    fTrackInfo->SetESDpidQuality(esdTrack->GetTRDpidQuality());
+    fTrackInfo->SetESDpidQuality(esdTrack->GetTRDntrackletsPID());
     fTrackInfo->SetLabel(label);
     fTrackInfo->SetNumberOfClustersRefit(esdTrack->GetNcls(2));
     // some other Informations which we may wish to store in order to find problematic cases