Ignore:
Timestamp:
05/22/14 17:31:30 (10 years ago)
Author:
tbretz
Message:
Added calls which allow to use the sequence number instead of the sequence file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/callisto.C

    r17881 r17885  
    945945    return 0;
    946946}
     947
     948int callisto(const ULong64_t seqnum, const char *outpath = "output")
     949{
     950    UInt_t night = seqnum/1000;
     951    UInt_t num   = seqnum%1000;
     952
     953    TString file = Form("/scratch/fact/sequences/%04d/%02d/%02d/%06d_%03d.seq",
     954                        night/10000, (night/100)%100, night%100, num);
     955
     956    return callisto(file.Data(), outpath);
     957}
Note: See TracChangeset for help on using the changeset viewer.