Skip to content

Commit

Permalink
Added some instructions to generate the rntuple files
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas committed Apr 18, 2024
1 parent dfe1208 commit 37d2b0a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
First, download `Run2012BC_DoubleMuParked_Muons.root` from [here](https://opendata.cern.ch/record/12341). Then, run the following commands in ROOT.

```cpp
auto importer = ROOT::Experimental::RNTupleImporter::Create("./Run2012BC_DoubleMuParked_Muons.root", "Events", "./Run2012BC_DoubleMuParked_Muons_rntuple_1000evts.root");
auto c = importer.get();
c->SetMaxEntries(1000);
c->Import()
```
14 changes: 14 additions & 0 deletions dev/make-root/test_ntuple_extension_columns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
1. Checkout an Athena build with ROOT nightly (currently has RNTuple RC2)
2. Get an ATLAS RAW file
3. Run reco:
```bash
Reco_tf.py \
--CA="True" \
--maxEvents=40 \
--multithreaded="True" \
--sharedWriter="True" \
--parallelCompression="False" \
--inputBSFile="raw.root" \
--outputDAOD_TLAFile="daod_tla.root" \
--preExec="flags.Output.StorageTechnology.EventData=\"ROOTRNTUPLE\"";
```

0 comments on commit 37d2b0a

Please sign in to comment.