Skip to content

Commit

Permalink
Merge pull request #36903 from smuzaffar/root6-fix
Browse files Browse the repository at this point in the history
[ROOT6] Fix needed for root master to explicitly pass RooCmdArg
  • Loading branch information
cmsbuild authored Feb 7, 2022
2 parents 26c2f1c + 50c4148 commit 2d33c7a
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 2d33c7a

Please sign in to comment.