message: Added protection for pT(assoc) axis in D*-h correlation THnSparses
diff: @@ -1268,6 +1268,9 @@ if(fmult){
  weight = DmesonWeight * (1./efficiency);
  }
  + Double_t ptLim_Sparse = ((THnSparseF*)fCorrelationOutput->FindObject(Form("CorrelationsDStarHadron_%d_Multbin_%d",ptbin,Multbin)))->GetAxis(3)->GetXmax(); //all plots have same axes...
  + if(ptHad > ptLim_Sparse) ptHad = ptLim_Sparse-0.01;
  +
  // cout << "crash correlation 5" << endl;
  arraytofill[0] = DeltaPhi;
  arraytofill[1] = deltainvMDStar;
  