12Forbid users from filling an 'all' list with cuts. This has dangerous
13potential to conflict with the standard lists and any standard tools.
17from basf2
import create_path, set_random_seed
21set_random_seed(
'1337')
25goodpath = create_path()
26goodpath.add_module(
'RootInput', inputFileNames=testinput)
27goodpath.add_module(
'ParticleLoader', decayStrings=[
'e+:all'])
31badpath = create_path()
32badpath.add_module(
'RootInput', inputFileNames=testinput)
33badpath.add_module(
'ParticleLoader', decayStrings=[
'e+'])
34badpath.add_module(
'ParticleListManipulator', outputListName=
'e+:my_electrons', inputListNames=[
'e+:all'])
35badpath.add_module(
'ParticleListManipulator', outputListName=
'e+:all', inputListNames=[
'e+:my_electrons'])
def require_file(filename, data_type="", py_case=None)
def safe_process(*args, **kwargs)
def configure_logging_for_tests(user_replacements=None)