12Test backwards compatibility for an mdst file produced with release-05-00-00.
14See https://confluence.desy.de/display/BI/Backward+Compatibility if this test fails.
16CHANGES since release-05-00-00:
18- EventLevelClusteringInfo
19 + nKLMDigitsMultiStrip
23- EventLevelTrackingInfo:
24 + hasSVDSpacePointCreatorAbortionFlag/setSVDSpacePointCreatorAbortionFlag
28 + remove the const classifier of TrackFitResults and add a function to update the contents
29 + updateTrackFitResult
33 + isPoissonInInjectionVeto()
34 * added getters to map bit names to numbers (getInputBitNumber, getOutputBitNumber)
35 The mapping
is from the database
and doesn
't affect mdst content and is thus not tested here. + getInputBitNumber added
36 + getOutputBitNumber added
39- EventLevelTriggerTimeInfo
40 * added new storage element for information
from the Trigger Timing Distribution (TTD)
42 + statusBitmap
and getStatusBit
45 + isFlippedAndRefitted
46 + getTrackFitResultByName
47 + getTrackFitResultsByName
48 + getTrackFitResultWithClosestMassByName
51from basf2 import create_path, process, set_random_seed, find_file
52from b2test_utils import configure_logging_for_tests
53from mdst import add_mdst_dump
55if __name__ == "__main__":
56 configure_logging_for_tests()
59 main.add_module("RootInput", inputFileName=find_file(
"mdst/tests/mdst-v05-00-00.root"))
60 main.add_module(
"EventInfoPrinter")
61 add_mdst_dump(main,
True)