Last active
August 29, 2015 13:56
-
-
Save pgjones/9314717 to your computer and use it in GitHub Desktop.
Load a root file using the DSReader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//open the root file with the DSReader | |
RAT::DSReader reader("nhits.root"); | |
RAT::DS::Root* rds = reader.NextEvent(); | |
while(rds != NULL) | |
{ | |
rds = reader.NextEvent(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment