12 Test backwards compatibility for a udst file produced with release-04-01-04.
14 This is not always guaranteed. Analysis objects may break backwards
15 compatibility for older files. Some niche corner cases might be problematic for
16 file produced with release older than release-05-00-00.
18 See https://confluence.desy.de/display/BI/Backward+Compatibility for more
25 if __name__ ==
"__main__":
29 basf2.set_random_seed(1)
33 main = basf2.create_path()
35 "RootInput", inputFileName=basf2.find_file(
"analysis/tests/udst-v04-02-04.root")
37 main.add_module(
"EventInfoPrinter")
44 sanity_check_variables = [
47 "Mbc",
"InvM",
"deltaE",
48 "daughter(1, pionID)",
49 "daughter(1, kaonID)",
50 "daughter(1, clusterE)",
51 "daughter(1, klmClusterLayers)",
54 "ParticlePrinter", listName=
"B0:semileptonic", variables=sanity_check_variables)
57 basf2.process(main, 3)
def configure_logging_for_tests(user_replacements=None)
def add_udst_dump(path, print_untested=False)