removing the setting of AOD track references for TPC only tracks
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskESDfilter.cxx
index d13f5141e6443b90bc9aea678fe8d723ddabb977..2a1b7ca57128d773f750797b0cbd3747c5e9b957 100644 (file)
@@ -221,8 +221,8 @@ void AliAnalysisTaskESDfilter::ConvertESDtoAOD() {
 //\r
 //\r
     Int_t nV0s      = esd->GetNumberOfV0s();\r
-    Int_t nCascades = esd->GetNumberOfCascades();\r
-    Int_t nKinks    = esd->GetNumberOfKinks();\r
+    Int_t nCascades = 0; // esd->GetNumberOfCascades();\r
+    Int_t nKinks    = 0; // esd->GetNumberOfKinks();\r
     Int_t nVertices = nV0s + nCascades /*V0 wihtin cascade already counted*/+ nKinks + 1 /* = prim. vtx*/;\r
     Int_t nPileSPDVertices=1+esd->GetNumberOfPileupVerticesSPD(); // also SPD main vertex\r
     Int_t nPileTrkVertices=esd->GetNumberOfPileupVerticesTracks();\r
@@ -1243,8 +1243,6 @@ void AliAnalysisTaskESDfilter::ConvertESDtoAOD() {
        aodTrack->SetTPCSharedMap (track->GetTPCSharedMap());\r
        aodTrack->SetChi2perNDF(Chi2perNDF(track));\r
        aodTrack->SetFlags(track->GetStatus());\r
-       aodTrackRefs->AddAt(aodTrack, nTrack);\r
-       \r
        delete track;\r
       } // end of loop on tracks\r
       \r