Scripting LHE files in WHIZARD
Dear experts,
I am trying to script a process while changing the mass every run, and all outputs should give separate LHE files. The script that I'm currently using does generate separate .phs, .vg, and .log files, but it overwrites the LHE file. I am also trying to rename the files but I am having a hard time dealing with it.
Here is the script (.sin file):
#######
model = pidmtest1 (ufo)
process pff = a, a => dpip, dpim, dpi0
?rebuild_library = true
sqrts = 14 TeV
beams = p,p => lhapdf, lhapdf
$lhapdf_file = "LUXqed17_
$phs_method = "wood"
n_events = 10000
scan Mdpim=(0.1 GeV => 10 GeV /+ 0.1 GeV){
scan Mdpi0=(0.1 GeV => 10 GeV /+ 0.1 GeV){
$run_id = sprintf "%e" (Mdpim*Mdpi0)
compile
}
}
#######
I'm trying to change the mass of both dpim and dpi0, since the process leaves dpi0, dpim, and dpip (antiparticle of dpim) in the final state. This leads to massive output of .vg, .log, and .phs files, but as mentioned before, the LHE file keeps being overwritten (which is the main file I want to extract).
Is there any way to script this? Doing this manually would be extremely tedious.
Thank you.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- WHIZARD Edit question
- Assignee:
- Aleksander Filip Zarnecki Edit question
- Solved by:
- Shafakat Arifeen
- Solved:
- Last query:
- Last reply: