Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
+6 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4SteppingManager.cc 77790 2013-11-28 09:52:16Z gcosmo $
// $Id: G4SteppingManager.cc 95198 2016-01-29 08:28:27Z gcosmo $
//
//---------------------------------------------------------------
//
@@ -318,6 +318,11 @@ void G4SteppingManager::SetInitialStep(G4Track* valueTrack)
fTrack->SetNextTouchableHandle( fTouchableHandle );
}
}
// Set OriginTouchableHandle for primary track
if(fTrack->GetParentID()==0){
fTrack->SetOriginTouchableHandle(fTrack->GetTouchableHandle());
}
// Set vertex information of G4Track at here
if ( fTrack->GetCurrentStepNumber() == 0 ) {
fTrack->SetVertexPosition( fTrack->GetPosition() );