8 using namespace HepMC3;
12 if(inputA.failed())
return 1;
14 while( !inputA.failed() )
17 inputA.read_event(evt);
18 if( inputA.failed() ) {
19 printf(
"End of file reached. Exit.\n");
22 particles+=evt.particles().size();
26 return (particles!=1200);
Definition of class ReaderRoot.
Stores event-related information.
int main(int argc, char **argv)
Definition of class GenEvent.
GenEvent I/O parsing and serialization for root files.