Changeset 17540 for trunk/FACT++/src


Ignore:
Timestamp:
02/06/14 11:05:18 (11 years ago)
Author:
tbretz
Message:
Fixed a stupid mistake, the roi is always well defined.
File:
1 edited

Legend:

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

    r17401 r17540  
    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>10 ? roi-10 : roi, 15, 5);
     1030            const float max = DrsCalibrate::GetPixelStats(stats.data(), vec.data(), 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.