3 import modularAnalysis
as ma
5 from variables
import variables
as vm
8 main = b2.create_path()
13 "starterkit/2021/B02ks0pi0_sample.root", data_type=
"examples"
15 b2.find_file(
"starterkit/2021/uubar_sample.root", data_type=
"examples"),
17 entrySequences=[
"1001:2000",
"15001:30000"],
23 decayString=
"pi+:good", cut=
"chiProb > 0.001 and pionID > 0.5", path=main
27 decayString=
"K_S0 -> pi+:good pi-:good", cut=
"0.480<=M<=0.516", path=main
31 decayString=
"B0 -> K_S0 pi0:eff60_May2020",
32 cut=
"5.1 < Mbc < 5.3 and abs(deltaE) < 2",
36 ma.buildRestOfEvent(target_list_name=
"B0", path=main)
39 "nCDCHits > 0 and useCMSFrame(p)<=3.2",
40 "p >= 0.05 and useCMSFrame(p)<=3.2",
42 ma.appendROEMasks(list_name=
"B0", mask_tuples=[cleanMask], path=main)
44 ma.buildContinuumSuppression(list_name=
"B0", roe_mask=
"cleanMask", path=main)
49 extraInfoName=
"ContinuumProbability",
50 identifier=
"MVAFastBDT.root",
62 "KSFWVariables(hso00)",
63 "KSFWVariables(hso01)",
64 "KSFWVariables(hso02)",
65 "KSFWVariables(hso03)",
66 "KSFWVariables(hso04)",
67 "KSFWVariables(hso10)",
68 "KSFWVariables(hso12)",
69 "KSFWVariables(hso14)",
70 "KSFWVariables(hso20)",
71 "KSFWVariables(hso22)",
72 "KSFWVariables(hso24)",
73 "KSFWVariables(hoo0)",
74 "KSFWVariables(hoo1)",
75 "KSFWVariables(hoo2)",
76 "KSFWVariables(hoo3)",
77 "KSFWVariables(hoo4)",
90 vm.addAlias(
"ContProb",
"extraInfo(ContinuumProbability)")
94 variables=[
"ContProb",
"isContinuumEvent"] + simpleCSVariables,
95 filename=
"ContinuumSuppression_applied.root",
def stdPi0s(listtype="eff60_May2020", path=None, beamBackgroundMVAWeight="", fakePhotonMVAWeight="", biasCorrectionTable="")