X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PWGPP%2FTRD%2FAliTRDcheckESD.cxx;h=65d57bce4797a20e7f2ee3e2ce38190a1c829e43;hb=351a983151ee1c376912caf0fb95c1b254f82ed4;hp=442d8d784e085887a5450fcf2ab6e98f69f1e118;hpb=c34553fd97ea5d3073a585f29f37c43b7a717d1e;p=u%2Fmrichter%2FAliRoot.git diff --git a/PWGPP/TRD/AliTRDcheckESD.cxx b/PWGPP/TRD/AliTRDcheckESD.cxx index 442d8d784e0..65d57bce479 100644 --- a/PWGPP/TRD/AliTRDcheckESD.cxx +++ b/PWGPP/TRD/AliTRDcheckESD.cxx @@ -416,13 +416,13 @@ void AliTRDcheckESD::UserExec(Option_t *){ for(Int_t i=0;iStack())){ + if(!fMC->Stack()){ AliWarning("MC stack missing"); SetMC(kFALSE); } @@ -677,6 +677,8 @@ void AliTRDcheckESD::FillCFContainer(AliCFContainer* cf, Double_t* values, Bool_ } if(stepSelections[stepNo]) cf->Fill(cfValues, istep); } // end loop over steps + + delete [] cfValues; } //____________________________________________________________________ @@ -1724,7 +1726,7 @@ void AliTRDcheckESD::PlotPidSummaryFromCF(Double_t* trendValues, const Char_t* / //__________________________________________________________________________________________________ -void AliTRDcheckESD::PlotOtherSummaryFromCF(Double_t* trendValues) { +void AliTRDcheckESD::PlotOtherSummaryFromCF(Double_t* /*trendValues*/) { // // //