Import Geant4 10.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 14:11:04 +02:00
parent c9b32a6c0a
commit d4af681f38
4886 changed files with 420149 additions and 1023309 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4ParticleTableIterator.hh 72999 2013-08-15 08:05:14Z gcosmo $
// $Id: G4ParticleTableIterator.hh 91885 2015-08-10 07:05:56Z gcosmo $
//
//
// ------------------------------------------------------------
@@ -60,20 +60,15 @@ template < class K, class V > class G4ParticleTableIterator
G4bool operator()()
{
if(!defined)
{
if(!defined) {
defined=true;
it=mydict->begin();
}
else
{
} else {
it++;
}
if(it==mydict->end()) return false;
if(skipIons)
{
while((static_cast<G4ParticleDefinition*>((*it).second))->IsGeneralIon())
{
if(skipIons){
while((static_cast<G4ParticleDefinition*>((*it).second))->IsGeneralIon()){ // Loop checking, 09.08.2015, K.Kurashige
it++;
if(it==mydict->end()) return false;
}