21 def test(self):
22 """ Test of SVDVariablesToStorageModule """
23
24 set_random_seed("something important")
25
27
28 main = create_path()
29
31 ma.inputMdst(input_file, path=main)
32
33 ma.fillParticleList("pi+:all", "", path=main)
34
35 variablesToNtuple = ["SVDClusterCharge", "SVDClusterSNR", "SVDClusterSize", "SVDClusterTime",
36 "SVDTrackPrime", "SVDResidual", "SVDLayer", "SVDLadder", "SVDSensor", "SVDSide"]
37
38 main.add_module("SVDVariablesToStorage",
39 outputFileName="SVDVariablesToStorageModuleTests.root",
40 containerName="SVDClusterVariables",
41 particleListName="pi+:all",
42 variablesToNtuple=variablesToNtuple)
45 print("Test passed. Cleaning up.")
46
47
configure_logging_for_tests(user_replacements=None, replace_cdb_provider=True)
require_file(filename, data_type="", py_case=None)
safe_process(*args, **kwargs)