Import Geant4 11.4.0 source tree
This commit is contained in:
@@ -6,6 +6,9 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2025-09-22 Jean-Christophe David (hadr-stopping-V11-03-01)
|
||||
- G4HadronicAbsorptionINCLXX: the energy max is different for antiproton and antineutron in INCLXX.
|
||||
|
||||
## 2023-10-05 Jean-Christophe David (hadr-stopping-V11-01-01)
|
||||
- G4HadronicAbsorptionINCLXX: the energy max is reduced from 10 GeV to 200 MeV.
|
||||
|
||||
|
||||
@@ -57,6 +57,9 @@ G4HadronicAbsorptionINCLXX::G4HadronicAbsorptionINCLXX( G4ParticleDefinition* pd
|
||||
G4INCLXXInterface* theModel = new G4INCLXXInterface;
|
||||
G4double theMin = 0.0*GeV;
|
||||
G4double theMax = 0.2*GeV;
|
||||
if (pdef == G4AntiNeutron::AntiNeutron()) {
|
||||
theMax = 0.01*GeV;
|
||||
}
|
||||
theModel->SetMinEnergy( theMin );
|
||||
theModel->SetMaxEnergy( theMax );
|
||||
RegisterMe( theModel );
|
||||
@@ -68,7 +71,7 @@ G4HadronicAbsorptionINCLXX::~G4HadronicAbsorptionINCLXX() {}
|
||||
|
||||
// Applies to constructor-specified particle, or to all known cases
|
||||
G4bool G4HadronicAbsorptionINCLXX::IsApplicable( const G4ParticleDefinition& particle ) {
|
||||
return ( ( pdefApplicable == nullptr && ( &particle == G4AntiProton::Definition() ) )
|
||||
return ( ( pdefApplicable == nullptr && ( &particle == G4AntiProton::Definition() || &particle == G4AntiNeutron::Definition() ) )
|
||||
|| ( &particle == pdefApplicable ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user