8 #include "Photos/Photos.h"
9 #include "Photos/PhotosHEPEVTEvent.h"
10 using namespace Photospp;
31 void photos_process_()
38 int part =
event->getParticleCount();
40 while( event->getParticleCount() <= part && loop < 10000 ) {
46 printf(
"photos_hepevt_example: there is some technical problem - no particles generated after 10000 loops!\n");
56 void photos_process_particle_(
int *i)
73 void photos_process_branch_(
int *i)
static void forceMassFromEventRecord(int pdgid)
static void read_event_from_HEPEVT(PhotosHEPEVTEvent *evt)
static void processParticle(PhotosParticle *p)
static void processBranch(PhotosParticle *p)
static void write_event_to_HEPEVT(PhotosHEPEVTEvent *evt)