5 Test backwards compatibility for an mdst file produced with release-02-01-00.
7 See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
9 CHANGES since release-02-01-00:
12 - EventLevelTrackingInfo:
13 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
14 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
16 + getPulseShapeDiscriminationMVA added
18 + hasFailedTimeResolution
19 - getCovarianceMatrixAsArray removed
22 + isPoissonInInjectionVeto
23 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
24 The mapping is from the database and doesn't affect mdst content and is thus not tested here.
25 - SoftwareTriggerResult:
26 * non-prescaled results added
31 * The particle masses have been updated to PDG 2020. As a result, the
32 energies corresponding to the measured momenta became slightly different.
35 from basf2
import create_path, process, set_random_seed, find_file, LogLevel, logging
36 from b2test_utils
import configure_logging_for_tests
37 from mdst
import add_mdst_dump
39 if __name__ ==
"__main__":
40 configure_logging_for_tests()
43 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v02-01-00.root"))
44 main.add_module(
"EventInfoPrinter")
45 add_mdst_dump(main,
True)