Changeset 19776 for trunk/Mars


Ignore:
Timestamp:
10/15/19 15:52:10 (5 years ago)
Author:
tbretz
Message:
Improved some comments and removed some obsolete code lines.
Location:
trunk/Mars/hawc
Files:
2 edited

Legend:

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

    r19749 r19776  
    66
    77 datafile:
    8     A data file written by the fadctrl, e.g. 20170727_006.fits.fz
     8    A data file written by the fadctrl, e.g.
     9    20170727_006.fits.fz or
     10    00000015.003_D_MonteCarlo019_Events.fits.fz
    911
    1012 drsfile:
     
    2729 Mars/build where you have built your Mars environment) ou can do
    2830
    29     root ../hawc/callisto.C\(\"filename.fits.fz\",\"filename.drs.fits\"\)
     31    root ../hawc/callisto.C\(\"20191002_018.fits.fz\",\"20191002_013.drs.fits\"\)
    3032
    3133 or from within root
    3234
    33     [0] .x ../hawc/callisto.C("filename.fits.fz", "filename.drs.fits")
     35    [0] .x ../hawc/callisto.C("20191002_018.fits.fz", "20191002_013.drs.fits")
    3436
    3537******************************************************************/
     
    4850    // false: Display pixels in hardware/linear indices,
    4951    //        but the order is the camera display is distorted
    50     bool usemap = true;//drstime ? true : false;
     52    bool usemap = false;//drstime ? true : false;
    5153
    5254    // mapping file (found in Mars/hawc)
     
    6264    MBadPixelsCam badpixels;
    6365    badpixels.InitSize(64);
    64     //badpixels[40].SetUnsuitable(MBadPixelsPix::kUnsuitable);
     66    badpixels[61].SetUnsuitable(MBadPixelsPix::kUnsuitable);
     67    badpixels[62].SetUnsuitable(MBadPixelsPix::kUnsuitable);
     68    badpixels[63].SetUnsuitable(MBadPixelsPix::kUnsuitable);
    6569
    6670    // Range in which the pulse extraction searches for the
  • trunk/Mars/hawc/star.C

    r19747 r19776  
    66
    77 datafile:
    8     A calibarted root file which came out of callist,
    9     e.g. 20170727_006_C.root
     8    A calibarted root file which came out of callist, e.g.
     9    20170727_006_Y.root or
     10    00000015.003_Y_MonteCarlo003_Events.root
    1011
    1112 lvl1, lvl2:
     
    1920 Mars/build where you have built your Mars environment) ou can do
    2021
    21     root ../hawc/star.C\(\"filename_C.root\"\)
     22    root ../hawc/star.C\(\"00000015.003_Y_MonteCarlo003_Events.root\"\)
    2223
    2324 or from within root
    2425
    25     [0] .x ../hawc/star.C("filename_C.root")
     26    [0] .x ../hawc/star.C("00000015.003_Y_MonteCarlo003_Events.root")
    2627
    2728******************************************************************/
     
    5859    gLog << "Outpath:  " << outpath << endl;
    5960
    60     TString fname = gSystem->ConcatFileName(outpath, gSystem->BaseName(datafile));
    61     fname.ReplaceAll("_C_", "_I_");
    62 
    63     gSystem->ExpandPathName(fname);
     61    // TString fname = gSystem->ConcatFileName(outpath, gSystem->BaseName(datafile));
     62    // fname.ReplaceAll("_C_", "_I_");
     63    // gSystem->ExpandPathName(fname);
    6464
    6565    gLog.Separator();
Note: See TracChangeset for help on using the changeset viewer.