39 import modularAnalysis
as ma
40 import stdCharged
as stdc
41 from stdPi0s
import stdPi0s
44 my_path = b2.create_path()
47 ma.inputMdst(environmentType=
'default',
48 filename=b2.find_file(
'B2pi0D_D2hh_D2hhh_B2munu.root',
'examples',
False),
54 stdc.stdPi(listtype=
'loose', path=my_path)
56 stdc.stdK(listtype=
'loose', path=my_path)
59 stdPi0s(listtype=
'eff40_May2020Fit', path=my_path)
62 ma.reconstructDecay(decayString=
'D0:ch1 -> K-:loose pi+:loose',
63 cut=
'1.8 < M < 1.9 and 2.5 < useCMSFrame(p) < 5.5',
66 ma.reconstructDecay(decayString=
'D0:ch2 -> K-:loose pi+:loose pi0:eff40_May2020Fit',
67 cut=
'1.8 < M < 1.9 and 2.5 < useCMSFrame(p) < 5.5',
70 ma.reconstructDecay(decayString=
'D0:ch3 -> K-:loose pi+:loose pi+:loose pi-:loose',
71 cut=
'1.8 < M < 1.9 and 2.5 < useCMSFrame(p) < 5.5',
76 ma.copyLists(outputListName=
'D0:all', inputListNames=[
'D0:ch1',
'D0:ch2',
'D0:ch3'], path=my_path)
79 ma.reconstructDecay(decayString=
'D+:kpipi -> K-:loose pi+:loose pi+:loose',
80 cut=
'1.8 < M < 1.9 and 2.5 < useCMSFrame(p) < 5.5',
85 ma.reconstructDecay(decayString=
'D_s+:kkpi -> K-:loose K+:loose pi+:loose',
86 cut=
'1.9 < M < 2.0 and 2.5 < useCMSFrame(p) < 5.5',
91 ma.matchMCTruth(list_name=
'D0:all', path=my_path)
92 ma.matchMCTruth(list_name=
'D+:kpipi', path=my_path)
93 ma.matchMCTruth(list_name=
'D_s+:kkpi', path=my_path)
97 ma.summaryOfLists(particleLists=[
'D0:ch1',
'D0:ch2',
'D0:ch3'], path=my_path)
99 ma.summaryOfLists(particleLists=[
'D0:all',
'D+:kpipi',
'D_s+:kkpi'], path=my_path)