message: Extend bound sigma and mean to all signal configurations
diff: @@ -623,9 +623,11 @@ TF1* AliHFInvMassFitter::CreateSignalFitFunction(TString fname, Double_t integsi
  if(fFixedRawYield>-0.1) funcsig->FixParameter(0,fFixedRawYield);
  funcsig->SetParameter(1,fMass);
  if(fFixedMean) funcsig->FixParameter(1,fMass);
  + if(fBoundMean) funcsig->SetParLimits(1,fMassLowerLim, fMassUpperLim);
  funcsig->SetParameter(2,fSigmaSgn);
  funcsig->SetParLimits(2,0.004,0.05);
  if(fFixedSigma) funcsig->FixParameter(2,fSigmaSgn);
  + if(fBoundSigma) funcsig->SetParLimits(2,fSigmaVar*(1-fParSig), fSigmaVar*(1+fParSig));
  funcsig->SetParameter(3,fFrac2Gaus);
  if(fFixedFrac2Gaus) funcsig->FixParameter(3,fFrac2Gaus);
  else funcsig->SetParLimits(3,0.,1.);
  @@ -639,9 +641,11 @@ TF1* AliHFInvMassFitter::CreateSignalFitFunction(TString fname, Double_t integsi
  if(fFixedRawYield>-0.1) funcsig->FixParameter(0,fFixedRawYield);
  funcsig->SetParameter(1,fMass);
  if(fFixedMean) funcsig->FixParameter(1,fMass);
  + if(fBoundMean) funcsig->SetParLimits(1,fMassLowerLim, fMassUpperLim);
  funcsig->SetParameter(2,fSigmaSgn);
  funcsig->SetParLimits(2,0.004,0.05);
  if(fFixedSigma) funcsig->FixParameter(2,fSigmaSgn);
  + if(fBoundSigma) funcsig->SetParLimits(2,fSigmaVar*(1-fParSig), fSigmaVar*(1+fParSig));
  funcsig->SetParameter(3,fFrac2Gaus);
  if(fFixedFrac2Gaus) funcsig->FixParameter(3,fFrac2Gaus);
  else funcsig->SetParLimits(3,0.,1.);
  