30 import modularAnalysis
as ma
36 my_path = b2.create_path()
39 ma.inputMdst(environmentType=
'default',
40 filename=b2.find_file(
'B2pi0D_D2hh_D2hhh_B2munu.root',
'examples',
False),
44 ma.printDataStore(path=my_path)
51 stdv.stdKshorts(prioritiseV0=
True, path=my_path)
52 stdv.stdLambdas(prioritiseV0=
True, path=my_path)
55 ma.printDataStore(path=my_path)
58 ma.printList(list_name=
'K_S0:merged', full=
False, path=my_path)
59 ma.printList(list_name=
'Lambda0:merged', full=
False, path=my_path)
62 pi0_vars = vc.kinematics + \
68 v0_vars = vc.kinematics + \
73 vu.create_daughter_aliases(pi0_vars, 0) +\
74 vu.create_daughter_aliases(pi0_vars, 1)
78 rootOutputFile =
'B2A203-LoadV0s.root'
81 ma.variablesToNtuple(treename=
'kshort_std',
82 decayString=
'K_S0:merged',
84 filename=rootOutputFile,
88 ma.variablesToNtuple(treename=
'lambda_std',
89 decayString=
'Lambda0:merged',
91 filename=rootOutputFile,