Changeset 1725


Ignore:
Timestamp:
01/22/03 16:27:11 (22 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Simulation/Detector/ReflectorII
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/ReflectorII/Changelog

    r1722 r1725  
    11** Add changes at the beginning! **
     2
     322/01/2003 A. Moralejo
     4
     5Fixed small bug in reflector.c. The end of run flag was not written to the
     6output when the max_events option was used in the input card.
    27
    3821/01/2003 A. Moralejo
  • trunk/MagicSoft/Simulation/Detector/ReflectorII/reflector.c

    r1722 r1725  
    7575
    7676    /*  Processing loop */
    77     while(event < max_Events && GetEvent())
     77    while(GetEvent())
    7878      {
     79        if (event >= max_Events)
     80          {
     81            fwrite(FLAG_END_OF_RUN, SIZE_OF_FLAGS, 1, rflfile);
     82            break;
     83          }
    7984        if (ProcessEvent(cheadp, cerfile, rflfile))
    8085          event++;
Note: See TracChangeset for help on using the changeset viewer.