Changeset 11634 for trunk/FACT++/src


Ignore:
Timestamp:
07/26/11 22:12:38 (13 years ago)
Author:
tbretz
Message:
Fixed index when setting thresholds in EvealOptions
File:
1 edited

Legend:

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

    r11633 r11634  
    22432243                !CheckConfigVal<uint16_t>(conf, data.kMaxIntensity,       "light-pulser.internal.intensity.",     *it) ||
    22442244                !CheckConfigVal<uint16_t>(conf, data.kMaxDAC,             "trigger.threshold.pixel.",             *it) ||
    2245                 !CheckConfigVal<uint16_t>(conf, data.kMaxDAC,             "trigger.threshold.patch.",             *it) ||
     2245                !CheckConfigVal<uint16_t>(conf, data.kMaxDAC,             "trigger.threshold.patch.",            *it) ||
    22462246                0)
    22472247                return 2;
     
    23192319            const uint16_t th1 = conf.GetDef<uint16_t>("trigger.threshold.patch.", *it);
    23202320
    2321             for (int i=0; i<=FTM::StaticData::kMaxPatchIdx; i++)
     2321            for (int i=0; i<40; i++)
    23222322            {
    23232323                data[i].fDAC[0] = th0;
Note: See TracChangeset for help on using the changeset viewer.