Skip to content
GitLab
Explore
Sign in
Register
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
84c9614e
Commit
84c9614e
authored
8 years ago
by
Jan Reher
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of tau:/var/www/git/Pawian
parents
49f4fd81
1bebebe8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
resUtils/ResChannelEnv.cc
+6
-0
6 additions, 0 deletions
resUtils/ResChannelEnv.cc
resUtils/resReaction.cc
+2
-0
2 additions, 0 deletions
resUtils/resReaction.cc
with
8 additions
and
0 deletions
resUtils/ResChannelEnv.cc
+
6
−
0
View file @
84c9614e
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include
"PwaUtils/AbsDecay.hh"
#include
"PwaUtils/AbsDecay.hh"
#include
"PwaUtils/AbsDecayList.hh"
#include
"PwaUtils/AbsDecayList.hh"
#include
"PwaUtils/IsobarHeliDecay.hh"
#include
"PwaUtils/IsobarHeliDecay.hh"
#include
"PwaUtils/ProdChannelInfo.hh"
#include
"ErrLogger/ErrLogger.hh"
#include
"ErrLogger/ErrLogger.hh"
#include
"Particle/Particle.hh"
#include
"Particle/Particle.hh"
...
@@ -73,10 +74,15 @@ void ResChannelEnv::setup(ChannelID id){
...
@@ -73,10 +74,15 @@ void ResChannelEnv::setup(ChannelID id){
_resReaction
=
std
::
shared_ptr
<
resReaction
>
(
new
resReaction
(
_motherParticle
,
_prodChannelInfoList
,
id
));
_resReaction
=
std
::
shared_ptr
<
resReaction
>
(
new
resReaction
(
_motherParticle
,
_prodChannelInfoList
,
id
));
//fill prodDecayList
//fill prodDecayList
std
::
vector
<
std
::
string
>
additionalStringVecDummy
;
std
::
string
dynTypeDefault
=
"WoDynamics"
;
std
::
vector
<
std
::
shared_ptr
<
IsobarHeliDecay
>
>
prodDecs
=
_resReaction
->
productionHeliDecays
();
std
::
vector
<
std
::
shared_ptr
<
IsobarHeliDecay
>
>
prodDecs
=
_resReaction
->
productionHeliDecays
();
std
::
vector
<
std
::
shared_ptr
<
IsobarHeliDecay
>
>::
iterator
itDec
;
std
::
vector
<
std
::
shared_ptr
<
IsobarHeliDecay
>
>::
iterator
itDec
;
for
(
itDec
=
prodDecs
.
begin
();
itDec
!=
prodDecs
.
end
();
++
itDec
){
for
(
itDec
=
prodDecs
.
begin
();
itDec
!=
prodDecs
.
end
();
++
itDec
){
(
*
itDec
)
->
disableIsospin
();
(
*
itDec
)
->
disableIsospin
();
if
((
*
itDec
)
->
prodChannelInfo
()
->
withProdBarrier
())
(
*
itDec
)
->
enableProdBarrier
();
else
(
*
itDec
)
->
enableDynamics
(
dynTypeDefault
,
additionalStringVecDummy
);
_prodDecList
->
addDecay
(
*
itDec
);
_prodDecList
->
addDecay
(
*
itDec
);
}
}
...
...
This diff is collapsed.
Click to expand it.
resUtils/resReaction.cc
+
2
−
0
View file @
84c9614e
...
@@ -46,12 +46,14 @@ resReaction::resReaction(Particle* motherParticle, std::vector<std::shared_ptr<P
...
@@ -46,12 +46,14 @@ resReaction::resReaction(Particle* motherParticle, std::vector<std::shared_ptr<P
std
::
shared_ptr
<
IsobarLSDecay
>
currentDec
(
new
IsobarLSDecay
(
_motherParticle
,
particlePair
.
first
,
particlePair
.
second
,
_channelID
));
std
::
shared_ptr
<
IsobarLSDecay
>
currentDec
(
new
IsobarLSDecay
(
_motherParticle
,
particlePair
.
first
,
particlePair
.
second
,
_channelID
));
currentDec
->
setProductionAmp
();
currentDec
->
setProductionAmp
();
currentDec
->
setProdChannelInfo
(
*
itProd
);
currentDec
->
extractStates
();
currentDec
->
extractStates
();
if
(
currentDec
->
JPCLSAmps
().
size
()
>
0
){
if
(
currentDec
->
JPCLSAmps
().
size
()
>
0
){
_prodCanoDecs
.
push_back
(
currentDec
);
_prodCanoDecs
.
push_back
(
currentDec
);
std
::
shared_ptr
<
IsobarHeliDecay
>
currentHeliDec
(
new
IsobarHeliDecay
(
_motherParticle
,
particlePair
.
first
,
particlePair
.
second
,
_channelID
));
std
::
shared_ptr
<
IsobarHeliDecay
>
currentHeliDec
(
new
IsobarHeliDecay
(
_motherParticle
,
particlePair
.
first
,
particlePair
.
second
,
_channelID
));
currentHeliDec
->
setProductionAmp
();
currentHeliDec
->
setProductionAmp
();
currentHeliDec
->
setProdChannelInfo
(
*
itProd
);
currentHeliDec
->
extractStates
();
currentHeliDec
->
extractStates
();
_prodHeliDecs
.
push_back
(
currentHeliDec
);
_prodHeliDecs
.
push_back
(
currentHeliDec
);
}
}
...
...
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