6 <input>14120400.udst.root</input>
7 <output>BtoDh_Kspipipi0_Validation.root</output>
8 <contact>niharikarout@physics.iitm.ac.in</contact>
13 import modularAnalysis
as ma
14 from stdCharged
import stdK, stdPi
15 from stdPi0s
import loadStdSkimPi0
16 from stdV0s
import stdKshorts
17 from stdPi0s
import stdPi0s
19 kspipipi0Path = b2.Path()
21 ma.inputMdst(
'default',
'14120400.udst.root', path=kspipipi0Path)
23 stdPi(
'all', path=kspipipi0Path)
24 stdK(
'all', path=kspipipi0Path)
25 loadStdSkimPi0(path=kspipipi0Path)
26 stdKshorts(path=kspipipi0Path)
27 stdPi0s(listtype=
'eff40_Jan2020Fit', path=kspipipi0Path)
29 ma.reconstructDecay(
'D0 -> K_S0:merged pi-:all pi+:all pi0:eff40_Jan2020Fit',
'1.84 < M < 1.89', path=kspipipi0Path)
30 ma.reconstructDecay(
'B-:ch3 ->D0 K-:all',
'5.24 < Mbc < 5.3 and abs(deltaE) < 0.15', path=kspipipi0Path)
34 ma.variablesToHistogram(
35 filename=
'BtoDh_Kspipipi0_Validation.root',
38 (
'Mbc', 100, 5.2, 5.3),
39 (
'deltaE', 100, -1, 1),
40 (
'daughter(0, InvM)', 100, 1.8, 1.9)],
42 (
'Mbc', 50, 5.23, 5.31,
'deltaE', 50, -0.7, 0.7)], path=kspipipi0Path)
44 b2.process(kspipipi0Path)