13 Test backwards compatibility for an mdst file produced with release-04-00-03.
15 See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
17 CHANGES since release-04-00-03:
19 - EventLevelTrackingInfo:
20 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
21 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
22 + hasSVDSpacePointCreatorAbortionFlag/setSVDSpacePointCreatorAbortionFlag
24 * The compatibility tag "Legacy_IP_Information" is no longer added for
25 release 4 input files.
28 + isPoissonInInjectionVeto()
29 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
30 The mapping is from the database and doesn't affect mdst content and is thus not tested here.
31 + getInputBitNumber added
32 + getOutputBitNumber added
34 * The particle masses have been updated to PDG 2020. As a result, the
35 energies corresponding to the measured momenta became slightly different.
41 - EventLevelTriggerTimeInfo
42 * added new storage element for information from the Trigger Timing Distribution (TTD)
45 from basf2
import create_path, process, set_random_seed, find_file
46 from b2test_utils
import configure_logging_for_tests
47 from mdst
import add_mdst_dump
49 if __name__ ==
"__main__":
50 configure_logging_for_tests()
53 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v04-00-03.root"))
54 main.add_module(
"EventInfoPrinter")
55 add_mdst_dump(main,
True)