Changeset 1725 for trunk/MagicSoft/Simulation
- Timestamp:
- 01/22/03 16:27:11 (22 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/ReflectorII
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/ReflectorII/Changelog
r1722 r1725 1 1 ** Add changes at the beginning! ** 2 3 22/01/2003 A. Moralejo 4 5 Fixed small bug in reflector.c. The end of run flag was not written to the 6 output when the max_events option was used in the input card. 2 7 3 8 21/01/2003 A. Moralejo -
trunk/MagicSoft/Simulation/Detector/ReflectorII/reflector.c
r1722 r1725 75 75 76 76 /* Processing loop */ 77 while( event < max_Events &&GetEvent())77 while(GetEvent()) 78 78 { 79 if (event >= max_Events) 80 { 81 fwrite(FLAG_END_OF_RUN, SIZE_OF_FLAGS, 1, rflfile); 82 break; 83 } 79 84 if (ProcessEvent(cheadp, cerfile, rflfile)) 80 85 event++;
Note:
See TracChangeset
for help on using the changeset viewer.