4 import modularAnalysis
as ma
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"),
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)
55 variables=simpleCSVariables + [
"Mbc",
"isContinuumEvent"],
56 filename=
"ContinuumSuppression.root",
def stdPi0s(listtype="eff60_May2020", path=None, beamBackgroundMVAWeight="", fakePhotonMVAWeight="", biasCorrectionTable="")