Skip to content

Commit 840f93d

Browse files
committed
Avoid using deprecated SetExportOnly
1 parent a6034f2 commit 840f93d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

root/roofit/histfactory/TestWorkspaces.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ TestWorkspaces::getWorkspace001(RooStats::HistFactory::HistoToWorkspaceFactoryFa
4040

4141
meas.SetLumi(1.0);
4242
meas.SetLumiRelErr(0.10);
43-
meas.SetExportOnly(false);
4443
meas.SetBinHigh(2);
4544

4645
// Create a channel
@@ -78,8 +77,6 @@ TestWorkspaces::getWorkspace001(RooStats::HistFactory::HistoToWorkspaceFactoryFa
7877
meas.CollectHistograms();
7978
meas.PrintTree(oocoutI(nullptr, HistFactory));
8079

81-
meas.SetExportOnly(true);
82-
8380
// Now, do the measurement
8481
return std::unique_ptr<RooWorkspace>{MakeModelAndMeasurementFast(meas, cfg)};
8582
}

0 commit comments

Comments
 (0)