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,9 +23,9 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: ExGflashDetectorConstruction.cc 94396 2015-11-13 13:37:16Z gcosmo $
// $Id: ExGflashDetectorConstruction.cc 101905 2016-12-07 11:34:39Z gunter $
//
/// \file fParameterisations/gflash/src/ExGflashDetectorConstruction.cc
/// \file parameterisations/gflash/src/ExGflashDetectorConstruction.cc
/// \brief Implementation of the ExGflashDetectorConstruction class
//
// Created by Joanna Weng 26.11.2004
@@ -211,7 +211,7 @@ G4VPhysicalVolume* ExGflashDetectorConstruction::Construct()
<<" cm. The Material is "<< pbWO4 << G4endl;
experimentalHall_log->SetVisAttributes(G4VisAttributes::Invisible);
experimentalHall_log->SetVisAttributes(G4VisAttributes::GetInvisible());
G4VisAttributes* caloVisAtt = new G4VisAttributes(G4Colour(1.0,1.0,1.0));
G4VisAttributes* crystalVisAtt = new G4VisAttributes(G4Colour(1.0,1.0,0.0));
calo_log->SetVisAttributes(caloVisAtt);
@@ -67,9 +67,10 @@ void ExGflashPhysics::ConstructProcess()
= new G4FastSimulationManagerProcess();
G4cout << "FastSimulationManagerProcess constructed" <<G4endl;
aParticleIterator->reset();
while( (*aParticleIterator)() ){
G4ParticleDefinition* particle = aParticleIterator->value();
auto particleIterator=GetParticleIterator();
particleIterator->reset();
while( (*particleIterator)() ){
G4ParticleDefinition* particle = particleIterator->value();
G4ProcessManager* pmanager = particle->GetProcessManager();
// The fast simulation process becomes a discrete process only since 9.0:
pmanager->AddDiscreteProcess(fastSimulationManagerProcess);