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
88662877
Commit
88662877
authored
11 years ago
by
Julian Pychy
Browse files
Options
Downloads
Patches
Plain Diff
normalized profuction barrier factor
parent
1e63d499
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
PwaUtils/AbsDecay.cc
+6
-0
6 additions, 0 deletions
PwaUtils/AbsDecay.cc
PwaUtils/LSDecAmps.cc
+4
-1
4 additions, 1 deletion
PwaUtils/LSDecAmps.cc
with
10 additions
and
1 deletion
PwaUtils/AbsDecay.cc
+
6
−
0
View file @
88662877
...
...
@@ -232,6 +232,8 @@ void AbsDecay::fillWignerDs(std::map<std::string, Vector4<double> >& fsMap, Vect
Vector4
<
double
>
mother4Vec
(
0.
,
0.
,
0.
,
0.
);
Vector4
<
double
>
daughter1_4Vec
(
0.
,
0.
,
0.
,
0.
);
Vector4
<
double
>
daughter2_4Vec
(
0.
,
0.
,
0.
,
0.
);
double
daughter1_fsMassSum
=
0
;
double
daughter2_fsMassSum
=
0
;
//fill all4Vec
for
(
itMap
=
fsMap
.
begin
();
itMap
!=
fsMap
.
end
();
++
itMap
){
...
...
@@ -248,12 +250,14 @@ void AbsDecay::fillWignerDs(std::map<std::string, Vector4<double> >& fsMap, Vect
for
(
itP
=
_finalStateParticlesDaughter1
.
begin
();
itP
!=
_finalStateParticlesDaughter1
.
end
();
++
itP
){
itMap
=
fsMap
.
find
((
*
itP
)
->
name
());
daughter1_4Vec
+=
itMap
->
second
;
daughter1_fsMassSum
+=
itMap
->
second
.
M
();
}
//fill daughter2
for
(
itP
=
_finalStateParticlesDaughter2
.
begin
();
itP
!=
_finalStateParticlesDaughter2
.
end
();
++
itP
){
itMap
=
fsMap
.
find
((
*
itP
)
->
name
());
daughter2_4Vec
+=
itMap
->
second
;
daughter2_fsMassSum
+=
itMap
->
second
.
M
();
}
Vector4
<
double
>
daughter2HelMother
(
0.
,
0.
,
0.
,
0.
);
...
...
@@ -314,7 +318,9 @@ void AbsDecay::fillWignerDs(std::map<std::string, Vector4<double> >& fsMap, Vect
}
if
(
_useProdBarrier
){
double
qVal
=
daughter2HelMother
.
P
();
double
qValNorm
=
breakupMomQ
(
mother4Vec
.
M
(),
daughter1_fsMassSum
,
daughter2_fsMassSum
).
real
();
evtData
->
DoubleString
[
_wignerDKey
]
=
qVal
;
evtData
->
DoubleString
[
_wignerDKey
+
"qNorm"
]
=
qValNorm
;
}
}
else
{
...
...
This diff is collapsed.
Click to expand it.
PwaUtils/LSDecAmps.cc
+
4
−
1
View file @
88662877
...
...
@@ -188,7 +188,10 @@ complex<double> LSDecAmps::lsLoop(Spin& lamX, EvtData* theData, Spin& lam1Min, S
tmpResult
+=
amp
;
}
}
if
(
absDec
()
->
useProdBarrier
())
tmpResult
*=
BarrierFactor
::
BlattWeisskopf
((
*
it
)
->
L
,
theData
->
DoubleString
[
_wignerDKey
],
0.197
);
if
(
absDec
()
->
useProdBarrier
()){
tmpResult
*=
BarrierFactor
::
BlattWeisskopf
((
*
it
)
->
L
,
theData
->
DoubleString
.
at
(
_wignerDKey
),
BarrierFactor
::
qRDefault
)
/
BarrierFactor
::
BlattWeisskopf
((
*
it
)
->
L
,
theData
->
DoubleString
.
at
(
_wignerDKey
+
"qNorm"
),
BarrierFactor
::
qRDefault
);
}
result
+=
tmpResult
;
}
...
...
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