Import Geant4 9.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:16:48 +02:00
parent 75c7fd177d
commit a8e9364cea
6592 changed files with 84274 additions and 69292 deletions
@@ -1,4 +1,4 @@
$Id: History,v 1.3 2005/12/01 18:27:45 gcosmo Exp $
$Id: History,v 1.4 2007/05/18 15:22:01 mverderi Exp $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,9 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 18, 2007, M. Verderi (exgflash-V08-03-00)
- ExGflashPhysicsList.cc : the fast simulation process is now a discrete process
Dec 1st, 2005 G.Cosmo (exgflash-V07-01-00)
---------------------
- Adapted to new gflash redesign. Coworks with "gflash-V07-01-02".
@@ -128,17 +128,6 @@ void ExGflashPhysicsList::ConstructProcess()
void ExGflashPhysicsList::AddTransportation()
{
G4VUserPhysicsList::AddTransportation();
theParticleIterator->reset();
while( (*theParticleIterator)() ){
// G4ParticleDefinition* particle = theParticleIterator->value();
//G4ProcessManager* pmanager = particle->GetProcessManager();
// pmanager->AddDiscreteProcess(new MaxTimeCuts());
// pmanager->AddDiscreteProcess(new MinEkineCuts());
// pmanager->AddDiscreteProcess(new ExN05MinEkineCuts());
/// pmanager->AddDiscreteProcess(new MinRangeCuts());
}
}
#include "G4ComptonScattering.hh"
@@ -318,10 +307,8 @@ void ExGflashPhysicsList::AddParameterisation()
G4ParticleDefinition* particle = theParticleIterator->value();
// std::cout<<"--- particle "<<particle->GetParticleName()<<std::endl;
G4ProcessManager* pmanager = particle->GetProcessManager();
// both postStep and alongStep action are required: because
// of the use of ghost volumes. If no ghost, the postStep
// is sufficient.
pmanager->AddProcess(theFastSimulationManagerProcess, -1, 1, 1);
// The fast simulation process becomes a discrete process only since 9.0:
pmanager->AddDiscreteProcess(theFastSimulationManagerProcess);
}
}