Changeset 12504


Ignore:
Timestamp:
11/13/11 15:39:34 (13 years ago)
Author:
tbretz
Message:
Stop the rate scan if the trigger rate is zero.
File:
1 edited

Legend:

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

    r12402 r12504  
    168168
    169169                fOnTime = 0;
     170                return;
     171            }
     172
     173            if (sdata.fTriggerRate==0)
     174            {
     175                Message("Rate scan stopped due zero trigger rate.");
     176                fCounter = -1;
    170177                return;
    171178            }
Note: See TracChangeset for help on using the changeset viewer.