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
9387adcb
Commit
9387adcb
authored
6 years ago
by
Bertram Kopf
Browse files
Options
Downloads
Patches
Plain Diff
added pomeron pomeron and gamma pomeron reactions incoherently II
parent
8accb590
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
ggUtils/centralProdBaseLh.cc
+9
-7
9 additions, 7 deletions
ggUtils/centralProdBaseLh.cc
with
9 additions
and
7 deletions
ggUtils/centralProdBaseLh.cc
+
9
−
7
View file @
9387adcb
...
...
@@ -146,16 +146,18 @@ void centralProdBaseLh::initialize(){
InfoMsg
<<
"theDecs->name: "
<<
(
*
it
)
->
name
()
<<
endmsg
;
std
::
shared_ptr
<
AbsXdecAmp
>
currentAmp
=
XdecAmpRegistry
::
instance
()
->
getXdecAmp
(
_channelID
,
(
*
it
)
->
absDecPtr
());
_decAmps
.
push_back
(
currentAmp
);
bool
hasEvenJ
=
false
;
bool
hasPosParity
=
false
;
// bool hasEvenJ=false;
// int spinJ=currentAmp->jpcPtr()->J;
// if ( (spinJ%2) ==0 ) hasEvenJ=true;
// bool hasPosParity=false;
// if ( currentAmp->jpcPtr()->P == -1) hasPosParity=true;
bool
hasPosCparity
=
false
;
int
spinJ
=
currentAmp
->
jpcPtr
()
->
J
;
if
(
(
spinJ
%
2
)
==
0
)
hasEvenJ
=
true
;
if
(
currentAmp
->
jpcPtr
()
->
P
==
-
1
)
hasPosParity
=
true
;
if
(
currentAmp
->
jpcPtr
()
->
C
==
-
1
)
hasPosCparity
=
true
;
if
(
!
(
hasEvenJ
)
&&
hasPosParity
&&
hasPosCparity
)
_gampomAmps
.
push_back
(
currentAmp
);
if
(
hasPosCparity
)
_gampomAmps
.
push_back
(
currentAmp
);
else
_pompomAmps
.
push_back
(
currentAmp
);
if
(
currentAmp
->
jpcPtr
()
->
J
>
maxJ
)
maxJ
=
currentAmp
->
jpcPtr
()
->
J
;
...
...
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