Changeset 12312


Ignore:
Timestamp:
10/28/11 19:55:45 (13 years ago)
Author:
tbretz
Message:
Fixed a workaround.
File:
1 edited

Legend:

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

    r12311 r12312  
    112112            return true;
    113113
     114        if (has==0)
     115            return false;
     116
    114117        ostringstream msg;
    115118        msg << name << " - Received event has " << has << " bytes, but expected " << size << ".";
     
    175178            fOnTime += sdata.fOnTime;
    176179
    177             // FIXME:
    178             reference *= sdata.fElapsedTime*10;
     180            reference *= sdata.fElapsedTime;
    179181
    180182            if ((reference==0 || sqrt(reference)>fResolution*reference) && fSeconds<fSecondsMax)
Note: See TracChangeset for help on using the changeset viewer.