24import modularAnalysis
as ma
27my_path = b2.create_path()
30ma.inputMdst(filename=b2.find_file(
'B2pi0D_D2hh_D2hhh_B2munu.root',
'examples',
False),
35ma.fillParticleListFromMC(decayString=
'K-:gen', cut=
'', path=my_path)
36ma.fillParticleListFromMC(decayString=
'pi-:gen', cut=
'', path=my_path)
43ma.printVariableValues(list_name=
'K-:gen', var_names=[
'charge',
'E',
'p'], path=my_path)
44ma.printVariableValues(list_name=
'pi-:gen', var_names=[
'charge',
'px',
'py',
'pz'], path=my_path)