Skip to content
Snippets Groups Projects
Commit 08699d3f authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Merge branch 'w2list' of git.km3net.de:simulation/km3buu into w2list

parents 9653032f 9f7505ec
No related branches found
No related tags found
1 merge request!8W2list
Pipeline #19691 passed
......@@ -102,7 +102,8 @@ EMPTY_KM3NET_HEADER_DICT = {
"coord_origin": "0 0 0",
"norma": "0 0",
"tgen": "0",
"simul": ""
"simul": "",
"primary": "0"
}
PARTICLE_MC_STATUS = {
......@@ -503,6 +504,7 @@ def write_detector_file(gibuu_output,
timestamp = datetime.now()
header_dct["simul"] = "KM3BUU {} {}".format(
version, timestamp.strftime("%Y%m%d %H%M%S"))
header_dct["primary"] = "{:d}".format(nu_type)
for k, v in header_dct.items():
head.set_line(k, v)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment