Changeset 19776 for trunk/Mars
- Timestamp:
- 10/15/19 15:52:10 (5 years ago)
- Location:
- trunk/Mars/hawc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/hawc/callisto.C
r19749 r19776 6 6 7 7 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 9 11 10 12 drsfile: … … 27 29 Mars/build where you have built your Mars environment) ou can do 28 30 29 root ../hawc/callisto.C\(\" filename.fits.fz\",\"filename.drs.fits\"\)31 root ../hawc/callisto.C\(\"20191002_018.fits.fz\",\"20191002_013.drs.fits\"\) 30 32 31 33 or from within root 32 34 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") 34 36 35 37 ******************************************************************/ … … 48 50 // false: Display pixels in hardware/linear indices, 49 51 // but the order is the camera display is distorted 50 bool usemap = true;//drstime ? true : false;52 bool usemap = false;//drstime ? true : false; 51 53 52 54 // mapping file (found in Mars/hawc) … … 62 64 MBadPixelsCam badpixels; 63 65 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); 65 69 66 70 // Range in which the pulse extraction searches for the -
trunk/Mars/hawc/star.C
r19747 r19776 6 6 7 7 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 10 11 11 12 lvl1, lvl2: … … 19 20 Mars/build where you have built your Mars environment) ou can do 20 21 21 root ../hawc/star.C\(\" filename_C.root\"\)22 root ../hawc/star.C\(\"00000015.003_Y_MonteCarlo003_Events.root\"\) 22 23 23 24 or from within root 24 25 25 [0] .x ../hawc/star.C(" filename_C.root")26 [0] .x ../hawc/star.C("00000015.003_Y_MonteCarlo003_Events.root") 26 27 27 28 ******************************************************************/ … … 58 59 gLog << "Outpath: " << outpath << endl; 59 60 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); 64 64 65 65 gLog.Separator();
Note:
See TracChangeset
for help on using the changeset viewer.