Import Geant4 10.3.1 source tree

This commit is contained in:
Gabriele Cosmo
2017-02-28 16:16:20 +01:00
parent a3452e42ac
commit 4597adb7c4
267 changed files with 14761 additions and 24650 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4NeutronTrackingCut.cc 83417 2014-08-21 15:29:32Z gcosmo $
// $Id: G4NeutronTrackingCut.cc 102622 2017-02-10 08:17:47Z gcosmo $
//
//---------------------------------------------------------------------------
//
@@ -45,6 +45,8 @@
#include "G4NeutronKiller.hh"
#include "G4HadronicProcessStore.hh"
#include "G4Threading.hh"
// factory
#include "G4PhysicsConstructorFactory.hh"
//
@@ -80,7 +82,7 @@ void G4NeutronTrackingCut::ConstructProcess()
G4ParticleDefinition * particle = G4Neutron::Neutron();
G4ProcessManager * pmanager = particle->GetProcessManager();
if(verbose > 0) {
if(verbose > 0 && G4Threading::IsMasterThread()) {
G4String pn = particle->GetParticleName();//Avoid data-race when passing
//this string to G4MTcout
G4cout << "### Adding tracking cuts for " << pn