Changeset 8973 for trunk/MagicSoft/Cosy/telesto.cc
- Timestamp:
- 06/18/08 13:06:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/telesto.cc
r8823 r8973 45 45 gLog << all << endl; 46 46 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; 48 48 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; 51 51 gLog << " Root Options:" << endl; 52 52 gLog << " -b Batch mode (no graphical output to screen)" << endl<<endl; … … 61 61 gLog << " (Note, that this option can be used multiple times." << endl; 62 62 gLog << endl; 63 // gLog << " Input Options:" << endl;64 // gLog << " -mc You must use this for MC files (PRELIMINARY)" << endl << endl;65 63 gLog << " Output options:" << endl; 66 64 // gLog << " -q Quit when job is finished" << endl; 67 65 // 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;78 66 gLog << endl; 79 67 gLog << " --version, -V Show startup message with version number" << endl; … … 123 111 // check for the right usage of the program (number of arguments) 124 112 // 125 if (arg.GetNumArguments()> 1)113 if (arg.GetNumArguments()>2) 126 114 { 127 115 gLog << warn << "WARNING - Wrong number of arguments..." << endl; … … 131 119 132 120 TString fname=arg.GetArgumentStr(0); 121 TString mod =arg.GetArgumentStr(1); 133 122 134 123 // … … 156 145 TObject::SetObjectStat(kTRUE); 157 146 158 TPointGui *gui = new TPointGui(fname .IsNull()?0:(const char*)fname);147 TPointGui *gui = new TPointGui(fname, mod); 159 148 gui->SetExitLoopOnClose(); 160 149
Note:
See TracChangeset
for help on using the changeset viewer.