message: Add gaussian fit to hResidualTrend
diff: @@ -1213,7 +1213,17 @@ TH1F* AliHFInvMassFitter::GetResidualsAndPulls(TH1 *hPulls,TH1 *hResidualTrend,T
  hPullsTrend->SetBinError(jst,0.0001);
  }
  }
  - if(hResidualTrend)hResidualTrend->GetXaxis()->SetRange(binmi,binma);
  + if(hResidualTrend){
  + hResidualTrend->GetXaxis()->SetRange(binmi,binma);
  + if(option!=0){
  + TF1 *fgauss=new TF1("signalTermForRes","[0]/TMath::Sqrt(2.*TMath::Pi())/[2]*TMath::Exp(-(x-[1])*(x-[1])/2./[2]/[2])",fHistoInvMass->GetBinLowEdge(1),fHistoInvMass->GetBinLowEdge(fHistoInvMass->GetNbinsX()+1));
  + fgauss->SetParameter(0,fRawYield*fHistoInvMass->GetBinWidth(1));
  + fgauss->SetParameter(1,fMass);
  + fgauss->SetParameter(2,fSigmaSgn);
  + fgauss->SetLineColor(kBlue);
  + hResidualTrend->GetListOfFunctions()->Add(fgauss);
  + }
  + }
  if(hPullsTrend){
  hPullsTrend->GetXaxis()->SetRange(binmi,binma);
  hPullsTrend->SetMinimum(-7);
  