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