13 Forbid users from filling an 'all' list with cuts. This has dangerous
14 potential to conflict with the standard lists and any standard tools.
18 from basf2
import create_path, set_random_seed
22 set_random_seed(
'1337')
26 goodpath = create_path()
27 goodpath.add_module(
'RootInput', inputFileNames=testinput)
28 goodpath.add_module(
'ParticleLoader', decayStrings=[
'e+:all'])
32 badpath = create_path()
33 badpath.add_module(
'RootInput', inputFileNames=testinput)
34 badpath.add_module(
'ParticleLoader', decayStrings=[
'e+'])
35 badpath.add_module(
'ParticleListManipulator', outputListName=
'e+:my_electrons', inputListNames=[
'e+:all'])
36 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)