Skip to content
Snippets Groups Projects
Commit e442fe0a authored by matta's avatar matta
Browse files

* authorise particle instead of Particle token in isotropic for retro compatibility

parent d71e4318
No related branches found
No related tags found
No related merge requests found
......@@ -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 ;
......
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