12Test backwards compatibility for an mdst file produced with release-00-09-03.
14See https://xwiki.desy.de/xwiki/rest/p/0a372 if this test fails.
16CHANGES since release-00-09-03:
18- EventLevelClusteringInfo
19 + nKLMDigitsMultiStrip
25- EventLevelTrackingInfo:
26 + hasSVDCKFAbortionFlag/setSVDCKFAbortionFlag
27 + hasPXDCKFAbortionFlag/setPXDCKFAbortionFlag
28 + hasSVDSpacePointCreatorAbortionFlag/setSVDSpacePointCreatorAbortionFlag
29- The default magnetic field is changed affecting all momentum measurements.
31 * getTrackFitResult behavior changed
for non-pion tracks
33 + statusBitmap
and getStatusBit
36 + isFlippedAndRefitted
37 + getTrackFitResultByName
38 + getTrackFitResultsByName
39 + getTrackFitResultWithClosestMassByName
43 + remove the const classifier of TrackFitResults
and add a function to update the contents
44 + updateTrackFitResult
48 + isPoissonInInjectionVeto()
49 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
50 The mapping
is from the database
and doesn
't affect mdst content and is thus not tested here.- ECLCluster:
52 + getPulseShapeDiscriminationMVA
53 + getClusterHadronIntensity
54 + getNumberOfHadronDigits
55 + hasPulseShapeDiscrimination
56 + hasTriggerClusterMatching
59 + hasFailedTimeResolution
60 * getCovarianceMatrixAsArray removed
62- SoftwareTriggerResult:
63 * getTotalResult removed
64 * non-prescaled results added
66 * The particle masses have been updated to PDG 2020. As a result, the
67 energies corresponding to the measured momenta became slightly different.
68- EventLevelTriggerTimeInfo
69 * added new storage element for information
from the Trigger Timing Distribution (TTD)
72from basf2 import create_path, process, set_random_seed, find_file, conditions
73from b2test_utils import configure_logging_for_tests
74from mdst import add_mdst_dump
76if __name__ == "__main__":
78 conditions.disable_globaltag_replay()
79 configure_logging_for_tests()
82 main.add_module(
"RootInput", inputFileName=find_file(
"mdst/tests/mdst-v00-09-03.root"))
83 main.add_module(
"EventInfoPrinter")
84 add_mdst_dump(main,
True)