Changeset 17401 for trunk/FACT++/src


Ignore:
Timestamp:
11/29/13 13:02:25 (11 years ago)
Author:
tbretz
Message:
Set beginskip and endskip as explicit argument in GetPixelStats; do not process the last 10 samples, they are affected by the 10-sample sliding average.
File:
1 edited

Legend:

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

    r17394 r17401  
    10281028            // If this is a cosmic event
    10291029            array<float, 1440*4> stats; // Mean, RMS, Max, Pos
    1030             const float max = DrsCalibrate::GetPixelStats(stats.data(), vec.data(), roi);
     1030            const float max = DrsCalibrate::GetPixelStats(stats.data(), vec.data(), roi>10 ? roi-10 : roi, 15, 5);
    10311031            if (evt.trgTyp==0 && max>fMaxEvent.first)
    10321032                fMaxEvent = make_pair(max, stats);
Note: See TracChangeset for help on using the changeset viewer.