Skip to content

Commit

Permalink
#11 change tempoarily KKMC setup to compensated missing link
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkzerwas committed Apr 27, 2024
1 parent f9c4035 commit 91d359c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/Generators/KKMC.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ def write_file(self):

def write_key4hepfile(self):
key4hepRun = ""
key4hepRun += "KKMCee -c "+self.GeneratorDatacardName + " -o events.lhe"+ "\n"
key4hepRun += "ln -sf "+self.GeneratorDatacardName+" pro.input"+"\n"
key4hepRun += "KKMCee -o events.lhe"+ "\n"
key4hepRun += "$CONVERTHEPMC2EDM4HEP/convertHepMC2EDM4HEP -i lhe -o {0} events.lhe {1}.{0}\n".format(self.procinfo.get("output_format"),self.GeneratorDatacardBase)
key4hepRun += "$CONVERTHEPMC2EDM4HEP/convertHepMC2EDM4HEP -i {0} -o edm4hep {1}.{0} {1}.edm4hep\n".format(self.procinfo.get("output_format"),self.GeneratorDatacardBase)
self.write_Key4hepScript(key4hepRun)
Expand Down

0 comments on commit 91d359c

Please sign in to comment.