Import Geant4 10.3.1 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History 101161 2016-11-08 08:31:49Z gcosmo $
|
||||
$Id: History 102622 2017-02-10 08:17:47Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -14,6 +14,9 @@ introduced in the code and keeptrack of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
09-Feb-2017, M. Asai (phys-ctor-limiters-V10-02-09)
|
||||
- Print-out of G4NeutronTrackingCut is made only for the master thread.
|
||||
|
||||
07-Nov-2016, M. Verderi (phys-ctor-limiters-V10-02-08)
|
||||
- restore G4FastSimulationPhysics utility.
|
||||
- requires param-V10-02-01
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user