message: Do not write non-existing list
diff: @@ -887,6 +887,8 @@ void AliAnalysisTaskgg::UserExec(Option_t *)
  //________________________________________________________________________
  void AliAnalysisTaskgg::Terminate(Option_t *)
  {
  + if(!fOutputContainer)
  + return ;
  TFile fout("histos.root","recreate") ;
  // Draw result to the screen
  @@ -898,6 +900,7 @@ void AliAnalysisTaskgg::Terminate(Option_t *)
  fout.Close() ;
  fOutputContainer->Delete() ;
  +
  }
  //_____________________________________________________________________________
  