Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4ErrorPhysicsList.cc 91809 2015-08-06 13:00:09Z gcosmo $
// $Id: G4ErrorPhysicsList.cc 99974 2016-10-13 07:22:33Z gcosmo $
//
// ------------------------------------------------------------
// GEANT 4 class implementation file
@@ -119,9 +119,10 @@ void G4ErrorPhysicsList::ConstructProcess()
#endif
// loop over all particles in G4ParticleTable
theParticleIterator->reset();
while( (*theParticleIterator)() ) { // Loop checking, 06.08.2015, G.Cosmo
G4ParticleDefinition* particle = theParticleIterator->value();
auto myParticleIterator=GetParticleIterator();
myParticleIterator->reset();
while( (*myParticleIterator)() ) { // Loop checking, 06.08.2015, G.Cosmo
G4ParticleDefinition* particle = myParticleIterator->value();
G4ProcessManager* pmanager = particle->GetProcessManager();
if (!particle->IsShortLived()) {
G4cout << particle << "G4ErrorPhysicsList:: particle process manager " << particle->GetParticleName() << " = " << particle->GetProcessManager() << G4endl;
@@ -172,9 +173,10 @@ void G4ErrorPhysicsList::ConstructEM()
G4ErrorMagFieldLimitProcess* magFieldLimitProcess = new G4ErrorMagFieldLimitProcess;
new G4ErrorMessenger( stepLengthLimitProcess, magFieldLimitProcess, eLossProcess );
theParticleIterator->reset();
while( (*theParticleIterator)() ) { // Loop checking, 06.08.2015, G.Cosmo
G4ParticleDefinition* particle = theParticleIterator->value();
auto myParticleIterator=GetParticleIterator();
myParticleIterator->reset();
while( (*myParticleIterator)() ) { // Loop checking, 06.08.2015, G.Cosmo
G4ParticleDefinition* particle = myParticleIterator->value();
G4ProcessManager* pmanager = particle->GetProcessManager();
G4String particleName = particle->GetParticleName();