Changeset 19821 for trunk


Ignore:
Timestamp:
10/27/19 20:36:44 (5 years ago)
Author:
tbretz
Message:
Moved definition of the cleaning levels to the top of the macro.
File:
1 edited

Legend:

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

    r19776 r19821  
    2929int star(const char *datafile, const char *outpath=".")
    3030{
     31    // minimum number of pixels that can make an island
     32    int mincount = 0;
     33
     34    // minimum size for a valid island
     35    double minsize = 25;
     36
    3137    // The delta t [ns/deg] for the image cleaning
    32     double deltat = 17.5;
     38    double deltat = 2.5;
    3339
    3440    // --------------------------------------------------------
     
    118124    // Instantiate the image cleaning as described in the TRAC
    119125    MImgCleanTime clean;
    120     clean.SetMinCount(0);
    121     clean.SetMinSize(25);
    122     clean.SetDeltaT(2.5);
     126    clean.SetMinCount(mincount);
     127    clean.SetMinSize(minsize);
     128    clean.SetDeltaT(deltat);
    123129
    124130    // Instantiate the calculation of the image parameters
Note: See TracChangeset for help on using the changeset viewer.