Ignore:
Timestamp:
11/04/11 21:22:31 (13 years ago)
Author:
neise
Message:
Now the first 12 and the last 12 slices wil be removed from Ameas
File:
1 edited

Legend:

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

    r12367 r12383  
    3232
    3333size_t applyDrsCalibration( vector<float> &destination,
    34         int pixel,
     34        int pixel,
     35  int LeaveOutLeft,
     36  int LeaveOutRight,
    3537        vector<float> &drs_basemean,
    3638        vector<float> &drs_gainmean,
     
    5153
    5254
    53         for ( unsigned int sl = 0; sl < RegionOfInterest; sl++){
     55        for ( unsigned int sl = LeaveOutLeft; sl < RegionOfInterest-LeaveOutRight ; sl++){
    5456                slice_pt = pixel_pt + sl;
    5557                drs_cal_offset = ( sl + StartCellVector[ pixel ] )%RegionOfInterest;
Note: See TracChangeset for help on using the changeset viewer.