message: remove hardcoded max bin checks
diff: @@ -1166,21 +1166,21 @@ TLorentzVector AliAnalysisTaskLMeeCocktailMC::ApplyResolution(TLorentzVector vec
  //smear pt
  Int_t ptbin=((TH2D*)(fArrResoPt->At(0)))->GetXaxis()->FindBin(pt);
  if(ptbin<1) ptbin=1;
  - if(ptbin>69) ptbin=69;
  + if(ptbin > fArrResoPt->GetLast()) ptbin = fArrResoPt->GetLast();
  Double_t smearing = ((TH1D*)(fArrResoPt->At(ptbin)))->GetRandom() * pt;
  Double_t sPt = pt - smearing;
  //smear eta
  ptbin=((TH2D*)(fArrResoEta->At(0)))->GetXaxis()->FindBin(pt);
  if(ptbin<1) ptbin=1;
  - if(ptbin>76) ptbin=76;
  + if(ptbin > fArrResoEta->GetLast()) ptbin = fArrResoEta->GetLast();
  smearing = ((TH1D*)(fArrResoEta->At(ptbin)))->GetRandom();
  Double_t sEta = eta - smearing;
  //smear phi
  ptbin=((TH2D*)(fArrResoPhi_Pos->At(0)))->GetXaxis()->FindBin(pt);
  if(ptbin<1) ptbin=1;
  - if(ptbin>53) ptbin=53;
  + if(ptbin > fArrResoPhi_Pos->GetLast()) ptbin = fArrResoPhi_Pos->GetLast();
  if(ch>0){
  smearing = ((TH1D*)(fArrResoPhi_Pos->At(ptbin)))->GetRandom();
  }else if(ch<0){
  