Commit 9eaf9605 authored by Shahid Khan's avatar Shahid Khan
Browse files

sometimes the sigmas can be smaller than the limits provided by the original...

sometimes the sigmas can be smaller than the limits provided by the original class, that's why the limits have been updated
parent 28342a77
......@@ -613,14 +613,14 @@ TF1* AliHFInvMassFitter::CreateSignalFitFunction(TString fname, Double_t integsi
funcsig->SetParameter(1,fMass);
if(fFixedMean) funcsig->FixParameter(1,fMass);
funcsig->SetParameter(2,fSigmaSgn);
funcsig->SetParLimits(2,0.001,0.05);
funcsig->SetParLimits(2,0.0000001,0.5);
if(fFixedSigma) funcsig->FixParameter(2,fSigmaSgn);
funcsig->SetParameter(3,fFrac2Gaus);
if(fFixedFrac2Gaus) funcsig->FixParameter(3,fFrac2Gaus);
else funcsig->SetParLimits(3,0.,1.);
funcsig->SetParameter(4,fSigmaSgn2Gaus);
if(fFixedSigma2Gaus) funcsig->FixParameter(4,fSigmaSgn2Gaus);
else funcsig->SetParLimits(4,0.001,0.05);
else funcsig->SetParLimits(4,0.0000001,0.5);
funcsig->SetParNames("SgnInt","Mean","Sigma1","Frac","Sigma2");
}
if(fTypeOfFit4Sgn==k2GausSigmaRatioPar){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment