Skip to content

Instantly share code, notes, and snippets.

@pgjones
Last active August 29, 2015 13:56
Show Gist options
  • Save pgjones/9314717 to your computer and use it in GitHub Desktop.
Save pgjones/9314717 to your computer and use it in GitHub Desktop.
Load a root file using the DSReader
//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