You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGHF/D2H/Macros/HFInvMassFitter.cxx
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -238,7 +238,7 @@ void HFInvMassFitter::doFit()
238
238
// estimate signal yield
239
239
RooAbsReal* bkgIntegral = mBkgPdf->createIntegral(*mass, NormSet(*mass), Range("bkg")); // bkg integral
240
240
mIntegralBkg = bkgIntegral->getValV(); // fraction of BG's integral in "bkg" range out of that in "full" range (which is 1 by construction). Not an absolute value.
241
-
double estimatedSignal;
241
+
double estimatedSignal{};
242
242
checkForSignal(estimatedSignal); // SIG's absolute integral in "bkg" range
243
243
calculateBackground(mBkgYield, mBkgYieldErr); // BG's absolute integral in "bkg" range
0 commit comments