Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eFFORT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Felix Metzner
eFFORT
Commits
68fc166e
Commit
68fc166e
authored
5 years ago
by
Markus Prim
Browse files
Options
Downloads
Patches
Plain Diff
Concrete implementation for BtoPLNu
parent
b6c19e69
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
eFFORT/BToPLNu.py
+18
-3
18 additions, 3 deletions
eFFORT/BToPLNu.py
with
18 additions
and
3 deletions
eFFORT/BToPLNu.py
+
18
−
3
View file @
68fc166e
import
abc
import
numpy
as
np
from
eFFORT.utility
import
PDG
import
scipy.integrate
import
uncertainties
from
eFFORT.
BRhoLepNuRateExp
import
getDiffRatedq2
from
eFFORT.
utility
import
PDG
class
BToPLNu
:
...
...
@@ -72,3 +71,19 @@ class BToPLNu:
return
scipy
.
integrate
.
quad
(
lambda
x
:
self
.
dGamma_dq2
(
x
).
nominal_value
,
self
.
q2min
,
self
.
q2max
,
epsabs
=
1e-20
)
class
BToPLNuBCL
(
BToPLNu
):
pass
class
BToPLNuEvtGenBelle
(
BToPLNu
):
def
__init__
(
self
,
m_B
:
float
,
m_P
:
float
,
m_L
:
float
,
V_ub
:
float
,
eta_EW
:
float
=
1.0066
):
super
(
BToPLNuEvtGenBelle
,
self
).
__init__
(
m_B
,
m_P
,
m_L
,
V_ub
,
eta_EW
)
self
.
parameters
=
[
0.261
,
-
2.03
,
1.293
,
# fplus
0.261
,
-
0.27
,
-
0.752
,
# fzero
]
def
fplus
(
self
,
q2
):
pars
=
self
.
parameters
[
0
:
3
]
return
pars
[
0
]
/
(
1
+
pars
[
1
]
*
(
q2
/
self
.
m_B
**
2
)
+
pars
[
2
]
*
(
q2
/
self
.
m_B
**
2
)
**
2
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment