Skip to content

Commit c4d942d

Browse files
Add checkEventNtuple to the tutorial
1 parent b12c081 commit c4d942d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tutorial/eventntuple-basics.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ samListLocations -d --defname=nts.name.of.dataset.root > filelist.txt
5252

5353
Check the contents of ```filelist.txt```. If it is empty, then pick another dataset. If you have authentication errors, then consult [this page](https://mu2ewiki.fnal.gov/wiki/Authentication#Tokens) on the Mu2e wiki.
5454

55+
### Checking the EventNtuple
56+
You can get some basic information about the EventNtuple, such as the version number using ```checkEventNtuple``` like so:
57+
58+
```
59+
checkEventNtuple /path/to/nts.root
60+
```
61+
5562
### Printing the EventNtuple
5663

5764
You can print the branches and leaves of the EventNtuple in ROOT or python. From your ```filelist.txt` pick a single file and use it in the following:

0 commit comments

Comments
 (0)