Skip to content

Commit

Permalink
[ROOT6] Fix needed for root master to explicitly pass RooCmdArg
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 7, 2022
1 parent 67745e1 commit 50c4148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/Utilities/src/SideBandSubtraction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ int SideBandSubtract::doGlobalFit() {
cout << "Beginning SideBand Subtraction\n";

if (ModelPDF != nullptr && Data != nullptr && SeparationVariable != nullptr) {
fit_result = ModelPDF->fitTo(*Data, "r");
fit_result = ModelPDF->fitTo(*Data, RooCmdArg("r", 0));
} else {
cerr << "ERROR: doGobalFit, no ModelPDF, SeparationVariable or Data specified\n";
return -1;
Expand Down

0 comments on commit 50c4148

Please sign in to comment.