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
+14 -1
View File
@@ -1,4 +1,4 @@
$Id: History 91809 2015-08-06 13:00:09Z gcosmo $
$Id: History 99974 2016-10-13 07:22:33Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,19 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
12-Oct-2016, Gunter Folger (error-propagation-V10-02-01)
- replace direct use of aParticleIterator by GetParticleIterator().
fix required by clang39 on Windows and MAC
21 September 2016 - G.Cosmo
- Roll back to tag "error-propagation-V10-01-00". Cleaner solution to the
problem is required to be applied in conjunction with "run" category for
the treatment of splitters symbols by physics-lists.
20 September 2016 - G.Cosmo (error-propagation-V10-02-00)
- Explicitly initialise templated data in G4ErrorPhysicsList source.
Fixing compilation/linking errors on clang-3.9 and XCode-8 on MacOS.
6 August 2015 - G.Cosmo (error-propagation-V10-01-00)
- Checked for potential never-ending loops. No issues found.
@@ -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();