13 <output>../TreeFitted_B0ToJPsiKs.root</output>
14 <contact>Yo Sato; yosato@post.kek.jp</contact>
15 <interval>nightly</interval>
22 from basf2
import create_path, process, statistics, set_random_seed
24 from modularAnalysis
import inputMdst, reconstructDecay, fillParticleList, matchMCTruth
26 from vertex
import treeFit
31 set_random_seed(
'#BAADF00D')
33 if 'BELLE2_VALIDATION_DATA_DIR' not in os.environ:
35 inputFile = os.path.join(os.environ[
'BELLE2_VALIDATION_DATA_DIR'],
'analysis/prerel04_eph3_BGx1_b2jpsiks.root')
36 inputMdst(inputFile, path=path)
39 fillParticleList(
'pi+:all',
'', path=path)
40 fillParticleList(
'mu+:all',
'', path=path)
42 reconstructDecay(
'K_S0:pipi -> pi+:all pi-:all',
'dM<0.25', path=path)
43 reconstructDecay(
'J/psi:mumu -> mu+:all mu-:all',
'dM<0.11', path=path)
44 reconstructDecay(
'B0:jpsiks -> J/psi:mumu K_S0:pipi',
'Mbc > 5.27 and abs(deltaE)<0.2', path=path)
46 matchMCTruth(
'B0:jpsiks', path=path)
49 list_name=
'B0:jpsiks',
51 updateAllDaughters=
True,
79 path.add_module(
'VariablesToNtuple',
81 particleList=
'B0:jpsiks',
83 fileName=
'../TreeFitted_B0ToJPsiKs.root')
85 path.add_module(
'Progress')