Changeset 16568 for trunk


Ignore:
Timestamp:
06/02/13 02:18:30 (11 years ago)
Author:
tbretz
Message:
Updated the scale on the event plot - the scale for drs-gain events and the scale for ext-lp events wasn't correct.
File:
1 edited

Legend:

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

    r16532 r16568  
    15921592        }
    15931593
     1594        const uint32_t trig = d.GetQoS();
     1595
    15941596        switch (fFadControlDrsStep)
    15951597        {
    1596         case 0:  WriteCam(d, "cam-fadcontrol-eventdata", max, 2,   -1); break;
    1597         case 1:  WriteCam(d, "cam-fadcontrol-eventdata", max, 2,    0); break;
    1598         default: WriteCam(d, "cam-fadcontrol-eventdata", max, 0.25, 0); break;
     1598        case -1: WriteCam(d, "cam-fadcontrol-eventdata", max, 2,   -1); break; // [-1;+1]
     1599        case  0: WriteCam(d, "cam-fadcontrol-eventdata", max, 2,    0); break; // [ 0;+2]
     1600        case  1: WriteCam(d, "cam-fadcontrol-eventdata", max, 2,   -1); break; // [-1;+1]
     1601        default: WriteCam(d, "cam-fadcontrol-eventdata", max, trig&kLPext?2:0.25, 0); break; // [ 0;0.25]
    15991602        }
    16001603
Note: See TracChangeset for help on using the changeset viewer.