12 Test backwards compatibility for an mdst file produced with release-04-00-03.
14 See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
16 CHANGES since release-04-00-03:
18 - EventLevelTrackingInfo:
19 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
20 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
21 + hasSVDSpacePointCreatorAbortionFlag/setSVDSpacePointCreatorAbortionFlag
23 * The compatibility tag "Legacy_IP_Information" is no longer added for
24 release 4 input files.
27 + isPoissonInInjectionVeto()
28 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
29 The mapping is from the database and doesn't affect mdst content and is thus not tested here.
30 + getInputBitNumber added
31 + getOutputBitNumber added
33 * The particle masses have been updated to PDG 2020. As a result, the
34 energies corresponding to the measured momenta became slightly different.
38 + remove the const classifier of TrackFitResults and add a function to update the contents
39 + updateTrackFitResult
43 - EventLevelTriggerTimeInfo
44 * added new storage element for information from the Trigger Timing Distribution (TTD)
46 + statusBitmap and getStatusBit
49 + isFlippedAndRefitted
50 + getTrackFitResultByName
51 + getTrackFitResultsByName
52 + getTrackFitResultWithClosestMassByName
55 from basf2
import create_path, process, set_random_seed, find_file
56 from b2test_utils
import configure_logging_for_tests
57 from mdst
import add_mdst_dump
59 if __name__ ==
"__main__":
60 configure_logging_for_tests()
63 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v04-00-03.root"))
64 main.add_module(
"EventInfoPrinter")
65 add_mdst_dump(main,
True)