Skip to content

Commit cad0be8

Browse files
authored
feat: add imported NanoAOD RNTuple (#186)
1 parent 349c3b0 commit cad0be8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
First, obtain a TTree-based NanoAOD file. Then, run the following commands in ROOT.
2+
3+
```cpp
4+
auto importer = ROOT::Experimental::RNTupleImporter::Create("./cmsopendata2015_ttbar_19980_NANOAOD.root", "Events", "./cmsopendata2015_ttbar_19980_NANOAOD_RNTupleImporter_rntuple_v1-0-0-1.root");
5+
auto c = importer.get();
6+
c->SetMaxEntries(10);
7+
c->Import()
8+
```
Binary file not shown.

0 commit comments

Comments
 (0)