Import Geant4 8.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:07:44 +02:00
parent fe73f43734
commit 75c7fd177d
764 changed files with 45230 additions and 95238 deletions
+12 -9
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.110 2006/11/22 18:52:01 japost Exp $
$Id: History,v 1.112 2007/02/15 19:02:06 japost Exp $
-------------------------------------------------------------------
=========================================================
@@ -16,6 +16,17 @@ committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
February 15th, 2007, J.Apostolakis transport-V08-02-01
----------------------------------
- G4Transportation: protection against velocity=0 in AlongStep (invalid)
February 15th, 2007, J.Apostolakis transport-V08-02-00
----------------------------------
- G4Transportation: call PropagatorInField to clear state for new track
--> addresses reliabilitiy problem seen by Atlas. This fix is related
to overlaps, clearing the safety value (which is multivalued due
to the overlaps, and thus can become invalid for a new track in
an overlap region.)
November 22nd, 2006, J.Apostolakis transport-V08-01-04
---------------------------------
@@ -30,20 +41,12 @@ November 22nd, 2006, J.Apostolakis transport-V08-01-03
which cannot currently influence safety.
**** Fix / Workaround for deficiency of others ****
November 14th, 2006, J.Apostolakis transport-V08-01-02
---------------------------------
- Synchronise to the HEAD. Reinstated disclaimer in most files.
November 13th, 2006, J.Apostolakis transport-V08-01-01
---------------------------------
- Updated G4CoupledTransportation to use new signature of
G4PathFinder::ComputeStep that added new argument
at the end: currentVolume.
October 17th, 2006, J.Apostolakis transport-V08-01-ref03-02
---------------------------------
- Protected printing under 'verbose' conditions
June 2nd, 2006, J.Apostolakis transport-V08-00-02
-----------------------------
- Added new class G4CoupledTransportation,
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4Transportation.cc,v 1.60 2006/11/22 18:47:02 japost Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4Transportation.cc,v 1.60.4.2 2007/02/15 19:02:57 japost Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// ------------------------------------------------------------
// GEANT 4 include file implementation
@@ -491,6 +491,7 @@ G4VParticleChange* G4Transportation::AlongStepDoIt( const G4Track& track,
G4double initialVelocity = stepData.GetPreStepPoint()->GetVelocity() ;
G4double stepLength = track.GetStepLength() ;
deltaTime= 0.0; // in case initialVelocity = 0
const G4DynamicParticle* fpDynamicParticle = track.GetDynamicParticle();
if (fpDynamicParticle->GetDefinition()== fOpticalPhoton)
{
@@ -506,7 +507,7 @@ G4VParticleChange* G4Transportation::AlongStepDoIt( const G4Track& track,
* ( 1.0 / initialVelocity + 1.0 / finalVelocity ) ;
deltaTime = stepLength * meanInverseVelocity ;
}
else
else if( initialVelocity > 0.0 )
{
deltaTime = stepLength/initialVelocity ;
}
@@ -719,9 +720,11 @@ G4Transportation::StartTracking(G4Track* aTrack)
fNoLooperTrials= 0;
}
// ChordFinder reset internal state
// Propagator and ChordFinder: reset internal state
//
if( DoesGlobalFieldExist() ) {
fFieldPropagator->ClearPropagatorState();
G4ChordFinder* chordF= fFieldPropagator->GetChordFinder();
if( chordF ) chordF->ResetStepEstimate();
}