Changeset 19706 for trunk/Mars
- Timestamp:
- 10/01/19 15:28:17 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mjobs/MJSimulation.cc
r19694 r19706 817 817 fFileOut = fFileOut.Remove(dot); 818 818 } 819 820 const char *regex = fRunNumber<0 ? 821 "s/[cC][eE][rR]([0-9]+)(-[tT][eE][lL]([0-9]+))?/%s\\/00$1.%03d%%s_MonteCarlo$3.root/" : 822 "s/[cC][eE][rR][0-9]+([0-9][0-9][0-9])(-[tT][eE][lL]([0-9]+))?/%s\\/%08d.$1%%s_MonteCarlo$3.root/"; 823 819 824 const char *fmt = fFileOut.IsNull() ? 820 Form( "s/[cC][eE][rR]([0-9]+)([0-9][0-9][0-9])(-[tT][eE][lL][0-9]+)?/%s\\/%08d.$2%%s_MonteCarlo$1.root/", Esc(fPathOut).Data(), header.GetRunNumber()) :825 Form(regex, Esc(fPathOut).Data(), header.GetRunNumber()) : 821 826 Form("%s/%s%%s.root", Esc(fPathOut).Data(), Esc(fFileOut).Data()); 822 827
Note:
See TracChangeset
for help on using the changeset viewer.