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