Belle II Software
development
validationgenerators.py
1
#!/usr/bin/env python3
2
3
10
11
"""This file contains some functions used in the validation package to
12
generate the Monte Carlo events in a reproducible manner."""
13
14
15
from
basf2
import
find_file
16
from
pdg
import
load
17
18
19
def
add_evtgen_for_validation(path):
20
"""
21
Add the EvtGenInput module with the correct decfile and pdl files to be used for the nightly validation.
22
"""
23
# Load the appropriate pdl file
24
load(find_file(
"data/validation/validation.pdl"
))
25
# And add EvtGen with the appropriate decfile
26
path.add_module(
27
"EvtGenInput"
,
28
DECFile=find_file(
"data/validation/validation.dec"
)
29
)
validation
scripts
validationgenerators.py
Generated on Mon Dec 22 2025 03:02:21 for Belle II Software by
1.13.2