Import Geant4 8.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:55:03 +02:00
parent 216a75eeb1
commit fe73f43734
6714 changed files with 118229 additions and 68144 deletions
@@ -14,6 +14,11 @@ code and to keep track of all tags.
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
20 Oct 2006 Dennis Wright (hadr-man-V08-01-00)
----------------------------------------------
- G4HadronicProcess.hh, .cc:
remove unused method GetDistanceToBoundary()
13 Mar 2006 Dennis Wright (hadr-man-V08-00-03)
----------------------------------------------
- G4HadronicProcess::ChooseAandZ() : throw fatal exception if
@@ -25,7 +25,7 @@
//
//
// $Id: G4EnergyRangeManager.hh,v 1.9 2006/06/29 19:58:05 gunter Exp $
// GEANT4 tag $Name: geant4-08-01 $
// GEANT4 tag $Name: geant4-08-02 $
//
// Hadronic Process: Energy Range Manager
// original by H.P. Wellisch
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// GEANT4 tag $Name: geant4-08-01 $
// GEANT4 tag $Name: geant4-08-02 $
//
// --------------------------------------------------------------------
#ifndef G4HadLeadBias_h
@@ -201,7 +201,6 @@ class G4ParticleChange;
-G4VProcess::theNumberOfInteractionLengthLeft;
}
G4double GetDistanceToBoundary(const G4Track & aT);
void FillTotalResult(G4HadFinalState * aR, const G4Track & aT);
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4VLeadingParticleBiasing.hh,v 1.6 2006/06/29 19:58:19 gunter Exp $
// GEANT4 tag $Name: geant4-08-01 $
// GEANT4 tag $Name: geant4-08-02 $
//
// --------------------------------------------------------------------
#ifndef G4VLeadingParticleBiasing_h
@@ -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 )