3import modularAnalysis
as ma
5from extravariables
import runningOnMC, outputfile
10mypath = b2.create_path()
11ma.inputMdstList(filelist=gbasf2_dataset, path=mypath, entrySequences=[
'0:10'])
13ma.fillParticleList(decayString=
'K+:my', cut=
"dr < 0.5 and abs(dz) < 3 and thetaInCDCAcceptance and kaonID > 0.01", path=mypath)
14ma.fillParticleList(decayString=
'pi+:my', cut=
"dr < 0.5 and abs(dz) < 3 and thetaInCDCAcceptance", path=mypath)
16ma.reconstructDecay(decayString=
"D-:K2Pi -> K+:my pi-:my pi-:my", cut=
"1.5 < M < 2.2", path=mypath)
18ma.reconstructDecay(decayString=
'B0:PiD-toK2Pi -> D-:K2Pi pi+:my', cut=
'5.0 < Mbc and abs(deltaE) < 1.0', path=mypath)
19vx.treeFit(
'B0:PiD-toK2Pi', 0, path=mypath, updateAllDaughters=
False, ipConstraint=
True, massConstraint=[411])
20ma.applyCuts(
'B0:PiD-toK2Pi',
'5.2 < Mbc and abs(deltaE) < 0.5', path=mypath)
25 skimDecayMode=
'BtoPiD',
26 skimParticleLists=[
'B0:PiD-toK2Pi'],
28 outputFile=outputfile)
def add_skimmed_udst_output(path, skimDecayMode, skimParticleLists=None, outputParticleLists=None, additionalBranches=None, outputFile=None, dataDescription=None, mc=True)