diff --git a/NPSimulation/Core/PhysicsList.cc b/NPSimulation/Core/PhysicsList.cc index 0b5775116f92fb3481c61eb3847cdc8355372d6e..43f598525d1710325ad7d437b84381f8e60990c9 100644 --- a/NPSimulation/Core/PhysicsList.cc +++ b/NPSimulation/Core/PhysicsList.cc @@ -159,6 +159,14 @@ void PhysicsList::ReadConfiguration(std::string filename){ else std::cout <<"WARNING: Physics List Token '" << name << "' unknown. Token is ignored." << std::endl; } + + // Most special process need decay to be activated + if( (m_IonBinaryCascadePhysics || m_EmExtraPhysics || m_HadronElasticPhysics + || m_StoppingPhysics || m_OpticalPhysics || m_HadronPhysicsQGSP_BIC_HP) && !m_Decay){ + m_Decay = true; + std::cout << "Information: Selected process require Decay to be activated." << std::endl; + } + } ///////////////////////////////////////////////////////////////////////////// PhysicsList::~PhysicsList(){