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