12Test backwards compatibility for an mdst file produced with release-02-01-00.
14See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
16CHANGES 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.- SoftwareTriggerResult:
40 * non-prescaled results added
44 + remove the const classifier of TrackFitResults and add a function to update the contents
45 + updateTrackFitResult
48 * The particle masses have been updated to PDG 2020. As a result, the
49 energies corresponding to the measured momenta became slightly different.
50- EventLevelTriggerTimeInfo
51 * added new storage element
for information
from the Trigger Timing Distribution (TTD)
53 + statusBitmap
and getStatusBit
56 + isFlippedAndRefitted
57 + getTrackFitResultByName
58 + getTrackFitResultsByName
59 + getTrackFitResultWithClosestMassByName
62from basf2 import create_path, process, set_random_seed, find_file
63from b2test_utils import configure_logging_for_tests
64from mdst import add_mdst_dump
66if __name__ == "__main__":
67 configure_logging_for_tests()
70 main.add_module("RootInput", inputFileName=find_file(
"mdst/tests/mdst-v02-01-00.root"))
71 main.add_module(
"EventInfoPrinter")
72 add_mdst_dump(main,
True)