Skip to content

Commit

Permalink
Test suite to verify all EvtGen models are parsed correctly - take 6 (#…
Browse files Browse the repository at this point in the history
…387)

* Add .dec files for more model tests

* Test them

* Add missing doc for a test .dec file

* style: pre-commit fixes

* Fix conflicts after rebase

* Fix typos

* Add test file and test for very peculiar model PTO3P

* style: pre-commit fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
eduardo-rodrigues and pre-commit-ci[bot] authored Nov 8, 2023
1 parent 51d6d46 commit 8dc6b85
Show file tree
Hide file tree
Showing 15 changed files with 357 additions and 16 deletions.
34 changes: 34 additions & 0 deletions tests/data/models/model-BQTOLLLL.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# File for testing purposes. Contains a single decay mode with a specific model.

# Documentation: the B_d0 -> mu^+ mu^- mu^+ mu^- decay based on MNT-model for
# B_d0 -> mu^+ mu^- gamma decay
# mu - the scale parameter (in GeV's);
# Nf - number of "effective" flavors (for b-quark Nf=5);
# res_swch - resonant switching parameter:
# = 0 the resonant contribution switched OFF,
# = 1 the resonant contribution switched ON;
# ias - switching parameter for \alpha_s(M_Z) value:
# = 0 PDG 1sigma minimal alpha_s(M_Z),
# = 1 PDG average value alpha_s(M_Z),
# = 2 PDG 1sigma maximal alpha_s(M_Z).
# Wolfenstein parameterization for CKM matrix:
# A
# lambda
# barrho
# bareta
# EndDocumentation

Define mu 5.0
Define Nf 5
Define res_swch 0
Define ias 1
Define A 0.88
Define lambda 0.227
Define barrho 0.22
Define bareta 0.34

Decay B0sig
1.0 mu+ mu- mu+ mu- BQTOLLLL mu Nf res_swch ias A lambda barrho bareta;
Enddecay

End
22 changes: 22 additions & 0 deletions tests/data/models/model-BQTOLLLLHYPERCP.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Define mS 2.5
Define mP 0.214
Define gammaS 0.0001
Define gammaP 0.0001
Define mLiiLR 1.0
Define Fc 1.0
Define mD23LL 450.0
Define mD23RR 0.0
Define mD32LL 450.0
Define mD32RR 0.0
Define mD13LL 380.0
Define mD13RR 0.0
Define mD31LL 380.0
Define mD31RR 0.0

Decay B0sig
1.000 mu+ mu- mu+ mu- BQTOLLLLHYPERCP mS mP gammaS gammaP mLiiLR Fc mD23LL mD23RR mD32LL mD32RR mD13LL mD13RR mD31LL mD31RR;
Enddecay

End
7 changes: 7 additions & 0 deletions tests/data/models/model-BTOSLLALI.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay B_s0sig
1.0 phi mu+ mu- BTOSLLALI;
Enddecay

End
7 changes: 7 additions & 0 deletions tests/data/models/model-BTOSLLBALL.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay B+sig
1.0 pi+ e+ e- PHOTOS BTOSLLBALL 6;
Enddecay

End
8 changes: 8 additions & 0 deletions tests/data/models/model-BTOSLLMS.dec
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# File for testing purposes. Contains a single decay mode with a specific model.

# Documentation: the B -> phi mu^+ mu^- decay with the transition form factors
# from the paper D.Melikhov, B.Stech, PRD62, 014006 (2000).
# Input parameters - mu - the scale parameter (in GeV's);
# res_swch - resonant switching parameter:
# ias - switching parameter for \alpha_s(M_Z) value:
# Wolfenstein parameterization for CKM matrix:
# EndDocumentation

Define mu 5.0
Define Nf 5
Define res_swch 0
Expand Down
41 changes: 41 additions & 0 deletions tests/data/models/model-BTOSLLMSEXT.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# File for testing purposes. Contains a single decay mode with a specific model.

# Documentation: the B_d^0 -> rho^0 ell^+ ell^- decay with the transition form factors
# from the paper D.Melikhov, B.Stech, PRD62, 014006 (2000).
# mu - the scale parameter (in GeV's);
# Nf - number of "effective" flavors (for b-quark Nf=5);
# res_swch - resonant switching parameter:
# = 0 the resonant contribution switched OFF,
# = 1 the resonant contribution switched ON;
# ias - switching parameter for \alpha_s(M_Z) value:
# = 0 PDG 1sigma minimal alpha_s(M_Z),
# = 1 PDG average value alpha_s(M_Z),
# = 2 PDG 1sigma maximal alpha_s(M_Z).
# Wolfenstein parameterization for CKM matrix:
# A
# lambda
# barrho
# bareta
# Multiplication coefficients
# A7 = ReA7 + i*ImA7
# A10 = ReA10 + i*ImA10
# EndDocumentation

Define mu 5.0
Define Nf 5
Define res_swch 0
Define ias 1
Define A 0.88
Define lambda 0.227
Define barrho 0.22
Define bareta 0.34
Define ReA7 1.0
Define ImA7 0.0
Define ReA10 -1.0
Define ImA10 0.0

Decay B0sig
1.0 MyRho0 mu+ mu- BTOSLLMSEXT mu Nf res_swch ias A lambda barrho bareta ReA7 ImA7 ReA10 ImA10;
Enddecay

End
12 changes: 12 additions & 0 deletions tests/data/models/model-BTOVLNUBALL.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# File for testing purposes. Contains a single decay mode with a specific model.

# Documentation: Decay file for [B+ -> (phi(1020) -> K+ K-) mu+ nu_mu]cc,
# using the BToVlnuBall model (for Bs -> phi, lacking an alternative), see https://arxiv.org/pdf/hep-ph/0412079.pdf
# order is r2_A1 mfit2_A1 r1_A2 r2_A2 mfit2_A2 r1_V r2_V mfit2_V
# EndDocumentation

Decay B+sig
1.0 MyPhi mu+ nu_mu PHOTOS BTOVLNUBALL 0.308 36.54 -0.054 0.288 48.94 1.484 -1.049 39.52;
Enddecay

End
9 changes: 9 additions & 0 deletions tests/data/models/model-CB3PI-MPP.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Define alpha 1.365

Decay B+
1.0 pi+ pi+ pi- CB3PI-MPP alpha;
Enddecay

End
9 changes: 9 additions & 0 deletions tests/data/models/model-CB3PI-P00.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Define alpha 1.365

Decay B-
0.000026 pi- pi0 pi0 CB3PI-P00 alpha;
Enddecay

End
7 changes: 7 additions & 0 deletions tests/data/models/model-ETA_LLPIPI.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay eta
1.0 mu+ mu- pi+ pi- ETA_LLPIPI;
Enddecay

End
7 changes: 7 additions & 0 deletions tests/data/models/model-FLATQ2.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay B+sig
1.0 MyKst+ mu+ mu- FLATQ2 1;
Enddecay

End
13 changes: 13 additions & 0 deletions tests/data/models/model-FOURBODYPHSP.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# File for testing purposes. Contains a single decay mode with a specific model.

# Flat phase space in the analysis region of B0 -> D0 D0b.
Define m12_min 1.3 # The model will take at least m1+m2
Define m12_max 2.5 # Must be in GeV/c^2
Define m34_min 1.3 # The model will take at least m1+m2
Define m34_max 2.5 # Must be in GeV/c^2

Decay B0
1.0 K+ K- K- pi+ FOURBODYPHSP m12_min m12_max m34_min m34_max;
Enddecay

End
7 changes: 7 additions & 0 deletions tests/data/models/model-HELAMP.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# File for testing purposes. Contains a single decay mode with a specific model.

Decay h_b(2P)
0.22 gamma eta_b HELAMP 1.0 0.0 1.0 0.0;
Enddecay

End
40 changes: 40 additions & 0 deletions tests/data/models/model-PTO3P.dec
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# File for testing purposes. Contains a single decay mode with a specific model.

# B+ decay to pi+, K- and K+ with Dalitz model so as to agree roughly with the Dalitz plot distribution
Decay B+
1.000 K+ K- pi+ PTO3P
MAXPDF 0.09
#SCANPDF 10000
AMPLITUDE RESONANCE BC K*0
ANGULAR AC
TYPE RBW_ZEMACH
DVFF BLATTWEISSKOPF 4.0
COEFFICIENT POLAR_RAD 1.0 0.0
AMPLITUDE LASS BC 1.412 0.294 2.07
3.32 1.8
COEFFICIENT POLAR_RAD 32.9 -0.38
AMPLITUDE RESONANCE AB phi
ANGULAR CA
TYPE RBW_ZEMACH
DVFF BLATTWEISSKOPF 4.0
COEFFICIENT POLAR_RAD 6.04 2.99
AMPLITUDE RESONANCE AB f_0 0.965 0.695
ANGULAR CA
TYPE FLATTE 0.165 0.13957 0.13957
COEFFICIENT POLAR_RAD 5.28 0.48
AMPLITUDE RESONANCE AB f_0(1500) 1.539
0.257
ANGULAR CA
TYPE RBW_ZEMACH
COEFFICIENT POLAR_RAD 24.0 1.29
AMPLITUDE RESONANCE AB chi_c0
ANGULAR CA
TYPE RBW_ZEMACH
DVFF BLATTWEISSKOPF 4.0
COEFFICIENT POLAR_RAD 0.437 -1.02
AMPLITUDE PHASESPACE
COEFFICIENT POLAR_RAD 6.9 -2.29
;
Enddecay

End
Loading

0 comments on commit 8dc6b85

Please sign in to comment.