Skip to content

Commit

Permalink
ci: add tests for lazycall
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyi15 committed Aug 1, 2023
1 parent 7f85fd7 commit cf44fe4
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions tf_pwa/tests/config_lazycall.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
data:
dat_order: [B, C, D]
data: ["toy_data/data.dat"]
bg: ["toy_data/bg.dat"]
phsp: ["toy_data/PHSP.dat"]
random_z: False
r_boost: False
bg_weight: 0.1
lazy_call: True
use_tf_function: True
no_id_cached: True
jit_compile: True
cached_lazy_call: toy_data/cached/

decay:
A:
- [R_BC, D]
- [R_BD, C]
- [R_CD, B]
R_BC: [B, C]
R_BD: [B, D]
R_CD: [C, D]

particle:
$top:
A: { J: 1, P: -1, spins: [-1, 1], mass: 4.6 }
$finals:
B: { J: 1, P: -1, mass: 2.00698 }
C: { J: 1, P: -1, mass: 2.01028 }
D: { J: 0, P: -1, mass: 0.13957 }
R_BC: { J: 1, Par: 1, m0: 4.16, g0: 0.1, params: { mass_range: [4.0, 4.2] } }
R_BD: { J: 1, Par: 1, m0: 2.43, g0: 0.3 }
R_CD: { J: 1, Par: 1, m0: 2.42, g0: 0.03 }

constrains:
particle: null
decay: null

plot:
mass:
R_BC: { display: "$M_{BC}$" }
R_BD: { display: "$M_{BD}$" }
R_CD: { display: "$M_{CD}$" }
angle:
R_BC/B:
cos(beta):
display: "cos \\theta"
alpha:
display: "\\phi"

0 comments on commit cf44fe4

Please sign in to comment.