30import modularAnalysis
as ma
33my_path = b2.create_path()
36ma.inputMdst(filename=b2.find_file(
'JPsi2ee_e2egamma.root',
'examples',
False),
40ma.fillParticleList(decayString=
'e+',
41 cut=
'electronID > 0.2 and d0 < 2 and abs(z0) < 4',
44ma.fillParticleList(decayString=
'gamma',
48ma.reconstructDecay(decayString=
'J/psi -> e+ e-',
53my_path.add_module(
'ParticleMCDecayString', listName=
'J/psi', fileName=
'hashmap_Jpsi_from_B2A502.root')
61 'extraInfo(DecayHash)',
62 'extraInfo(DecayHashExtended)',
65ma.variablesToNtuple(decayString=
'J/psi',
67 filename=
'Jpsi_from_B2A502.root',