message: Fix in case background only fit failed
diff: @@ -440,6 +440,7 @@ Bool_t AliHFInvMassMultiTrialFit::DoMultiTrials(TH1D* hInvMassHisto, TPad* thePa
  printf("****** START FIT OF HISTO %s WITH REBIN %d FIRST BIN %d MASS RANGE %f-%f BACKGROUND FIT FUNCTION=%d CONFIG SIGMA/MEAN=%d %d\n",hInvMassHisto->GetName(),rebin,iFirstBin,minMassForFit,maxMassForFit,typeb,igs,igm);
  out=fitter->MassFitter(0);
  chisq=fitter->GetReducedChiSquare();
  + if(out){
  fitter->Significance(fnSigmaForBkgEval,significance,erSignif);
  sigma=fitter->GetSigma();
  pos=fitter->GetMean();
  @@ -454,7 +455,7 @@ Bool_t AliHFInvMassMultiTrialFit::DoMultiTrials(TH1D* hInvMassHisto, TPad* thePa
  Double_t minval = hInvMassHisto->GetXaxis()->GetBinLowEdge(hInvMassHisto->FindBin(pos-fnSigmaForBkgEval*sigma));
  Double_t maxval = hInvMassHisto->GetXaxis()->GetBinUpEdge(hInvMassHisto->FindBin(pos+fnSigmaForBkgEval*sigma));
  fitter->Background(minval,maxval,bkgBEdge,erbkgBEdge);
  - if(out && fDrawIndividualFits && thePad){
  + if(fDrawIndividualFits && thePad){
  thePad->Clear();
  fitter->DrawHere(thePad, fnSigmaForBkgEval);
  fMassFitters.push_back(fitter);
  @@ -463,6 +464,7 @@ Bool_t AliHFInvMassMultiTrialFit::DoMultiTrials(TH1D* hInvMassHisto, TPad* thePa
  thePad->SaveAs(Form("FitOutput_%s_Trial%d.%s",hInvMassHisto->GetName(),globBin, format.c_str()));
  }
  }
  + }
  }
  xnt[8]=chisq;
  if(out && chisq>0. && sigma>0.5*fSigmaGausMC && sigma<2.0*fSigmaGausMC){
  