Changeset 12383 for fact/tools


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
Location:
fact/tools/rootmacros
Files:
2 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;
  • fact/tools/rootmacros/DrsCalibration.h

    r12367 r12383  
    1212
    1313size_t applyDrsCalibration( vector<float> &destination,
    14         int pixel,
     14        int pixel,
     15  int LeaveOutLeft,
     16  int LeaveOutRight,
    1517        vector<float> &drs_basemean,
    1618        vector<float> &drs_gainmean,
Note: See TracChangeset for help on using the changeset viewer.