message: in case of charged jets, allow charged background computations
diff: @@ -285,7 +285,7 @@ void AliAnalysisTaskEmcalJetPerformance::AllocateJetHistograms()
  // (Centrality, pT, NEF)
  Int_t nbinsx = 20; Int_t minx = 0; Int_t maxx = 100;
  - Int_t nbinsy = nPtBins; Int_t miny = 0; Int_t maxy = fMaxPt;
  + Int_t nbinsy = fMaxPt; Int_t miny = 0; Int_t maxy = fMaxPt;
  Int_t nbinsz = 50; Int_t minz = 0; Int_t maxz = 1.;
  histname = TString::Format("%s/JetHistograms/hNEFVsPtEMCal", jets->GetArrayName().Data());
  @@ -1886,9 +1886,11 @@ void AliAnalysisTaskEmcalJetPerformance::ComputeBackground()
  }
  }
  - // Loop over clusters. Sum the cluster ET:
  + // Loop over clusters, if the jet container is for full jets. Sum the cluster ET:
  // (1) in the EMCal, (2) in the EMCal fiducial volume, (3) in the DCal, (4), in the DCal fiducial volume, (5) in the EMCal random cone, (6) in the DCal random cone
  + if (jetCont->GetArrayName().Contains("Full")) {
  AliClusterContainer* clusCont = GetClusterContainer(0);
  +
  AliTLorentzVector clus;
  Double_t clusEta;
  Double_t clusPhi;
  @@ -1934,6 +1936,7 @@ void AliAnalysisTaskEmcalJetPerformance::ComputeBackground()
  }
  }
  + }
  // Compute the scale factor, as a function of centrality, for (1) EMCal, (2) EMCalfid, (3) DCal, (4) DCalfid
  // (1)
  