message: plot either correlation or QA histograms. Otherwise memory issues
diff: @@ -412,7 +412,8 @@ void AliAnalysisTaskGammaHadron::UserCreateOutputObjects()
  maxThn[dimThn] = centBinArray[nCentHistBins];
  dimThn++;
  }
  -
  + if(fPlotQA!=1)
  + {
  fCorrVsManyThings = new THnSparseF("CorrVsManyThings", "CorrVsManyThings", dimThn, nbinsThn, minThn, maxThn);
  for(Int_t i=0;i<dimThn;i++)
  {
  @@ -421,6 +422,7 @@ void AliAnalysisTaskGammaHadron::UserCreateOutputObjects()
  }
  //fCorrVsManyThings->Sumw2();
  fOutput->Add(fCorrVsManyThings);
  + }
  if ( fGammaOrPi0 ) { // Don't necessarily need this for Gamma analysis
  @@ -497,6 +499,8 @@ void AliAnalysisTaskGammaHadron::UserCreateOutputObjects()
  }
  + // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  + // THn Sparse for the Cluster properties
  // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  // THn Sparse for the Cluster properties
  // Dimensions are Cluster Energy
  @@ -1463,7 +1467,7 @@ void AliAnalysisTaskGammaHadron::FillGhHisograms(Int_t identifier,AliTLorentzVec
  if(G_PT_Value>=ClusterEcut)
  {
  - if(identifier==0)fCorrVsManyThings ->Fill(valueArray,Weight);
  + if(identifier==0 && fPlotQA!=1)fCorrVsManyThings ->Fill(valueArray,Weight);
  //..Histograms to test the binning
  fHistBinCheckPt[identifier] ->Fill(G_PT_Value,Weight);
  