Ignore:
Timestamp:
05/22/14 17:31:30 (11 years ago)
Author:
tbretz
Message:
Added calls which allow to use the sequence number instead of the sequence file.
Location:
trunk/Mars/fact/analysis
Files:
3 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}
  • trunk/Mars/fact/analysis/merpp.C

    r17032 r17885  
    118118    return 0;
    119119}
     120
     121int merpp(const ULong64_t seqnum, const char *path="output")
     122{
     123    UInt_t night = seqnum/1000;
     124    UInt_t num   = seqnum%1000;
     125
     126    TString file = Form("/scratch/fact/sequences/%04d/%02d/%02d/%06d_%03d.seq",
     127                        night/10000, (night/100)%100, night%100, num);
     128
     129    return merpp(file.Data(), path);
     130}
  • trunk/Mars/fact/analysis/star.C

    r17568 r17885  
    296296    return 0;
    297297}
     298
     299int star(const ULong64_t seqnum, Double_t lvl1=4.0, Double_t lvl2=2.5, const char *inpath = "output", const char *outpath = "output")
     300{
     301    UInt_t night = seqnum/1000;
     302    UInt_t num   = seqnum%1000;
     303
     304    TString file = Form("/scratch/fact/sequences/%04d/%02d/%02d/%06d_%03d.seq",
     305                        night/10000, (night/100)%100, night%100, num);
     306
     307    return star(file.Data(), lvl1, lvl2, inpath, outpath);
     308}
Note: See TracChangeset for help on using the changeset viewer.