/************************************************ * usr_test.c * * Test the mcfast code * * Paul Eugenio * Carnegie Mellon University * **********************************************/ #include #include #include #include #include #include /* * Global used in usr_summary.c */ int Nread=0,Nsmeared=0; lgd_smearedparts_t *LgdParts; void prgeom(FILE* fl); void usr_dump(void); int usr_lgd(void); /****************************** * Debugging * * Debug = 0 no debug (default) * = 1 charged tracking * = 3 bcal (mcfast calorimeter) * = 5 lgd (not done by mcfast) * = 7 device hits * = 8 dump Geo * = 9 hepevt list ******************************/ void usr_analysis_(void){ int i; static int nread=0,count=0,foundAllGammas; int list_trk[TRK_GEN_MAX]; Nread++; /* * Make list for offline tracking */ for(i=0;i