Changeset 19848 for trunk/Mars/mjobs/MJSimulation.cc
- Timestamp:
- 11/01/19 14:18:10 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mjobs/MJSimulation.cc
r19723 r19848 396 396 } 397 397 398 Bool_t MJSimulation::Process(const MArgs &args, const MSequence &seq )398 Bool_t MJSimulation::Process(const MArgs &args, const MSequence &seq, Bool_t checkonly) 399 399 { 400 400 // -------------------------------------------------------------------------------- … … 409 409 // - description of the job itself 410 410 // - list of the to processed sequence 411 if (!checkonly) 412 fLog->Separator(GetDescriptor()); 413 411 414 *fLog << inf; 412 fLog->Separator(GetDescriptor());413 414 415 if (!CheckEnv()) 415 416 return kFALSE; … … 418 419 *fLog << fSequence.GetFileName() << endl; 419 420 else 420 *fLog << "Input: " << args.GetNumArguments() << " -files" << endl;421 *fLog << "Input: " << args.GetNumArguments() << " file(s)" << endl; 421 422 *fLog << endl; 422 423 … … 550 551 return kFALSE; 551 552 } 553 554 if (checkonly) 555 return read.CalcNumTotalEvents(); 552 556 553 557 // -------------------------------------------------------------------------------- … … 823 827 824 828 const char *regex = fRunNumber<0 ? 825 "s/[cC][eE][rR]([0-9]+)(-[tT][eE][lL]([0-9]+))?/%s\\/00$1.%03d%%s_MonteCarlo$ 3.root/" :826 "s/[cC][eE][rR][0-9]+([0-9][0-9][0-9])(-[tT][eE][lL]([0-9]+))?/%s\\/%08d.$1%%s_MonteCarlo$ 3.root/";829 "s/[cC][eE][rR]([0-9]+)(-[tT][eE][lL]([0-9]+))?/%s\\/00$1.%03d%%s_MonteCarlo$2.root/" : 830 "s/[cC][eE][rR][0-9]+([0-9][0-9][0-9])(-[tT][eE][lL]([0-9]+))?/%s\\/%08d.$1%%s_MonteCarlo$2.root/"; 827 831 828 832 const char *fmt = fFileOut.IsNull() ?
Note:
See TracChangeset
for help on using the changeset viewer.