39import modularAnalysis
as ma
40import stdCharged
as stdc
41from stdPi0s
import stdPi0s
44my_path = b2.create_path()
47ma.inputMdst(filename=b2.find_file(
'B2pi0D_D2hh_D2hhh_B2munu.root',
'examples',
False),
53stdc.stdPi(listtype=
'loose', path=my_path)
55stdc.stdK(listtype=
'loose', path=my_path)
58stdPi0s(listtype=
'eff40_May2020Fit', path=my_path)
61ma.reconstructDecay(decayString=
'D0:ch1 -> K-:loose pi+:loose',
62 cut=
'1.8 < M < 1.9 and 2.5 < useCMSFrame(p) < 5.5',
65ma.reconstructDecay(decayString=
'D0:ch2 -> K-:loose pi+:loose pi0:eff40_May2020Fit',
66 cut=
'1.8 < M < 1.9 and 2.5 < useCMSFrame(p) < 5.5',
69ma.reconstructDecay(decayString=
'D0:ch3 -> K-:loose pi+:loose pi+:loose pi-:loose',
70 cut=
'1.8 < M < 1.9 and 2.5 < useCMSFrame(p) < 5.5',
75ma.copyLists(outputListName=
'D0:all', inputListNames=[
'D0:ch1',
'D0:ch2',
'D0:ch3'], path=my_path)
78ma.reconstructDecay(decayString=
'D+:kpipi -> K-:loose pi+:loose pi+:loose',
79 cut=
'1.8 < M < 1.9 and 2.5 < useCMSFrame(p) < 5.5',
84ma.reconstructDecay(decayString=
'D_s+:kkpi -> K-:loose K+:loose pi+:loose',
85 cut=
'1.9 < M < 2.0 and 2.5 < useCMSFrame(p) < 5.5',
90ma.matchMCTruth(list_name=
'D0:all', path=my_path)
91ma.matchMCTruth(list_name=
'D+:kpipi', path=my_path)
92ma.matchMCTruth(list_name=
'D_s+:kkpi', path=my_path)
96ma.summaryOfLists(particleLists=[
'D0:ch1',
'D0:ch2',
'D0:ch3'], path=my_path)
98ma.summaryOfLists(particleLists=[
'D0:all',
'D+:kpipi',
'D_s+:kkpi'], path=my_path)