5 Test backwards compatibility for an mdst file produced with release-04-00-03.
7 See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
9 CHANGES since release-04-00-03:
11 - EventLevelTrackingInfo:
12 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
13 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
15 * The compatibility tag "Legacy_IP_Information" is no longer added for
16 release 4 input files.
19 + isPoissonInInjectionVeto()
20 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
21 The mapping is from the database and doesn't affect mdst content and is thus not tested here.
23 * The particle masses have been updated to PDG 2020. As a result, the
24 energies corresponding to the measured momenta became slightly different.
30 from basf2
import create_path, process, set_random_seed, find_file, LogLevel, logging
31 from b2test_utils
import configure_logging_for_tests
32 from mdst
import add_mdst_dump
34 if __name__ ==
"__main__":
35 configure_logging_for_tests()
38 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v04-00-03.root"))
39 main.add_module(
"EventInfoPrinter")
40 add_mdst_dump(main,
True)