Import Geant4 8.2.0 source tree
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4EnergyRangeManager.cc,v 1.15 2006/06/29 19:58:21 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-01 $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
//
|
||||
// Hadronic Process: Energy Range Manager
|
||||
// original by H.P. Wellisch
|
||||
|
||||
@@ -184,18 +184,6 @@ GetMeanFreePath(const G4Track &aTrack, G4double, G4ForceCondition *)
|
||||
return DBL_MAX;
|
||||
}
|
||||
|
||||
G4double G4HadronicProcess::GetDistanceToBoundary(const G4Track & aT)
|
||||
{
|
||||
G4TransportationManager * aTM =
|
||||
G4TransportationManager::GetTransportationManager();
|
||||
G4Navigator * aN = aTM->GetNavigatorForTracking();
|
||||
G4ThreeVector pGlobalPoint = aT.GetStep()->GetPreStepPoint()->GetPosition();
|
||||
G4ThreeVector pDirection = aT.GetMomentumDirection();
|
||||
G4double dummy(0);
|
||||
G4double result = aN->ComputeStep(pGlobalPoint, pDirection, DBL_MAX, dummy);
|
||||
aN->LocateGlobalPointAndSetup(pGlobalPoint);
|
||||
return result;
|
||||
}
|
||||
|
||||
G4Element * G4HadronicProcess::ChooseAandZ(
|
||||
const G4DynamicParticle *aParticle, const G4Material *aMaterial )
|
||||
|
||||
Reference in New Issue
Block a user