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