Changeset 12913 for trunk/FACT++/src


Ignore:
Timestamp:
02/21/12 19:53:26 (13 years ago)
Author:
tbretz
Message:
Do not stop immediately in case of zero triggers, wait until the required number of reports was collected.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/ratescan.cc

    r12715 r12913  
    173173            }
    174174
    175             if (sdata.fTriggerRate==0)
    176             {
    177                 Message("Rate scan stopped due zero trigger rate.");
    178                 fThreshold = -1;
    179                 return;
    180             }
    181 
    182175            fRate += sdata.fTriggerRate;
    183176            for (int i=0; i<40; i++)
     
    204197                Info(out);
    205198
     199                return;
     200            }
     201
     202            if (fRate)
     203            {
     204                Message("Rate scan stopped due to zero collected triggers.");
     205                fThreshold = -1;
    206206                return;
    207207            }
Note: See TracChangeset for help on using the changeset viewer.