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