Skip to content

Commit

Permalink
Avoid using deprecated SetExportOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
guitargeek committed Nov 12, 2024
1 parent a6034f2 commit 840f93d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions root/roofit/histfactory/TestWorkspaces.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ TestWorkspaces::getWorkspace001(RooStats::HistFactory::HistoToWorkspaceFactoryFa

meas.SetLumi(1.0);
meas.SetLumiRelErr(0.10);
meas.SetExportOnly(false);
meas.SetBinHigh(2);

// Create a channel
Expand Down Expand Up @@ -78,8 +77,6 @@ TestWorkspaces::getWorkspace001(RooStats::HistFactory::HistoToWorkspaceFactoryFa
meas.CollectHistograms();
meas.PrintTree(oocoutI(nullptr, HistFactory));

meas.SetExportOnly(true);

// Now, do the measurement
return std::unique_ptr<RooWorkspace>{MakeModelAndMeasurementFast(meas, cfg)};
}

0 comments on commit 840f93d

Please sign in to comment.