4 void ReadPythia(
const char *fileName=
"pythia.root")
18 TObject *nextObject = 0;
20 Int_t size = readEvents.TotalKeys();
21 printf(
" The total number of the events: %d\n",size);
26 printf(
" -- > Loop over all events, read them in to memory one by one < -- \n");
27 for( readEvents = 0; int(readEvents) < size; readEvents.SkipObjects() ){
28 nextObject = *readEvents;
29 printf(
" %d bytes of the object \"%s\" of class \"%s\" written with TKey \"%s\" has been read from file\n"
30 ,readEvents.GetObjlen()
31 ,nextObject->GetName()
32 ,nextObject->IsA()->GetName()
33 ,(
const char *)readEvents
virtual void ls(Option_t *option="") const