Ignore:
Timestamp:
06/18/08 13:06:48 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/telesto.cc

    r8823 r8973  
    4545    gLog << all << endl;
    4646    gLog << "Sorry the usage is:" << endl;
    47     gLog << " telestop [file.txt|file.col]" << endl << endl;
     47    gLog << " telestop [file.txt|file.col [pointing.mod]]" << endl << endl;
    4848    gLog << " Arguments:" << endl;
    49     gLog << "   n/a" << endl;
    50     gLog << "                             For more details see MSequence" << endl;
     49    gLog << "   file.txt|file.col         A collection of files or a file with tpoints" << endl;
     50    gLog << "   pointing.mod              A pointing model to load at startup" << endl << endl;
    5151    gLog << " Root Options:" << endl;
    5252    gLog << "   -b                        Batch mode (no graphical output to screen)" << endl<<endl;
     
    6161    gLog << "                             (Note, that this option can be used multiple times." << endl;
    6262    gLog << endl;
    63 //    gLog << " Input Options:" << endl;
    64 //    gLog << "   -mc                       You must use this for MC files (PRELIMINARY)" << endl << endl;
    6563    gLog << " Output options:" << endl;
    6664//    gLog << "   -q                        Quit when job is finished" << endl;
    6765//    gLog << "   -f                        Force overwrite of existing files" << endl;
    68 //    gLog << "   -ff                       Force execution if not all files found" << endl;
    69 //    gLog << "   --ind=path                Path where to search for the calibrated data (Y)" << endl;
    70 //    gLog << "                             [default=standard path in datacenter]" << endl;
    71 //    gLog << "   --out=path                Path to write the all results to [def=local path]" << endl;
    72 //    gLog << "                             (overwrites --outc and --outy)" << endl;
    73 //    gLog << "   --no-muons                Switch off Muon analysis (for fast tests)" << endl;
    74 //    gLog << "   --print-seq               Print Sequence information" << endl;
    75 //    gLog << "   --print-files             Print Files taken from Sequence" << endl;
    76 //    gLog << "   --print-found             Print Files found from Sequence" << endl;
    77 //    gLog << "   --config=star.rc          Resource file [default=star.rc]" << endl;
    7866    gLog << endl;
    7967    gLog << "   --version, -V             Show startup message with version number" << endl;
     
    123111    // check for the right usage of the program (number of arguments)
    124112    //
    125     if (arg.GetNumArguments()>1)
     113    if (arg.GetNumArguments()>2)
    126114    {
    127115        gLog << warn << "WARNING - Wrong number of arguments..." << endl;
     
    131119
    132120    TString fname=arg.GetArgumentStr(0);
     121    TString mod  =arg.GetArgumentStr(1);
    133122
    134123    //
     
    156145        TObject::SetObjectStat(kTRUE);
    157146
    158     TPointGui *gui = new TPointGui(fname.IsNull()?0:(const char*)fname);
     147    TPointGui *gui = new TPointGui(fname, mod);
    159148    gui->SetExitLoopOnClose();
    160149
Note: See TracChangeset for help on using the changeset viewer.