Import Geant4 11.1.1 source tree
This commit is contained in:
@@ -6,6 +6,14 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2023-01-25 John Apostolakis (transport-V11-00-11)
|
||||
- Fix unwanted change of default looper parameters.
|
||||
( Reversed inadvertent creation of G4TransportationParameters in
|
||||
calls to G4Transportation constructor.)
|
||||
|
||||
## 2023-01-09 Jonas Hahnfeld
|
||||
- Fix compilation warning about unused variable without `G4VERBOSE`.
|
||||
|
||||
## 2022-11-25 Gabriele Cosmo (transport-V11-00-10)
|
||||
- Removed debug printouts in G4Transportation.
|
||||
|
||||
|
||||
@@ -380,13 +380,13 @@ AlongStepGetPhysicalInteractionLength( const G4Track& track,
|
||||
//
|
||||
fEndGlobalTimeComputed = false;
|
||||
|
||||
#ifdef G4VERBOSE
|
||||
// Check that the integration preserved the energy
|
||||
// - and if not correct this!
|
||||
G4double startEnergy= track.GetKineticEnergy();
|
||||
G4double endEnergy= fTransportEndKineticEnergy;
|
||||
|
||||
G4double absEdiff = std::fabs(startEnergy- endEnergy);
|
||||
#ifdef G4VERBOSE
|
||||
if( (verboseLevel > 1) && ( absEdiff > perThousand * endEnergy) )
|
||||
{
|
||||
ReportInexactEnergy(startEnergy, endEnergy);
|
||||
|
||||
@@ -95,10 +95,10 @@ G4Transportation::G4Transportation( G4int verbosity, const G4String& aName )
|
||||
|
||||
fpLogger = new G4TransportationLogger("G4Transportation", verbosity);
|
||||
|
||||
auto trParams= G4TransportationParameters::Instance();
|
||||
if( G4TransportationParameters::Exists() )
|
||||
{
|
||||
SetThresholdWarningEnergy( trParams->GetWarningEnergy() );
|
||||
auto trParams= G4TransportationParameters::Instance();
|
||||
|
||||
SetThresholdWarningEnergy( trParams->GetWarningEnergy() );
|
||||
SetThresholdImportantEnergy( trParams->GetImportantEnergy() );
|
||||
SetThresholdTrials( trParams->GetNumberOfTrials() );
|
||||
|
||||
Reference in New Issue
Block a user