13 Test backwards compatibility for an mdst file produced with release-03-01-02.
15 See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
17 CHANGES since release-03-01-02:
21 - EventLevelTrackingInfo:
22 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
23 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
24 + hasSVDSpacePointCreatorAbortionFlag/setSVDSpacePointCreatorAbortionFlag
28 + hasFailedTimeResolution
34 + isPoissonInInjectionVeto()
35 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
36 The mapping is from the database and doesn't affect mdst content and is thus not tested here.
37 + getInputBitNumber added
38 + getOutputBitNumber added
40 * The particle masses have been updated to PDG 2020. As a result, the
41 energies corresponding to the measured momenta became slightly different.
42 - EventLevelTriggerTimeInfo
43 * added new storage element for information from the Trigger Timing Distribution (TTD)
46 from basf2
import create_path, process, set_random_seed, find_file
47 from b2test_utils
import configure_logging_for_tests
48 from mdst
import add_mdst_dump
50 if __name__ ==
"__main__":
51 configure_logging_for_tests()
54 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v03-01-02.root"))
55 main.add_module(
"EventInfoPrinter")
56 add_mdst_dump(main,
True)