Skip to content
Snippets Groups Projects
Commit b0bf8696 authored by Julian Pychy's avatar Julian Pychy
Browse files

bugfix for epem&res coupled channel mode

parent 272a1133
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ void EpemChannelEnv::setup(ChannelID id){ ...@@ -62,7 +62,7 @@ void EpemChannelEnv::setup(ChannelID id){
//epem reaction //epem reaction
_epemReaction=std::shared_ptr<epemReaction>(new epemReaction(_producedParticlePairs, 0)); _epemReaction=std::shared_ptr<epemReaction>(new epemReaction(_producedParticlePairs, id));
std::vector< std::shared_ptr<AbsDecay> > prodDecs; std::vector< std::shared_ptr<AbsDecay> > prodDecs;
if (_theParser->productionFormalism()=="Heli"){ if (_theParser->productionFormalism()=="Heli"){
......
...@@ -59,7 +59,7 @@ void ResChannelEnv::setup(ChannelID id){ ...@@ -59,7 +59,7 @@ void ResChannelEnv::setup(ChannelID id){
//epem reaction //epem reaction
_resReaction=std::shared_ptr<resReaction>(new resReaction(_motherParticle, _producedParticlePairs, 0)); _resReaction=std::shared_ptr<resReaction>(new resReaction(_motherParticle, _producedParticlePairs, id));
//fill prodDecayList //fill prodDecayList
std::vector< std::shared_ptr<IsobarHeliDecay> > prodDecs= _resReaction->productionHeliDecays(); std::vector< std::shared_ptr<IsobarHeliDecay> > prodDecs= _resReaction->productionHeliDecays();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment