Ignore:
Timestamp:
11/14/11 23:54:39 (13 years ago)
Author:
neise
Message:
this way of subtracting TriggerOffset minimizes the mean and rms
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/rootmacros/DrsCalibration.C

    r12516 r12519  
    152152                vraw = AllPixelDataVector[ DataPos ] * dconv;
    153153                vraw -= drs_basemean[ OffsetPos ];
     154                vraw -= drs_triggeroffsetmean[ TriggerOffsetPos ];
    154155                vraw /= drs_gainmean[ OffsetPos ];
    155156                vraw *= 1907.35;
    156                 vraw -= drs_triggeroffsetmean[ TriggerOffsetPos ];
    157157
    158158//              slice_pt = pixel_pt + sl;
Note: See TracChangeset for help on using the changeset viewer.