Changeset 13894 for trunk/FACT++


Ignore:
Timestamp:
05/25/12 21:05:23 (13 years ago)
Author:
tbretz
Message:
Adapted ratescan state numbers.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

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

    r13847 r13894  
    343343            return GetCurrentState();
    344344
    345         if (fDimRS.state()==5)
     345        if (fDimRS.state()>=5)
    346346            return GetCurrentState();
    347347
     
    481481        // At least one subsystem is not connected
    482482        //        if (fDimFTM.state()>=FTM::kConnected)
    483         return fTriggerOn && fEnabled && fDimRS.state()!=5 ? kStateInProgress : kStateConnected;
     483        return fTriggerOn && fEnabled && fDimRS.state()<5 ? kStateInProgress : kStateConnected;
    484484    }
    485485
  • trunk/FACT++/src/smartfact.cc

    r13892 r13894  
    15901590            out << col << '\t';
    15911591
    1592             if (fDimRateControl.state()!=5 && fDimRateScan.state()!=5)
     1592            if (fDimRateControl.state()!=5 && fDimRateScan.state()!=6)
    15931593            {
    15941594                switch (fMcpConfigurationState)
     
    16111611                    out << "Calibrating threshold";
    16121612                else
    1613 
    1614                     if (fDimRateScan.state()==5/*kStateSettingGlobalThreshold*/)
     1613                    if (fDimRateScan.state()==6/*kStateSettingGlobalThreshold*/)
    16151614                        out << "Rate scan in progress";
    16161615
Note: See TracChangeset for help on using the changeset viewer.