Ignore:
Timestamp:
11/28/05 11:15:09 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/callisto.cc

    r7349 r7432  
    3333    gLog << "                 Callisto - MARS V" << MARSVER            << endl;
    3434    gLog << "    MARS -- CALibrate LIght Signals and Time Offsets"     << endl;
    35     gLog << "   Compiled with ROOT v" << ROOTVER << " on <" << __DATE__ ">" << endl;
     35    gLog << "   Compiled with ROOT v" << ROOTVER << " on <" << __DATE__ << ">" << endl;
    3636    gLog << "========================================================" << endl;
    3737    gLog << endl;
     
    4444    gLog << all << endl;
    4545    gLog << "Sorry the usage is:" << endl;
    46     gLog << " callisto [-c] [-y] [options] sequence.txt" << endl << endl;
     46    gLog << " callisto [-c] [-y] [options] sequence.txt|number" << endl << endl;
    4747    gLog << " Arguments:" << endl;
    4848    gLog << "   sequence.txt:             ASCII file defining a sequence of runs" << endl;
     49    gLog << "   number:                   The sequence number (using file in the datacenter)" << endl;
    4950    gLog << "                             For more details see MSequence" << endl;
    5051    gLog << " Root Options:" << endl;
     
    248249    // Setup sequence file and check for its existance
    249250    //
    250     const TString kSequence = arg.GetArgumentStr(0);
     251    TString kSequence = arg.GetArgumentStr(0);
     252
     253    if (kSequence.IsDigit())
     254    {
     255        const Int_t numseq = kSequence.Atoi();
     256        kSequence = Form("/magic/sequences/%04d/sequence%08d.txt", numseq/10000, numseq);
     257        gLog << inf << "Inflated sequence file: " << kSequence << endl;
     258    }
    251259
    252260    if (gSystem->AccessPathName(kSequence, kFileExists))
Note: See TracChangeset for help on using the changeset viewer.