# Difference: DaVinciTutorial9b (5 vs. 6)

#### Revision 62018-05-24 - JohannesHeuel

Line: 1 to 1

 META TOPICPARENT name="DaVinciTutorial9"

# DaVinci Tutorial 9b - Applying arbitrary functors to a refitted decay tree

Line: 18 to 18
Changed:
<
<
"Bs" : "B_s0 -> (phi(1020) -> K+ K-) J/psi(1S) ", "Phi" : "B_s0 -> ^(phi(1020) -> K+ K-) J/psi(1S) ",
>
>
"Bs" : "B_s0 -> (phi(1020) -> K+ K-) J/psi(1S) ", "Phi" : "B_s0 -> ^(phi(1020) -> K+ K-) J/psi(1S) ",
})

Line: 28 to 28
"lokiP" : "P", "lokiPT" : "PT", "lokiM" : "M",
Changed:
<
<
"loki_Psi_M" : "CHILD(M,'B_s0 -> phi(1020) ^J/psi(1S)')", "loki_Psi_PE" : "CHILD(E,'B_s0 -> phi(1020) ^J/psi(1S)')", "loki_Psi_PX" : "CHILD(PX,'B_s0 -> phi(1020) ^J/psi(1S)')", "loki_Psi_PY" : "CHILD(PY,'B_s0 -> phi(1020) ^J/psi(1S)')", "loki_Psi_PZ" : "CHILD(PZ,'B_s0 -> phi(1020) ^J/psi(1S)')",
>
>
"loki_Psi_M" : "CHILD(M,'B_s0 -> phi(1020) ^J/psi(1S)')", "loki_Psi_PE" : "CHILD(E,'B_s0 -> phi(1020) ^J/psi(1S)')", "loki_Psi_PX" : "CHILD(PX,'B_s0 -> phi(1020) ^J/psi(1S)')", "loki_Psi_PY" : "CHILD(PY,'B_s0 -> phi(1020) ^J/psi(1S)')", "loki_Psi_PZ" : "CHILD(PZ,'B_s0 -> phi(1020) ^J/psi(1S)')",
}

# The old way to apply functors to a refitted decay tree was to use the DTF_FUN

Line: 45 to 45
"DTFFun_Bs_M" : "DTF_FUN(M, True, 'J/psi(1S)')", "DTFFun_DTF_CH2" : "DTF_CHI2( True, 'J/psi(1S)')", "DTFFun_DTF_NDOF" : "DTF_NDOF( True, 'J/psi(1S)')",
Changed:
<
<
"DTFFun_Psi_M" : "DTF_FUN(CHILD(M,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')", "DTFFun_Psi_PE" : "DTF_FUN(CHILD(E,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')", "DTFFun_Psi_PX" : "DTF_FUN(CHILD(PX,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')", "DTFFun_Psi_PY" : "DTF_FUN(CHILD(PY,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')", "DTFFun_Psi_PZ" : "DTF_FUN(CHILD(PZ,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')",
>
>
"DTFFun_Psi_M" : "DTF_FUN(CHILD(M,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')", "DTFFun_Psi_PE" : "DTF_FUN(CHILD(E,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')", "DTFFun_Psi_PX" : "DTF_FUN(CHILD(PX,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')", "DTFFun_Psi_PY" : "DTF_FUN(CHILD(PY,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')", "DTFFun_Psi_PZ" : "DTF_FUN(CHILD(PZ,'B_s0 -> phi(1020) ^J/psi(1S)'),True,'J/psi(1S)')",
}

# Now, let's start to build the tool chain for getting the refitted decay tree once and apply a dictionary of functors to it

Line: 77 to 77
"DTFDict_Bs_PT" : "PT", "DTFDict_Bs_M" : "M", "DTFDict_Psi_PT" : "CHILD(PT,1)",
Changed:
<
<
"DTFDict_Psi_M" : "CHILD(M,'B_s0 -> phi(1020) ^J/psi(1S)')", "DTFDict_Psi_PE" : "CHILD(E,'B_s0 -> phi(1020) ^J/psi(1S)')", "DTFDict_Psi_PX" : "CHILD(PX,'B_s0 -> phi(1020) ^J/psi(1S)')", "DTFDict_Psi_PY" : "CHILD(PY,'B_s0 -> phi(1020) ^J/psi(1S)')", "DTFDict_Psi_PZ" : "CHILD(PZ,'B_s0 -> phi(1020) ^J/psi(1S)')",
>
>
"DTFDict_Psi_M" : "CHILD(M,'B_s0 -> phi(1020) ^J/psi(1S)')", "DTFDict_Psi_PE" : "CHILD(E,'B_s0 -> phi(1020) ^J/psi(1S)')", "DTFDict_Psi_PX" : "CHILD(PX,'B_s0 -> phi(1020) ^J/psi(1S)')", "DTFDict_Psi_PY" : "CHILD(PY,'B_s0 -> phi(1020) ^J/psi(1S)')", "DTFDict_Psi_PZ" : "CHILD(PZ,'B_s0 -> phi(1020) ^J/psi(1S)')",
}

################################################################################ # End ################################################################################ %ENDSYNTAX%

Deleted:
<
<
-- PaulAndreGunther - 2018-04-06
\ No newline at end of file

Copyright &© 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback