Changeset 11688


Ignore:
Timestamp:
07/28/11 14:27:34 (13 years ago)
Author:
tbretz
Message:
Scale calibrated data to 1000mV
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilderWrapper.h

    r11687 r11688  
    171171        if (fStep==0)
    172172        {
     173            // Default gain:
     174            // 0.575*[45590]*2.5V / 2^16 = 0.99999 V
    173175            fOffset.assign(1440*1024, 0);
    174176            fGain.assign  (1440*1024, 2);
     
    211213        {
    212214            fGain.assign(fSum.begin(), fSum.end());
    213             fNumGain = fNumEntries;
    214             // Now we have a scale from -16384 to 16384
     215            fNumGain = fNumEntries*1000;
     216            // Scale from Volt to Millivolt
    215217        }
    216218        if (fStep==2)
Note: See TracChangeset for help on using the changeset viewer.