6 <output>../TreeFitted_B0ToJPsiKs.root</output>
7 <contact>Jo-Frederik Krohn; jkrohn@student.unimelb.edu.au</contact>
8 <interval>nightly</interval>
15 from basf2
import create_path, process, statistics, set_random_seed
17 from modularAnalysis
import inputMdst, reconstructDecay, fillParticleList, matchMCTruth
19 from vertex
import treeFit
21 from variables
import variables
25 set_random_seed(
'#BAADF00D')
27 if 'BELLE2_VALIDATION_DATA_DIR' not in os.environ:
29 inputFile = os.path.join(os.environ[
'BELLE2_VALIDATION_DATA_DIR'],
'analysis/prerel04_eph3_BGx1_b2jpsiks.root')
30 inputMdst(
'default', inputFile, path=path)
33 fillParticleList(
'pi+:all',
'', path=path)
34 fillParticleList(
'mu+:all',
'', path=path)
36 reconstructDecay(
'K_S0:pipi -> pi+:all pi-:all',
'dM<0.25', path=path)
37 reconstructDecay(
'J/psi:mumu -> mu+:all mu-:all',
'dM<0.11', path=path)
38 reconstructDecay(
'B0:jpsiks -> J/psi:mumu K_S0:pipi',
'Mbc > 5.27 and abs(deltaE)<0.2', path=path)
40 matchMCTruth(
'B0:jpsiks', path=path)
43 list_name=
'B0:jpsiks',
45 updateAllDaughters=
True,
73 path.add_module(
'VariablesToNtuple',
75 particleList=
'B0:jpsiks',
77 fileName=
'../TreeFitted_B0ToJPsiKs.root')