Import Geant4 10.6.1 source tree
This commit is contained in:
@@ -14,6 +14,11 @@ code and to keep track of all tags.
|
||||
* Please list in reverse chronological order (last date on top)
|
||||
---------------------------------------------------------------
|
||||
|
||||
07-Dec-2019 V. Ivanchenko (hadr-string-diff-V10-05-11)
|
||||
- G4FTFParameters:
|
||||
o Fixed division by zero (Coverity report) due to wrong protection
|
||||
in previous MR 05-09
|
||||
|
||||
28-Nov-2019 A. Ribon (hadr-string-diff-V10-05-10)
|
||||
- G4FTFParameters: set parameters of a string kink in the constructor
|
||||
(instead of setting it at each interaction, causing memory leaks).
|
||||
|
||||
@@ -377,7 +377,7 @@ void G4FTFParameters::InitForInteraction( const G4ParticleDefinition* particle,
|
||||
// Gaussian parametrization of elastic scattering amplitude assumed
|
||||
SetAvaragePt2ofElasticScattering( 1.0/( Xtotal*Xtotal/16.0/pi/Xelastic/0.3894 )*GeV*GeV );
|
||||
} else {
|
||||
SetSlope(0.0);
|
||||
SetSlope(1.0);
|
||||
SetAvaragePt2ofElasticScattering( 0.0);
|
||||
}
|
||||
SetGamma0( GetSlope()*Xtotal/10.0/2.0/pi );
|
||||
|
||||
Reference in New Issue
Block a user