Skip to content

Commit 5f914f4

Browse files
committed
[ntuple] RNTupleModel move out of Experimental
1 parent 34d1d71 commit 5f914f4

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

root/io/hadd/hadd_gen_input_files.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void hadd_gen_input_files(const char *fnamePrefix = "hadd_input")
2222
h.Write();
2323
}
2424
if (i > 1) {
25-
auto model = RNTupleModel::Create();
25+
auto model = ROOT::RNTupleModel::Create();
2626
auto p = model->MakeField<char>("c");
2727
auto writer = RNTupleWriter::Append(std::move(model), "ntpl", *file);
2828
*p = 22;

root/io/hadd/merge_changeComp_check_output.C

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include <ROOT/RLogger.hxx>
2-
#include <ROOT/RNTupleModel.hxx>
32
#include <ROOT/RNTupleReader.hxx>
43
#include <ROOT/RNTupleWriter.hxx>
54
#include <ROOT/RPageStorageFile.hxx>

root/io/hadd/merge_gen_input_tuples.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void merge_gen_input_tuples(const char *fname1 = "test_rntuple_input1.root", con
1515
using namespace ROOT::Experimental;
1616

1717
{
18-
auto model = RNTupleModel::Create();
18+
auto model = ROOT::RNTupleModel::Create();
1919
auto fi = model->MakeField<int>("I");
2020
auto fl = model->MakeField<long>("L");
2121
auto opts = ROOT::RNTupleWriteOptions{};
@@ -28,7 +28,7 @@ void merge_gen_input_tuples(const char *fname1 = "test_rntuple_input1.root", con
2828
}
2929
}
3030
{
31-
auto model = RNTupleModel::Create();
31+
auto model = ROOT::RNTupleModel::Create();
3232
auto fi = model->MakeField<int>("I");
3333
auto fl = model->MakeField<long>("L");
3434
auto opts = ROOT::RNTupleWriteOptions{};

root/ntuple/basics.C

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@
1010

1111
void basics()
1212
{
13-
using ROOT::Experimental::RNTupleModel;
1413
using ROOT::Experimental::RNTupleWriter;
1514
using ROOT::Experimental::RNTupleReader;
1615

1716
const std::string kFileName{"test_rntuple_basics.root"s};
1817

1918
{
20-
auto model = RNTupleModel::Create();
19+
auto model = ROOT::RNTupleModel::Create();
2120
*model->MakeField<int>("E") = 137;
2221
auto writer = RNTupleWriter::Recreate(std::move(model), "ntpl", kFileName);
2322
writer->Fill();

root/ntuple/makeproject/rntuple/read_rntuple.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include "librntuplestltest/MySTLEvent.h"
44
#include "gtest/gtest.h"
55

6-
using RNTupleModel = ROOT::Experimental::RNTupleModel;
76
using RNTupleReader = ROOT::Experimental::RNTupleReader;
87

98
void check_bitset(const std::bitset<16> &a, const std::bitset<16> &b)

root/ntuple/makeproject/rntuple/write_rntuple.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
#include <ROOT/RNTupleModel.hxx>
33
#include <ROOT/RNTupleWriter.hxx>
44

5-
using RNTupleModel = ROOT::Experimental::RNTupleModel;
65
using RNTupleWriter = ROOT::Experimental::RNTupleWriter;
76

87
int main()
98
{
10-
auto model = RNTupleModel::Create();
9+
auto model = ROOT::RNTupleModel::Create();
1110
auto fldStlEvent = model->MakeField<MySTLEvent>("test");
1211

1312
auto ntuple = RNTupleWriter::Recreate(std::move(model), "events", "ntuple_makeproject_stl_example_rntuple.root");

0 commit comments

Comments
 (0)