Changeset 19627 for trunk/Mars
- Timestamp:
- 09/05/19 11:38:14 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/ceres.cc
r17866 r19627 76 76 gLog << " --mode=calibration calibration data (no input files required) or" << endl; 77 77 gLog << " --mode=data process data files [default]" << endl << endl; 78 gLog << " --run-number=# Optionally set the run number of the run to simulate" << endl; 79 gLog << " --fits Write FITS output files instead of root files." << endl << endl; 78 gLog << " --run-number=# Optionally set the run number to simulate" << endl; 79 gLog << " --fits Write FITS output files instead of root files." << endl; 80 gLog << " --list The specified .txt file contains a file list" << endl; 81 gLog << " (see MDirIter::ReadFile)." << endl << endl; 80 82 gLog << endl; 81 83 // gLog << " -f: force reading of runheader" << endl; … … 177 179 const TString kOpMode = arg.GetStringAndRemove("--mode=", "data"); 178 180 const Bool_t kFitsFile = arg.HasOnlyAndRemove("--fits"); 181 const Bool_t kFileList = arg.HasOnlyAndRemove("--list"); 179 182 180 183 Int_t opmode = -1; … … 274 277 // Setup sequence and check its validity 275 278 // 276 MSequence seq(k Sequence, kInpath);277 if (!kSequence.IsNull() )279 MSequence seq(kFileList ? "" : kSequence, kInpath); 280 if (!kSequence.IsNull() && !kFileList) 278 281 { 279 282 if (kPrintSeq) … … 305 308 else 306 309 { 310 if (kFileList) 311 { 312 arg.RemoveArgument(0); 313 314 MDirIter Next; 315 Next.ReadList(kSequence); 316 317 TString name; 318 while (!(name=Next()).IsNull()) 319 arg.AddEntry(name); 320 } 321 307 322 if (kPrintFiles) 308 323 PrintFiles(arg, kFALSE);
Note:
See TracChangeset
for help on using the changeset viewer.