TObjArray* bgCalo = 0;
// Check if the particle is isolated in the mixed event, it not, do not fill the histograms
- if(OnlyIsolated() || fFillNeutralEventMixPool)
+ if((OnlyIsolated() || fFillNeutralEventMixPool) && poolCalo)
{
if(pool->GetSize()!=poolCalo->GetSize())
printf("AliAnaParticleHadronCorrelationNew::MakeChargedMixCorrelation() - Different size of calo and track pools\n");
TH2F * fhPhiLeading; //! phi distribution vs pT of leading particles
TH2F * fhEtaLeading; //! eta distribution vs pT of leading particles
- TH1F * fhPtLeadingMC[6]; //! pT distribution of leading particles, check the origin of the cluster : decay photon (pi0, eta, other), merged photon (pi0), hadron, rest of photons (prompt, FSR, ISR)
+ TH1F * fhPtLeadingMC[7]; //! pT distribution of leading particles, check the origin of the cluster : "Photon","Pi0","Pi0Decay","EtaDecay","OtherDecay","Electron","Hadron"
TH2F * fhPtLeadingCentrality; //! pT distribution of leading particles vs centrality
TH2F * fhPtLeadingEventPlane; //! pT distribution of leading particles vs centrality