Ignore:
Timestamp:
04/29/20 21:48:05 (5 years ago)
Author:
giangdo
Message:
script to synchronise the data from HAWC's Eye and HAWC

File:
1 edited

Legend:

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

    r19825 r19951  
    2727
    2828 To run the macro from the command line (assuming you are in a directory
    29  Mars/build where you have built your Mars environment) ou can do
     29 Mars/build where you have built your Mars environment) you can do
    3030
    3131    root ../hawc/callisto.C\(\"20191002_018.fits.fz\",\"20191002_013.drs.fits\"\)
     
    5454
    5555    // mapping file (found in Mars/hawc)
    56     const char *mmap = usemap ? "../hawc/FAMOUSmap171218.txt" : NULL;
     56    const char *mmap = usemap ? "/home/giangdo/Documents/Master/MA/Software/Mars/hawc/HAWCsEyemap181214.txt" : NULL;
    5757
    5858    //const char *pulse_template = "template-pulse.root";
     
    7676    // Calibration constant (for the moment a single constant to
    7777    // convert the extracted charge to photo-electrons)
    78     double scale = 1./22.553;//0.2;
     78    //double scale = 1./22.553;//0.2;
     79    double scale = 1./17.557;
    7980
    8081    // ------------------------------------------------------
     
    317318    write5.AddContainer("MSimSourcePos",       "Events", kFALSE);
    318319    write5.AddContainer("MTime",               "Events", kFALSE);
     320    write5.AddContainer("MRawBoardsFACT",      "Events", kFALSE);
    319321    write5.AddContainer("MSrcPosCam",          "Events", kFALSE);
    320322
Note: See TracChangeset for help on using the changeset viewer.