12import modularAnalysis
as ma
13import b2test_utils
as b2tu
16def check_file(input_file_name):
17 """Run the check with a quick basf2 printout for the
18 first event in ``input_file_name`` on the validation server
"""
19 input_file = b2tu.require_file(input_file_name, 'validation')
21 ma.inputMdst(input_file, path=pa)
22 ma.printVariableValues(
23 "", [
"IPX",
"IPY",
"IPZ",
"genIPX",
"genIPY",
"genIPZ"], path=pa)
24 b2tu.safe_process(pa, 1)
27if __name__ ==
"__main__":
28 b2.set_random_seed(
":-)")
29 b2tu.configure_logging_for_tests()
30 check_file(
"mdst16.root")