Import Geant4 9.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:37:50 +02:00
parent a8e9364cea
commit 96c8bcd0af
6923 changed files with 198390 additions and 41849 deletions
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4CoupledTransportation.hh,v 1.4 2006/11/14 09:12:59 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4CoupledTransportation.hh,v 1.6 2007/05/29 13:50:14 japost Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
//
// ------------------------------------------------------------
@@ -159,8 +159,9 @@ class G4CoupledTransportation : public G4VProcess
G4PropagatorInField* fFieldPropagator;
// Still required in order to find/set the fieldmanager
G4bool fStartedNewTrack; // True for first step or restarted tracking
// until first step's AlongStepGPIL
G4bool fGlobalFieldExists;
// G4bool fStartedNewTrack; // True for first step or restarted tracking
// until first step's AlongStepGPIL
G4ThreeVector fTransportEndPosition;
G4ThreeVector fTransportEndMomentumDir;
@@ -176,7 +177,8 @@ class G4CoupledTransportation : public G4VProcess
G4bool fParticleIsLooping;
G4ThreeVector fPreviousSftOrigin;
G4double fPreviousSafety;
G4double fPreviousMassSafety;
G4double fPreviousFullSafety;
G4TouchableHandle fCurrentTouchableHandle;
@@ -185,14 +187,34 @@ class G4CoupledTransportation : public G4VProcess
// A data member for this is problematic: it is useful only if it
// can be initialised and updated -- and a scheme is not yet possible.
G4bool fGeometryLimitedStep;
// Flag to determine whether a boundary was reached.
G4bool fMassGeometryLimitedStep;
// Flag to determine whether a 'mass' boundary was reached.
G4bool fAnyGeometryLimitedStep;
// Did any geometry limit the step ?
G4ParticleChangeForTransport fParticleChange;
// New ParticleChange
G4double endpointDistance;
// Thresholds for looping particles:
//
G4double fThreshold_Warning_Energy; // Warn above this energy
G4double fThreshold_Important_Energy; // Hesitate above this
G4int fThresholdTrials; // for this no of trials
// Above 'important' energy a 'looping' particle in field will
// *NOT* be abandoned, except after fThresholdTrials attempts.
G4double fUnimportant_Energy;
// Below this energy, no verbosity for looping particles is issued
// Counter for steps in which particle reports 'looping',
// if it is above 'Important' Energy
G4int fNoLooperTrials;
// Statistics for tracks abandoned
G4double fSumEnergyKilled;
G4double fMaxEnergyKilled;
// Verbosity
G4int fVerboseLevel;
// Verbosity level for warnings
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4CoupledTransportation.icc,v 1.2 2006/11/14 09:12:59 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4CoupledTransportation.icc,v 1.4 2007/05/29 13:50:15 japost Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
//
@@ -68,7 +68,6 @@ inline G4int G4CoupledTransportation::GetVerboseLevel( ) const
return fVerboseLevel;
}
#if 0
inline G4double G4CoupledTransportation::GetThresholdWarningEnergy() const
{
return fThreshold_Warning_Energy;
@@ -98,6 +97,7 @@ inline void G4CoupledTransportation::SetThresholdTrials(G4int newMaxTrials )
{
fThresholdTrials = newMaxTrials;
}
// Get/Set parameters for killing loopers:
// Above 'important' energy a 'looping' particle in field will
// *NOT* be abandoned, except after fThresholdTrials attempts.
@@ -125,5 +125,4 @@ inline void G4CoupledTransportation::ResetKilledStatistics(G4int report)
fMaxEnergyKilled= -1.0*GeV;
}
// Statistics for tracks killed (currently due to looping in field)
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4NeutronKiller.hh,v 1.1 2006/11/17 15:53:04 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4NeutronKillerMessenger.hh,v 1.1 2006/11/17 15:53:04 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//---------------------------------------------------------------------------
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4StepLimiter.hh,v 1.3 2006/06/29 21:10:28 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// class description
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4TrackTerminator.hh,v 1.3 2006/06/29 21:10:30 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// ----------------------------------------------------------------------
// Class G4TrackTerminator
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4Transportation.hh,v 1.12 2006/06/29 21:10:32 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4Transportation.hh,v 1.16 2007/11/08 17:59:38 japost Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
//
// ------------------------------------------------------------
@@ -118,6 +118,9 @@ class G4Transportation : public G4VProcess
inline void ResetKilledStatistics( G4int report = 1);
// Statistics for tracks killed (currently due to looping in field)
inline void EnableShortStepOptimisation(G4bool optimise=true);
// Whether short steps < safety will avoid to call Navigator (if field=0)
public: // without description
G4double AtRestGetPhysicalInteractionLength(
@@ -197,6 +200,9 @@ class G4Transportation : public G4VProcess
G4double fSumEnergyKilled;
G4double fMaxEnergyKilled;
// Whether to avoid calling G4Navigator for short step ( < safety)
// If using it, the safety estimate for endpoint will likely be smaller.
G4bool fShortStepOptimisation;
// Verbosity
G4int fVerboseLevel;
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4Transportation.icc,v 1.9 2006/06/29 21:10:34 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4Transportation.icc,v 1.11 2007/11/08 17:59:52 japost Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
//
@@ -126,3 +126,7 @@ inline void G4Transportation::ResetKilledStatistics(G4int report)
}
// Statistics for tracks killed (currently due to looping in field)
inline void G4Transportation::EnableShortStepOptimisation(G4bool optimiseShortStep)
{
fShortStepOptimisation=optimiseShortStep;
}
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4UserSpecialCuts.hh,v 1.10 2006/06/29 21:10:36 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// class description
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4VTrackTerminator.hh,v 1.7 2007/05/11 14:13:20 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// ----------------------------------------------------------------------
// Class G4VTrackTerminator