Skip to content

Commit

Permalink
print only 10 events
Browse files Browse the repository at this point in the history
  • Loading branch information
selvaggi committed Apr 20, 2016
1 parent 44771df commit ecf5f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Example5.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Prints complete input particle arborescence for the first 100 events. Useful for debugging purposes.
Prints complete input particle arborescence for the first 10 events. Useful for debugging purposes.
root -l examples/Example5.C'("delphes_output.root")'
*/

Expand Down Expand Up @@ -37,7 +37,7 @@ void Example5(const char *inputFile)
// Load selected branches with data from specified event
treeReader->ReadEntry(entry);

if(entry>100) break;
if(entry>10) break;

cout<<"" <<endl;
cout<<"--------- New Event ---------" <<endl;
Expand Down

0 comments on commit ecf5f26

Please sign in to comment.