12 Test backwards compatibility for an mdst file produced with release-02-01-00.
14 See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
16 CHANGES since release-02-01-00:
18 - EventLevelClusteringInfo
19 + nKLMDigitsMultiStrip
25 - EventLevelTrackingInfo:
26 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
27 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
28 + hasSVDSpacePointCreatorAbortionFlag/setSVDSpacePointCreatorAbortionFlag
31 + getPulseShapeDiscriminationMVA added
33 + hasFailedTimeResolution
34 - getCovarianceMatrixAsArray removed
37 + isPoissonInInjectionVeto
38 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
39 The mapping is from the database and doesn't affect mdst content and is thus not tested here.
40 - SoftwareTriggerResult:
41 * non-prescaled results added
45 + remove the const classifier of TrackFitResults and add a function to update the contents
46 + updateTrackFitResult
49 * The particle masses have been updated to PDG 2020. As a result, the
50 energies corresponding to the measured momenta became slightly different.
51 - EventLevelTriggerTimeInfo
52 * added new storage element for information from the Trigger Timing Distribution (TTD)
54 + statusBitmap and getStatusBit
57 + isFlippedAndRefitted
58 + getTrackFitResultByName
59 + getTrackFitResultsByName
60 + getTrackFitResultWithClosestMassByName
63 from basf2
import create_path, process, set_random_seed, find_file
64 from b2test_utils
import configure_logging_for_tests
65 from mdst
import add_mdst_dump
67 if __name__ ==
"__main__":
68 configure_logging_for_tests()
71 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v02-01-00.root"))
72 main.add_module(
"EventInfoPrinter")
73 add_mdst_dump(main,
True)