Bug fix (Roberta)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Apr 2008 13:03:04 +0000 (13:03 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 11 Apr 2008 13:03:04 +0000 (13:03 +0000)
ANALYSIS/AliAnalysisTaskESDfilter.cxx

index 83647cb9ba3cc06bc8a6bd9f2067829bdd04c4f0..8d9583017b8dacd690c6722796afc05df86a2c69 100644 (file)
@@ -760,7 +760,7 @@ void AliAnalysisTaskESDfilter::ConvertESDtoAOD() {
        // has to be changed once the muon pid is provided by the ESD
        for (Int_t i = 0; i < 10; pid[i++] = 0.); pid[AliAODTrack::kMuon]=1.;
        
-       primary->AddDaughter(
+       primary->AddDaughter(aodTrack =
            new(tracks[jTracks++]) AliAODTrack(0, // no ID provided
                                               0, // no label provided
                                               p,