25 import modularAnalysis
as ma
28 my_path = b2.create_path()
31 ma.inputMdst(environmentType=
'default',
32 filename=b2.find_file(
'JPsi2ee_e2egamma.root',
'examples',
False),
36 ma.fillParticleList(decayString=
'e+',
37 cut=
'electronID > 0.2 and d0 < 2 and abs(z0) < 4',
40 ma.fillParticleList(decayString=
'gamma',
44 ma.reconstructDecay(decayString=
'J/psi -> e+ e-',
49 my_path.add_module(
'ParticleMCDecayString', listName=
'J/psi', fileName=
'hashmap_Jpsi_from_B2A502.root')
57 'extraInfo(DecayHash)',
58 'extraInfo(DecayHashExtended)',
61 ma.variablesToNtuple(decayString=
'J/psi',
63 filename=
'Jpsi_from_B2A502.root',