13 Test backwards compatibility for an mdst file produced with release-01-00-04.
15 See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
17 CHANGES since release-01-00-04:
20 - EventLevelTrackingInfo:
21 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
22 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
23 + hasSVDSpacePointCreatorAbortionFlag/setSVDSpacePointCreatorAbortionFlag
24 - The default magnetic field is changed affecting all momentum measurements.
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.
37 + getPulseShapeDiscriminationMVA
38 + getClusterHadronIntensity
39 + getNumberOfHadronDigits
40 + hasPulseShapeDiscrimination
41 + hasTriggerClusterMatching
44 + hasFailedTimeResolution
45 * getCovarianceMatrixAsArray removed
48 * getTimTypeBits is replaced by getTimType
50 - SoftwareTriggerResult:
51 * non-prescaled results added
53 * The particle masses have been updated to PDG 2020. As a result, the
54 energies corresponding to the measured momenta became slightly different.
55 - EventLevelTriggerTimeInfo
56 * added new storage element for information from the Trigger Timing Distribution (TTD)
59 from basf2
import create_path, process, set_random_seed, find_file
60 from b2test_utils
import configure_logging_for_tests
61 from mdst
import add_mdst_dump
63 if __name__ ==
"__main__":
64 configure_logging_for_tests()
67 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v01-00-04.root"))
68 main.add_module(
"EventInfoPrinter")
69 add_mdst_dump(main,
True)