Skip to content

Commit 4166846

Browse files
committed
use the same sigma for sgn and bg in 2-gaus
1 parent a1bc66f commit 4166846

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGHF/D2H/Macros/HFInvMassFitter.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ std::pair<double, double> HFInvMassFitter::getRangesOfSignal() const
778778
return std::make_pair(mMinMass, mMaxMass);
779779
} else {
780780
const double mean = mRooMeanSgn->getVal();
781-
const double sigma = mRooSigmaSgn->getVal();
781+
const double sigma = mRooSecSigmaSgn->getVal();
782782
return std::make_pair(mean - mNSigmaForSgn * sigma, mean + mNSigmaForSgn * sigma);
783783
}
784784
}

0 commit comments

Comments
 (0)