30 import modularAnalysis
as ma
33 my_path = b2.create_path()
36 ma.inputMdst(environmentType=
'default',
37 filename=b2.find_file(
'JPsi2ee_e2egamma.root',
'examples',
False),
41 ma.fillParticleList(decayString=
'e+',
42 cut=
'electronID > 0.2 and d0 < 2 and abs(z0) < 4',
45 ma.fillParticleList(decayString=
'gamma',
49 ma.reconstructDecay(decayString=
'J/psi -> e+ e-',
54 my_path.add_module(
'ParticleMCDecayString', listName=
'J/psi', fileName=
'hashmap_Jpsi_from_B2A502.root')
62 'extraInfo(DecayHash)',
63 'extraInfo(DecayHashExtended)',
66 ma.variablesToNtuple(decayString=
'J/psi',
68 filename=
'Jpsi_from_B2A502.root',