36import modularAnalysis
as ma
38from stdPi0s
import stdPi0s
41my_path = b2.create_path()
44ma.inputMdst(filename=b2.find_file(
'B02D0pi0_D02pi0pi0.root',
'examples',
False),
52stdPi0s(listtype=
'eff40_May2020Fit', path=my_path)
56ma.reconstructDecay(decayString=
'D0:pi0pi0 -> pi0:eff40_May2020Fit pi0:eff40_May2020Fit',
63ma.reconstructDecay(decayString=
'B0:all -> D0:pi0pi0 pi0:eff40_May2020Fit',
64 cut=
'5.24 < Mbc < 5.29 and abs(deltaE) < 1.0',
68ma.matchMCTruth(list_name=
'B0:all', path=my_path)
70vx.treeFit(list_name=
'B0:all',
74 updateAllDaughters=
True,
75 massConstraint=[
'pi0'],
89 "originalDaughter(0, E)",
93output_name =
"B2A400-TreeFit.root"
94my_path.add_module(
'VariablesToNtuple',
96 particleList=
'B0:all',