Import Geant4 10.4.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History 102436 2017-01-27 08:28:53Z gcosmo $
|
||||
$Id: History 106991 2017-10-31 10:13:42Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -16,6 +16,13 @@ committal in the CVS repository !
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
October 23, 2017, K.L.Genser (tracking-V10-03-02)
|
||||
- G4StackManager added #ifdef for the case when a particle IsMuonicAtom
|
||||
|
||||
September 12, 2017, K.L.Genser (tracking-V10-03-01)
|
||||
- G4StackManager added a case when a particle IsMuonicAtom
|
||||
|
||||
Dec 22, 2016 L.Desorgher (tracking-V10-03-00)
|
||||
- Modification in G4AdjointSteppingAction for correction of a bug in the case of reverse
|
||||
track splitting.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SteppingManager2.cc 73605 2013-09-02 09:34:55Z gcosmo $
|
||||
// $Id: G4SteppingManager2.cc 106991 2017-10-31 10:13:42Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------
|
||||
//
|
||||
@@ -370,7 +370,11 @@ void G4SteppingManager::InvokeAtRestDoItProcs()
|
||||
if(tempSecondaryTrack->GetKineticEnergy() <= DBL_MIN){
|
||||
G4ProcessManager* pm = tempSecondaryTrack->GetDefinition()->GetProcessManager();
|
||||
if(!pm && tempSecondaryTrack->GetDefinition()->IsGeneralIon())
|
||||
{ pm = G4ParticleTable::GetParticleTable()->GetGenericIon()->GetProcessManager(); }
|
||||
{ pm = G4ParticleTable::GetParticleTable()->GetGenericIon()->GetProcessManager(); }
|
||||
#ifdef G4MUATOMS_INUSE
|
||||
if(!pm && tempSecondaryTrack->GetDefinition()->IsMuonicAtom())
|
||||
{ pm = G4ParticleTable::GetParticleTable()->GetGenericMuonicAtom()->GetProcessManager(); }
|
||||
#endif
|
||||
if (pm->GetAtRestProcessVector()->entries()>0){
|
||||
tempSecondaryTrack->SetTrackStatus( fStopButAlive );
|
||||
fSecondary->push_back( tempSecondaryTrack );
|
||||
@@ -446,7 +450,11 @@ void G4SteppingManager::InvokeAlongStepDoItProcs()
|
||||
if(tempSecondaryTrack->GetKineticEnergy() <= DBL_MIN){
|
||||
G4ProcessManager* pm = tempSecondaryTrack->GetDefinition()->GetProcessManager();
|
||||
if(!pm && tempSecondaryTrack->GetDefinition()->IsGeneralIon())
|
||||
{ pm = G4ParticleTable::GetParticleTable()->GetGenericIon()->GetProcessManager(); }
|
||||
{ pm = G4ParticleTable::GetParticleTable()->GetGenericIon()->GetProcessManager(); }
|
||||
#ifdef G4MUATOMS_INUSE
|
||||
if(!pm && tempSecondaryTrack->GetDefinition()->IsMuonicAtom())
|
||||
{ pm = G4ParticleTable::GetParticleTable()->GetGenericMuonicAtom()->GetProcessManager(); }
|
||||
#endif
|
||||
if (pm->GetAtRestProcessVector()->entries()>0){
|
||||
tempSecondaryTrack->SetTrackStatus( fStopButAlive );
|
||||
fSecondary->push_back( tempSecondaryTrack );
|
||||
@@ -564,7 +572,11 @@ void G4SteppingManager::InvokePSDIP(size_t np)
|
||||
if(tempSecondaryTrack->GetKineticEnergy() <= DBL_MIN){
|
||||
G4ProcessManager* pm = tempSecondaryTrack->GetDefinition()->GetProcessManager();
|
||||
if(!pm && tempSecondaryTrack->GetDefinition()->IsGeneralIon())
|
||||
{ pm = G4ParticleTable::GetParticleTable()->GetGenericIon()->GetProcessManager(); }
|
||||
{ pm = G4ParticleTable::GetParticleTable()->GetGenericIon()->GetProcessManager(); }
|
||||
#ifdef G4MUATOMS_INUSE
|
||||
if(!pm && tempSecondaryTrack->GetDefinition()->IsMuonicAtom())
|
||||
{ pm = G4ParticleTable::GetParticleTable()->GetGenericMuonicAtom()->GetProcessManager(); }
|
||||
#endif
|
||||
if (pm->GetAtRestProcessVector()->entries()>0){
|
||||
tempSecondaryTrack->SetTrackStatus( fStopButAlive );
|
||||
fSecondary->push_back( tempSecondaryTrack );
|
||||
|
||||
Reference in New Issue
Block a user