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