25 import modularAnalysis
as ma
31 my_path = b2.create_path()
34 ma.inputMdst(environmentType=
'default',
35 filename=b2.find_file(
'B2pi0D_D2hh_D2hhh_B2munu.root',
'examples',
False),
39 ma.printDataStore(path=my_path)
46 stdv.stdKshorts(prioritiseV0=
True, path=my_path)
47 stdv.stdLambdas(prioritiseV0=
True, path=my_path)
50 ma.printDataStore(path=my_path)
53 ma.printList(list_name=
'K_S0:merged', full=
False, path=my_path)
54 ma.printList(list_name=
'Lambda0:merged', full=
False, path=my_path)
57 pi0_vars = vc.kinematics + \
63 v0_vars = vc.kinematics + \
68 vu.create_daughter_aliases(pi0_vars, 0) +\
69 vu.create_daughter_aliases(pi0_vars, 1)
73 rootOutputFile =
'B2A203-LoadV0s.root'
76 ma.variablesToNtuple(treename=
'kshort_std',
77 decayString=
'K_S0:merged',
79 filename=rootOutputFile,
83 ma.variablesToNtuple(treename=
'lambda_std',
84 decayString=
'Lambda0:merged',
86 filename=rootOutputFile,