12 Test backwards compatibility for an mdst file produced with release-03-01-02.
14 See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
16 CHANGES since release-03-01-02:
20 - EventLevelTrackingInfo:
21 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
22 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
23 + hasSVDSpacePointCreatorAbortionFlag/setSVDSpacePointCreatorAbortionFlag
27 + hasFailedTimeResolution
31 + remove the const classifier of TrackFitResults and add a function to update the contents
32 + updateTrackFitResult
36 + isPoissonInInjectionVeto()
37 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
38 The mapping is from the database and doesn't affect mdst content and is thus not tested here.
39 + getInputBitNumber added
40 + getOutputBitNumber added
42 * The particle masses have been updated to PDG 2020. As a result, the
43 energies corresponding to the measured momenta became slightly different.
44 - EventLevelTriggerTimeInfo
45 * added new storage element for information from the Trigger Timing Distribution (TTD)
47 + statusBitmap and getStatusBit
50 + isFlippedAndRefitted
51 + getTrackFitResultByName
52 + getTrackFitResultsByName
53 + getTrackFitResultWithClosestMassByName
56 from basf2
import create_path, process, set_random_seed, find_file
57 from b2test_utils
import configure_logging_for_tests
58 from mdst
import add_mdst_dump
60 if __name__ ==
"__main__":
61 configure_logging_for_tests()
64 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v03-01-02.root"))
65 main.add_module(
"EventInfoPrinter")
66 add_mdst_dump(main,
True)