3 import modularAnalysis
as ma
7 main = b2.create_path()
12 "starterkit/2021/B02ks0pi0_sample.root", data_type=
"examples"
14 b2.find_file(
"starterkit/2021/uubar_sample.root", data_type=
"examples"),
16 entrySequences=[
"1:1000",
"1:15000"],
22 decayString=
"pi+:good", cut=
"chiProb > 0.001 and pionID > 0.5", path=main
26 decayString=
"K_S0 -> pi+:good pi-:good", cut=
"0.480<=M<=0.516", path=main
30 decayString=
"B0 -> K_S0 pi0:eff60_May2020",
31 cut=
"5.1 < Mbc < 5.3 and abs(deltaE) < 2",
35 ma.buildRestOfEvent(target_list_name=
"B0", path=main)
38 "nCDCHits > 0 and useCMSFrame(p)<=3.2",
39 "p >= 0.05 and useCMSFrame(p)<=3.2",
41 ma.appendROEMasks(list_name=
"B0", mask_tuples=[cleanMask], path=main)
43 ma.buildContinuumSuppression(list_name=
"B0", roe_mask=
"cleanMask", path=main)
53 "KSFWVariables(hso00)",
54 "KSFWVariables(hso01)",
55 "KSFWVariables(hso02)",
56 "KSFWVariables(hso03)",
57 "KSFWVariables(hso04)",
58 "KSFWVariables(hso10)",
59 "KSFWVariables(hso12)",
60 "KSFWVariables(hso14)",
61 "KSFWVariables(hso20)",
62 "KSFWVariables(hso22)",
63 "KSFWVariables(hso24)",
64 "KSFWVariables(hoo0)",
65 "KSFWVariables(hoo1)",
66 "KSFWVariables(hoo2)",
67 "KSFWVariables(hoo3)",
68 "KSFWVariables(hoo4)",
82 variables=simpleCSVariables + [
"Mbc",
"isContinuumEvent"],
83 filename=
"ContinuumSuppression.root",
def stdPi0s(listtype="eff60_May2020", path=None, beamBackgroundMVAWeight="", fakePhotonMVAWeight="", biasCorrectionTable="")