Changeset 19746 for trunk/Mars


Ignore:
Timestamp:
10/08/19 17:04:57 (5 years ago)
Author:
tbretz
Message:
No unsuitable pixel as a default, adapted extraction range to data, make rule work for data files as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/hawc/callisto.C

    r19727 r19746  
    6262    MBadPixelsCam badpixels;
    6363    badpixels.InitSize(64);
    64     badpixels[40].SetUnsuitable(MBadPixelsPix::kUnsuitable);
     64    //badpixels[40].SetUnsuitable(MBadPixelsPix::kUnsuitable);
    6565
    6666    // Range in which the pulse extraction searches for the
    6767    // pulse (in samples).
    68     const int first_slice = 290;
    69     const int last_slice  = 350;
     68    const int first_slice = 270;
     69    const int last_slice  = 330;
    7070
    7171    // Calibration constant (for the moment a single constant to
     
    292292    */
    293293
    294     const TString rule(Form("s/(([0-9]+_)?[0-9.]+)_[PCD]_(.*)([.]fits([.]fz)?)$/%s\\/$1_Y_$3.root/",
     294    const TString rule(Form("s/([0-9]+)([._])([0-9]+)(_[DPC])?([_].*)?([.]fits([.]fz)?)$/%s\\/$1$2$3_Y$5.root/",
    295295                            MJob:: Esc(outpath).Data()));
    296296
Note: See TracChangeset for help on using the changeset viewer.