Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pawian
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor 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
PWA
Pawian
Commits
a79c51b4
Commit
a79c51b4
authored
12 years ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
added relativistic Breit Wigner II
parent
16165b1e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
qft++/relativistic-quantum-mechanics/Utils.cc
+3
-4
3 additions, 4 deletions
qft++/relativistic-quantum-mechanics/Utils.cc
with
3 additions
and
4 deletions
qft++/relativistic-quantum-mechanics/Utils.cc
+
3
−
4
View file @
a79c51b4
...
@@ -310,10 +310,9 @@ complex<double> BreitWigner(const Vector4<double> &__p4,double __mass,
...
@@ -310,10 +310,9 @@ complex<double> BreitWigner(const Vector4<double> &__p4,double __mass,
complex
<
double
>
BreitWignerRel
(
const
Vector4
<
double
>
&
__p4
,
double
__mass
,
complex
<
double
>
BreitWignerRel
(
const
Vector4
<
double
>
&
__p4
,
double
__mass
,
double
__width
,
double
__massA
,
double
__massB
){
double
__width
,
double
__massA
,
double
__massB
){
complex
<
double
>
i
(
0.
,
1.
);
complex
<
double
>
i
(
0.
,
1.
);
double
mass0
=
__p4
.
Mass
();
complex
<
double
>
rho0_m
=
phaseSpaceFac
(
__mass
,
__massA
,
__massB
);
complex
<
double
>
rho0_m0
=
phaseSpaceFac
(
mass0
,
__massA
,
__massB
);
return
__mass
*
__width
/
(
__mass
*
__mass
-
__p4
*
__p4
-
i
*
rho0_m
*
__mass
*
__width
);
return
__mass
*
(
__width
/
rho0_m0
)
/
(
__mass
*
__mass
-
__p4
*
__p4
-
i
*
__mass
*
__width
);
}
}
...
...
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