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