message: Fixing loop over associated particles
diff: @@ -131,6 +131,7 @@ void AliAnalysisTaskEmcalTriggerJets::UserCreateOutputObjects(){
  300., 0., 30., 150., 0., 1.5);
  // PID plots in bins of the jet radius
  + if(radius == 4) {
  for(int ir = 0; ir < kNJetRadiusBins; ir++){
  fHistos->CreateTH2("hTPCdEdxFullJet" + TString::Format("DMin%dDMax%dPtMin%dPtMax%d", int(kRadiusBins[ir]*10.), int(kRadiusBins[ir+1]*10.), kJetPtBins[ib], kJetPtBins[ib+1]) + det + t,
  "TPC dE/dx vs. p for particles with " + TString::Format("%.1f < d < %.1f and %d < p_{t} < %d", kRadiusBins[ir], kRadiusBins[ir+1], kJetPtBins[ib], kJetPtBins[ib+1]) + " in " + det + " for trigger " + t,
  @@ -148,6 +149,7 @@ void AliAnalysisTaskEmcalTriggerJets::UserCreateOutputObjects(){
  }
  }
  }
  + }
  for(auto h : *(fHistos->GetListOfHistograms())){
  fOutput->Add(h);
  }
  @@ -300,7 +302,7 @@ void AliAnalysisTaskEmcalTriggerJets::FillJetPIDPlotsLeading(const AliVTrack *le
  void AliAnalysisTaskEmcalTriggerJets::FillPIDCorrelationPlot(const AliEmcalJet *jet, const AliTrackContainer *particles, const char *trigger, const char *detector) {
  const int kNJetPtBins = 9;
  - const int kNRadiusBins = 8;
  + const int kNRadiusBins = 7;
  const std::array<int, kNJetPtBins+1> kJetPtBins = {20, 40, 60, 80, 100, 120, 140, 160, 180, 200};
  const std::array<double, kNRadiusBins+1> kRadiusBins = {0., 0.1, 0.2, 0.3, 0.4, 0.6, 0.8, 1.};
  int jetptbin = -1;
  @@ -312,7 +314,8 @@ void AliAnalysisTaskEmcalTriggerJets::FillPIDCorrelationPlot(const AliEmcalJet *
  }
  if(jetptbin < 0) return;
  - for(auto track : particles->all()) {
  + for(auto it : *(particles->GetArray())) {
  + AliVTrack *track = static_cast<AliVTrack *>(it);
  if(track->IsA() == AliAODTrack::Class()) {
  AliAODTrack *aodtrack = static_cast<AliAODTrack *>(track);
  if(!(aodtrack->IsHybridGlobalConstrainedGlobal() || aodtrack->IsHybridTPCConstrainedGlobal())) continue;
  