Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History 78112 2013-12-03 15:01:19Z gcosmo $
|
||||
$Id: History 100256 2016-10-17 07:59:03Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,10 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
October 14th, 2016 G.Folger (ParN02-V10-02-00)
|
||||
- remove direct use of theParticleIterator, use GetParticleTableIterator().
|
||||
fix required by clang39 on Linux and MAC
|
||||
|
||||
December 3rd, 2013 I.Hrivnacova - ParN02-V09-06-01
|
||||
-------------------------
|
||||
- Fixed .README.N02
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
/// \brief Implementation of the ExN02PhysicsList class
|
||||
//
|
||||
//
|
||||
// $Id: ExN02PhysicsList.cc 78055 2013-12-03 08:27:48Z gcosmo $
|
||||
// $Id: ExN02PhysicsList.cc 100256 2016-10-17 07:59:03Z gcosmo $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -165,9 +165,10 @@ void ExN02PhysicsList::ConstructProcess()
|
||||
|
||||
void ExN02PhysicsList::ConstructEM()
|
||||
{
|
||||
theParticleIterator->reset();
|
||||
while( (*theParticleIterator)() ){
|
||||
G4ParticleDefinition* particle = theParticleIterator->value();
|
||||
auto particleIterator=GetParticleIterator();
|
||||
particleIterator->reset();
|
||||
while( (*particleIterator)() ){
|
||||
G4ParticleDefinition* particle = particleIterator->value();
|
||||
G4ProcessManager* pmanager = particle->GetProcessManager();
|
||||
G4String particleName = particle->GetParticleName();
|
||||
|
||||
@@ -236,9 +237,10 @@ void ExN02PhysicsList::ConstructGeneral()
|
||||
{
|
||||
// Add Decay Process
|
||||
G4Decay* theDecayProcess = new G4Decay();
|
||||
theParticleIterator->reset();
|
||||
while( (*theParticleIterator)() ){
|
||||
G4ParticleDefinition* particle = theParticleIterator->value();
|
||||
auto particleIterator=GetParticleIterator();
|
||||
particleIterator->reset();
|
||||
while( (*particleIterator)() ){
|
||||
G4ParticleDefinition* particle = particleIterator->value();
|
||||
G4ProcessManager* pmanager = particle->GetProcessManager();
|
||||
if (theDecayProcess->IsApplicable(*particle)) {
|
||||
pmanager ->AddProcess(theDecayProcess);
|
||||
@@ -260,9 +262,10 @@ void ExN02PhysicsList::AddStepMax()
|
||||
G4StepLimiter* stepLimiter = new G4StepLimiter();
|
||||
////G4UserSpecialCuts* userCuts = new G4UserSpecialCuts();
|
||||
|
||||
theParticleIterator->reset();
|
||||
while ((*theParticleIterator)()){
|
||||
G4ParticleDefinition* particle = theParticleIterator->value();
|
||||
auto particleIterator=GetParticleIterator();
|
||||
particleIterator->reset();
|
||||
while ((*particleIterator)()){
|
||||
G4ParticleDefinition* particle = particleIterator->value();
|
||||
G4ProcessManager* pmanager = particle->GetProcessManager();
|
||||
|
||||
if (particle->GetPDGCharge() != 0.0)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: ExN04CalorimeterROGeometry.cc 78055 2013-12-03 08:27:48Z gcosmo $
|
||||
// $Id: ExN04CalorimeterROGeometry.cc 101905 2016-12-07 11:34:39Z gunter $
|
||||
//
|
||||
/// \file parallel/ParN04/src/ExN04CalorimeterROGeometry.cc
|
||||
/// \brief Implementation of the ExN04CalorimeterROGeometry class
|
||||
@@ -72,7 +72,7 @@ G4VPhysicalVolume* ExN04CalorimeterROGeometry::Build()
|
||||
G4Box *ROWorldBox = new G4Box("ROWorldBox", expHall_x, expHall_y, expHall_z);
|
||||
G4LogicalVolume *ROWorldLog = new G4LogicalVolume(ROWorldBox, dummyMat,
|
||||
"ROWorldLogical", 0, 0, 0);
|
||||
ROWorldLog->SetVisAttributes(G4VisAttributes::Invisible);
|
||||
ROWorldLog->SetVisAttributes(G4VisAttributes::GetInvisible());
|
||||
G4PVPlacement *ROWorldPhys = new G4PVPlacement(0,G4ThreeVector(),
|
||||
"ROWorldPhysical",
|
||||
ROWorldLog,
|
||||
|
||||
Reference in New Issue
Block a user