diff --git a/NPSimulation/src/EventGeneratorIsotropic.cc b/NPSimulation/src/EventGeneratorIsotropic.cc index 3e0c78171a2f0cc31e3760e7e92dd384fbf32433..b6923225f8ac76376c2bd3494bded901fb79c6ef 100644 --- a/NPSimulation/src/EventGeneratorIsotropic.cc +++ b/NPSimulation/src/EventGeneratorIsotropic.cc @@ -152,7 +152,7 @@ void EventGeneratorIsotropic::ReadConfiguration(string Path,int){ G4cout << "z0 " << m_z0 << " mm" << G4endl; } - else if (DataBuffer=="Particle=") { + else if (DataBuffer=="Particle=" || DataBuffer=="particle=") { check_particle = true ; ReactionFile >> m_particleName; G4cout << "Particle : " << m_particleName << endl ;