8#include "Photos/Photos.h"
9#include "Photos/PhotosHEPEVTEvent.h"
10using namespace Photospp;
17 Photos::forceMassFromEventRecord(11);
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)
65 Photos::processParticle(p);
73 void photos_process_branch_(
int *i)
82 Photos::processBranch(p);
static void read_event_from_HEPEVT(PhotosHEPEVTEvent *evt)
static void write_event_to_HEPEVT(PhotosHEPEVTEvent *evt)