Skip to content

Commit

Permalink
aligenMC - gen/herwig/generate_hwgin.py (typo)
Browse files Browse the repository at this point in the history
Simply fix a typo in a comment
  • Loading branch information
maireiphc authored Sep 29, 2020
1 parent 49ba8ea commit 2634490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gen/herwig/generate_hwgin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def GenerateHerwigInput(outputfile, tune, cmsenegy, events, hepmcfile, ktmin, kt
# See (jet): http://mcplots.cern.ch/dat/pp/jets/pt/cms2011-y0.5/7000/herwig++/2.7.1/default.params
# See also for minimum-bias: Chapter B.2 https://arxiv.org/abs/0803.0883
with open(outputfile, "w") as myfile:
myfile.write("read snippets/PPCollider.in\n") # Markus: Take PPCollider.in fron Herwig repositiory instead of custom version
myfile.write("read snippets/PPCollider.in\n") # Markus: Take PPCollider.in from Herwig repositiory instead of custom version
myfile.write("set /Herwig/Generators/EventGenerator:EventHandler:LuminosityFunction:Energy {}.0\n".format(cmsenegy))
if tune == "mb":
# MB tune from Herwig repo
Expand Down Expand Up @@ -79,4 +79,4 @@ def GenerateHerwigInput(outputfile, tune, cmsenegy, events, hepmcfile, ktmin, kt
default=-1., type=float)
args = parser.parse_args()

GenerateHerwigInput(args.herwigfile, args.tune, args.energy, args.numevents, args.hepmcfile, args.ktmin, args.ktmax)
GenerateHerwigInput(args.herwigfile, args.tune, args.energy, args.numevents, args.hepmcfile, args.ktmin, args.ktmax)

0 comments on commit 2634490

Please sign in to comment.