Changeset 17993


Ignore:
Timestamp:
10/24/14 13:14:04 (10 years ago)
Author:
dneise
Message:
using MSequence to get a path to the time-calib-rawfile. 
The reduced time calib fits file is named exactly like that, just in a different folder.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Mars_use_drstimefiles/fact/analysis/callisto_drstime.C

    r17992 r17993  
    5353
    5454int callisto(
    55         const char *seqfile="seq/2012/01/23/20120123_023.seq", 
     55        const char *seqfile="seq/2012/01/23/20120123_023.seq",
    5656        const char *outpath = "output",
    57         bool use_delays=false,
    58         const char *drs_time_file_path=""
     57        bool use_delays=false
    5958    )
    6059{
     
    162161    }
    163162
    164     TString timfile = drs.GetFileName(0, MSequence::kFitsDat);
     163    TString timfile = drs.GetFileName(0, MSequence::kFitsDat, "/gpfs/fact/drs_time_calib");
    165164    TString drs1024 = drs.GetFileName(0, MSequence::kFitsDrs);
    166165    TString pedfile = seq.GetFileName(0, MSequence::kFitsPed);
     
    258257    gLog << endl;
    259258    gLog.Separator("Reading DRS timing calibration constants");
    260     factfits drs_time_file(drs_time_file_path);
     259    factfits drs_time_file(timfile.Data());
    261260
    262261    const int NumberOfChips = drs_time_file.GetInt("NCHIPS");
Note: See TracChangeset for help on using the changeset viewer.