bug fix for new task PWGGA/GammaConv/AliAnalysisTaskNeutralMesonToPiPlPiMiPiZero.cxx
authorfbock <friederike.bock@cern.ch>
Tue, 5 Aug 2014 12:22:34 +0000 (14:22 +0200)
committerfbock <friederike.bock@cern.ch>
Tue, 5 Aug 2014 12:22:34 +0000 (14:22 +0200)
PWGGA/GammaConv/AliAnalysisTaskNeutralMesonToPiPlPiMiPiZero.cxx

index 0c93e34..aa114a4 100644 (file)
@@ -713,7 +713,10 @@ void AliAnalysisTaskNeutralMesonToPiPlPiMiPiZero::UserExec(Option_t *){
 //             UpdateEventByEventData();
                                
                fGoodGammas->Clear(); // delete this cuts good gammas
-               if(fNeutralPionCandidates->GetEntries()>0) fNeutralPionCandidates->Clear();
+//             if (fNeutralPionCandidates->GetEntries()>0)cout << "##################################"<<  fNeutralPionCandidates->GetEntries() << endl;
+               if(fNeutralPionCandidates->GetEntries()>0){
+                       fNeutralPionCandidates->Clear();
+               }       
                fGoodVirtualParticles->Clear(); // delete this cuts good gammas
        }