Skip to content
Snippets Groups Projects
Commit cb496b7e authored by Bertram Kopf's avatar Bertram Kopf
Browse files

added modified caching also for e+e- gammap and res

parent 3d834d2a
No related branches found
No related tags found
No related merge requests found
...@@ -169,6 +169,14 @@ void EpemChannelEnv::setup(ChannelID id){ ...@@ -169,6 +169,14 @@ void EpemChannelEnv::setup(ChannelID id){
} }
} }
} }
//set decay levels
std::vector<std::shared_ptr<AbsDecay> > prodDecList= _prodDecList->getList();
std::vector<std::shared_ptr<AbsDecay> >::iterator itProdDecList;
for (itProdDecList=prodDecList.begin(); itProdDecList!=prodDecList.end(); ++itProdDecList){
(*itProdDecList)->setDecayLevelTree(AbsDecay::decayLevel::isProdAmp);
}
} }
......
...@@ -220,6 +220,13 @@ void GammapChannelEnv::setup(ChannelID id){ ...@@ -220,6 +220,13 @@ void GammapChannelEnv::setup(ChannelID id){
} }
} }
//set decay levels
std::vector<std::shared_ptr<AbsDecay> > prodDecList= _prodDecList->getList();
std::vector<std::shared_ptr<AbsDecay> >::iterator itProdDecList;
for (itProdDecList=prodDecList.begin(); itProdDecList!=prodDecList.end(); ++itProdDecList){
(*itProdDecList)->setDecayLevelTree(AbsDecay::decayLevel::isProdAmp);
}
// spin density particles // spin density particles
_spinDensity = _theParser->spinDensityNames(); _spinDensity = _theParser->spinDensityNames();
......
...@@ -143,4 +143,11 @@ void ResChannelEnv::setup(ChannelID id){ ...@@ -143,4 +143,11 @@ void ResChannelEnv::setup(ChannelID id){
} }
} }
} }
//set decay levels
std::vector<std::shared_ptr<AbsDecay> > prodDecList= _prodDecList->getList();
std::vector<std::shared_ptr<AbsDecay> >::iterator itProdDecList;
for (itProdDecList=prodDecList.begin(); itProdDecList!=prodDecList.end(); ++itProdDecList){
(*itProdDecList)->setDecayLevelTree(AbsDecay::decayLevel::isProdAmp);
}
} }
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