Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
@@ -416,6 +416,11 @@ G4VParticleChange* G4MonopoleTransportation::AlongStepDoIt(
{
++noCalls;
if(fGeometryLimitedStep)
{
stepData.GetPostStepPoint()->SetStepStatus(fGeomBoundary);
}
fParticleChange.Initialize(track) ;
// Code for specific process
@@ -599,7 +604,7 @@ G4VParticleChange* G4MonopoleTransportation::PostStepDoIt( const G4Track& track,
const G4VPhysicalVolume* pNewVol = retCurrentTouchable->GetVolume() ;
const G4Material* pNewMaterial = 0 ;
const G4VSensitiveDetector* pNewSensitiveDetector = 0 ;
G4VSensitiveDetector* pNewSensitiveDetector = 0;
if( pNewVol != 0 )
{
pNewMaterial= pNewVol->GetLogicalVolume()->GetMaterial();
@@ -607,12 +612,10 @@ G4VParticleChange* G4MonopoleTransportation::PostStepDoIt( const G4Track& track,
}
// ( <const_cast> pNewMaterial ) ;
// ( <const_cast> pNewSensitiveDetector) ;
fParticleChange.SetMaterialInTouchable(
(G4Material *) pNewMaterial ) ;
fParticleChange.SetSensitiveDetectorInTouchable(
(G4VSensitiveDetector *) pNewSensitiveDetector ) ;
fParticleChange.SetSensitiveDetectorInTouchable( pNewSensitiveDetector ) ;
const G4MaterialCutsCouple* pNewMaterialCutsCouple = 0;
if( pNewVol != 0 )