Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions roofit/roofitcore/test/testRooDataSet.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ TEST(RooDataSet, ReducingData)
for (int i = 0; i < 3; ++i) {
// Check with root:
TH1F test_hist(("h" + std::to_string(i)).c_str(), "histo", 10, massmin, massmax);
test_hist.SetDirectory(gDirectory); // TTree::Draw needs to find the histogram
chi2cutval += 0.5;

std::stringstream cutString;
Expand Down Expand Up @@ -439,6 +440,7 @@ TEST(RooDataSet, SplitDataSetWithWeightErrors)
TEST(RooDataSet, ReadDataSetWithErrors626)
{
std::unique_ptr<TFile> file{TFile::Open("dataSet_with_errors_6_26_10.root", "READ")};
ASSERT_NE(file, nullptr);

auto data = file->Get<RooDataSet>("data");

Expand Down
Loading