Commit 23485dca authored by Timothee Theveneaux-Pelzer's avatar Timothee Theveneaux-Pelzer 🖖
Browse files

Removing limitation of 100k events per lhe file

parent ae280606
......@@ -316,8 +316,8 @@ if evgenConfig.minevents > 0 :
if evgenConfig.nEventsPerJob < 1:
raise RuntimeError("evgenConfig.nEventsPerJob must be at least 1")
elif evgenConfig.nEventsPerJob > 100000:# limitation to 100k events per output lhe file
raise RuntimeError("evgenConfig.nEventsPerJob can be max. 100000")
#elif evgenConfig.nEventsPerJob > 100000:# limitation to 100k events per output lhe file
#raise RuntimeError("evgenConfig.nEventsPerJob can be max. 100000")
else:
evgenLog.info("evgenConfig.nEventsPerJob = {}, but only {} (dummy) event(s) will be generated by Pythia8 for lhe-only production".format(evgenConfig.nEventsPerJob, postSeq.CountHepMC.RequestedOutput))
### NB: postSeq.CountHepMC.RequestedOutput is set to 1 in LHEonly.py
......
Markdown is supported
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