Commit 7ed890eb authored by Ewelina Maria Lobodzinska's avatar Ewelina Maria Lobodzinska
Browse files

modify Herwig7_LHEF.py


git-svn-id: svn+ssh://svn.cern.ch/reps/atlasoff/Generators/MC15JobOptions/trunk@813562 4525493e-7705-40b1-a816-d608a930855b
parent 23366324
2018-03-29 Ewelina Maria Lobodzinska <ewelina.maria.lobodzinska@cern.ch>
* modify common/herwig7/Herwig7_LHE.py to ake it running also for 20.7.9.9.6,MCProd
2018-03-28 franziska iltzsche <franziska.speiser@cern.ch>
* tagging MC15JobOptions-00-09-48
* update csv entries for 363648 - 363671 @ 14 TeV
......
......@@ -19,8 +19,11 @@ if ".tar.gz" in runArgs.inputGeneratorFile or ".tgz" in runArgs.inputGeneratorFi
raise RuntimeError("Could not find uncompressed LHE file")
if len(lhe_files) > 1:
athMsgLog.info("Found more than one uncompressed LHE file: {}".format(lhe_files))
my_lhe_file = "merged_lhef.events"
merge_lhe_files(lhe_files,my_lhe_file )
# my_lhe_file = "merged_lhef.events"
# skeleton.GENtoEVGEN splits the file name on "._" (in rel. 20.7.9.9.6,MCProd,
# so insert this in the merged file name - to make it run also for this release)
my_lhe_file = "merged_lhef._0.events"
merge_lhe_files(lhe_files, my_lhe_file )
lhe_files[0] = my_lhe_file
athMsgLog.info("Using uncompressed LHE file '{}' as inputGeneratorFile".format(lhe_files[0]))
runArgs.inputGeneratorFile = lhe_files[0]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment