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 - EventLevelClusteringInfo
19 + nKLMDigitsMultiStrip
23 - EventLevelTrackingInfo:
24 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
25 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
26 + hasSVDSpacePointCreatorAbortionFlag/setSVDSpacePointCreatorAbortionFlag
28 * The compatibility tag "Legacy_IP_Information" is no longer added for
29 release 4 input files.
32 + isPoissonInInjectionVeto()
33 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
34 The mapping is from the database and doesn't affect mdst content and is thus not tested here.
35 + getInputBitNumber added
36 + getOutputBitNumber added
38 * The particle masses have been updated to PDG 2020. As a result, the
39 energies corresponding to the measured momenta became slightly different.
43 + remove the const classifier of TrackFitResults and add a function to update the contents
44 + updateTrackFitResult
48 - EventLevelTriggerTimeInfo
49 * added new storage element for information from the Trigger Timing Distribution (TTD)
51 + statusBitmap and getStatusBit
54 + isFlippedAndRefitted
55 + getTrackFitResultByName
56 + getTrackFitResultsByName
57 + getTrackFitResultWithClosestMassByName
60 from basf2
import create_path, process, set_random_seed, find_file
61 from b2test_utils
import configure_logging_for_tests
62 from mdst
import add_mdst_dump
64 if __name__ ==
"__main__":
65 configure_logging_for_tests()
68 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v04-00-03.root"))
69 main.add_module(
"EventInfoPrinter")
70 add_mdst_dump(main,
True)