5 Test backwards compatibility for an mdst file produced with release-01-02-11.
7 See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
9 CHANGES since release-01-02-11:
12 - EventLevelTrackingInfo:
13 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
14 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
15 - The default magnetic field is changed affecting all momentum measurements.
23 + isPoissonInInjectionVeto()
24 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
25 The mapping is from the database and doesn't affect mdst content and is thus not tested here.
27 + getPulseShapeDiscriminationMVA
28 + getClusterHadronIntensity
29 + getNumberOfHadronDigits
30 + hasPulseShapeDiscrimination
31 + hasTriggerClusterMatching
34 + hasFailedTimeResolution
35 * getCovarianceMatrixAsArray removed
39 - SoftwareTriggerResult:
40 * non-prescaled results added
42 * The particle masses have been updated to PDG 2020. As a result, the
43 energies corresponding to the measured momenta became slightly different.
46 from basf2
import create_path, process, set_random_seed, find_file, LogLevel, logging
47 from b2test_utils
import configure_logging_for_tests
48 from mdst
import add_mdst_dump
50 if __name__ ==
"__main__":
51 configure_logging_for_tests()
54 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v01-02-11.root"))
55 main.add_module(
"EventInfoPrinter")
56 add_mdst_dump(main,
True)