11"""Tests udst creation with background BGx1 MC"""
15import b2test_utils
as b2tu
16import modularAnalysis
as ma
21 """Create a udst with one event in it."""
23 ma.inputMdst(b2.find_file(
"analysis/tests/mdst.root"), path=pa)
24 ma.fillParticleList(
"pi+:all",
"", path=pa)
26 b2tu.safe_process(pa, 1)
31 """Check that the udst contains the particles storearray"""
33 ma.inputMdst(
"test.udst.root", path=pa)
34 ma.printDataStore(path=pa)
35 b2tu.safe_process(path=pa)
39if __name__ ==
"__main__":
40 with b2tu.clean_working_directory():
def add_udst_output(path, filename, particleLists=None, additionalBranches=None, dataDescription=None, mc=True)