30 import modularAnalysis
as ma
36 my_path = b2.create_path()
39 ma.inputMdst(filename=b2.find_file(
'B2pi0D_D2hh_D2hhh_B2munu.root',
'examples',
False),
43 ma.printDataStore(path=my_path)
50 stdv.stdKshorts(prioritiseV0=
True, path=my_path)
51 stdv.stdLambdas(prioritiseV0=
True, path=my_path)
54 ma.printDataStore(path=my_path)
57 ma.printList(list_name=
'K_S0:merged', full=
False, path=my_path)
58 ma.printList(list_name=
'Lambda0:merged', full=
False, path=my_path)
61 pi0_vars = vc.kinematics + \
67 v0_vars = vc.kinematics + \
72 vu.create_daughter_aliases(pi0_vars, 0) +\
73 vu.create_daughter_aliases(pi0_vars, 1)
77 rootOutputFile =
'B2A203-LoadV0s.root'
80 ma.variablesToNtuple(treename=
'kshort_std',
81 decayString=
'K_S0:merged',
83 filename=rootOutputFile,
87 ma.variablesToNtuple(treename=
'lambda_std',
88 decayString=
'Lambda0:merged',
90 filename=rootOutputFile,