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
@@ -14,6 +14,21 @@ code and to keep track of all tags.
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
26 February 2007 - Dennis Wright (hadr-lep-V08-02-01)
-----------------------------------------------------
G4LEAntiProtonInelastic.cc : for low energy (< 0.1 MeV) anti-protons,
model was simply returning the particle change which had not yet
been intialized, thus leading to an infinite loop. Now model
returns particle change initialized from the original kinematics.
Response to Bug #888.
All Low Energy models: add model name to constructor for use in
traceback and debugging.
29 January 2007 - V. Ivanchenko (hadr-lep-V08-02-00)
----------------------------------------------------
G4LElastic.cc - add protection against sqrt of negative value
19 June 2006 - Dennis Wright (hadr-lep-V08-00-02)
-------------------------------------------------
Beacuse of mods to G4Nucleus::AtomicMass() cause a printed warning
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAlphaInelastic.hh,v 1.9 2006/06/29 20:43:28 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAlphaInelastic.hh,v 1.10 2007/02/24 06:06:38 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy Alpha Inelastic Process
// J.L. Chuma, TRIUMF, 21-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEAlphaInelastic() : G4InelasticInteraction()
G4LEAlphaInelastic() : G4InelasticInteraction("G4LEAlphaInelastic")
{
SetMinEnergy( 0.0 );
// SetMaxEnergy( 100.*MeV ); // NUCREC only worked for energies < 100MeV
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiKaonZeroInelastic.hh,v 1.6 2006/06/29 20:43:30 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiKaonZeroInelastic.hh,v 1.7 2007/02/24 06:10:26 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy KaonZeroL Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEAntiKaonZeroInelastic() : G4InelasticInteraction()
G4LEAntiKaonZeroInelastic() : G4InelasticInteraction("G4LEAntiKaonZeroInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiLambdaInelastic.hh,v 1.10 2006/06/29 20:43:32 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiLambdaInelastic.hh,v 1.11 2007/02/24 06:11:24 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy AntiLambda Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEAntiLambdaInelastic() : G4InelasticInteraction()
G4LEAntiLambdaInelastic() : G4InelasticInteraction("G4LEAntiLambdaInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiNeutronInelastic.hh,v 1.10 2006/06/29 20:43:34 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiNeutronInelastic.hh,v 1.11 2007/02/24 06:13:02 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy AntiNeutron Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEAntiNeutronInelastic() : G4InelasticInteraction()
G4LEAntiNeutronInelastic() : G4InelasticInteraction("G4LEAntiNeutronInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiOmegaMinusInelastic.hh,v 1.10 2006/06/29 20:43:36 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiOmegaMinusInelastic.hh,v 1.11 2007/02/24 06:13:54 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy AntiOmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEAntiOmegaMinusInelastic() : G4InelasticInteraction()
G4LEAntiOmegaMinusInelastic() : G4InelasticInteraction("G4LEAntiOmegaMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -23,9 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4LEAntiProtonInelastic.hh,v 1.10 2006/06/29 20:43:38 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiProtonInelastic.hh,v 1.11 2007/02/24 05:07:32 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy AntiProton Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -47,7 +46,7 @@
{
public:
G4LEAntiProtonInelastic() : G4InelasticInteraction()
G4LEAntiProtonInelastic():G4InelasticInteraction("G4LEAntiProtonInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiSigmaMinusInelastic.hh,v 1.10 2006/06/29 20:43:41 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiSigmaMinusInelastic.hh,v 1.11 2007/02/24 06:38:14 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy AntiSigmaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEAntiSigmaMinusInelastic() : G4InelasticInteraction()
G4LEAntiSigmaMinusInelastic() : G4InelasticInteraction("G4LEAntiSigmaMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiSigmaPlusInelastic.hh,v 1.10 2006/06/29 20:43:43 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiSigmaPlusInelastic.hh,v 1.11 2007/02/24 06:39:17 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy AntiSigmaPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEAntiSigmaPlusInelastic() : G4InelasticInteraction()
G4LEAntiSigmaPlusInelastic() : G4InelasticInteraction("G4LEAntiSigmaPlusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiXiMinusInelastic.hh,v 1.10 2006/06/29 20:43:45 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiXiMinusInelastic.hh,v 1.11 2007/02/24 06:42:10 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy AntiXiMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEAntiXiMinusInelastic() : G4InelasticInteraction()
G4LEAntiXiMinusInelastic() : G4InelasticInteraction("G4LEAntiXiMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiXiZeroInelastic.hh,v 1.10 2006/06/29 20:43:47 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiXiZeroInelastic.hh,v 1.11 2007/02/24 06:43:02 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy AntiXiZero Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEAntiXiZeroInelastic() : G4InelasticInteraction()
G4LEAntiXiZeroInelastic() : G4InelasticInteraction("G4LEAntiXiZeroInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEDeuteronInelastic.hh,v 1.9 2006/06/29 20:43:49 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEDeuteronInelastic.hh,v 1.10 2007/02/24 06:45:04 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy Deuteron Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEDeuteronInelastic() : G4InelasticInteraction()
G4LEDeuteronInelastic() : G4InelasticInteraction("G4LEDeuteronInelastic")
{
SetMinEnergy( 0.0 );
// SetMaxEnergy( 100.*MeV ); // NUCREC only worked for energies < 100MeV
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEKaonMinusInelastic.hh,v 1.10 2006/06/29 20:43:51 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEKaonMinusInelastic.hh,v 1.11 2007/02/26 18:21:07 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy KaonMinus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEKaonMinusInelastic() : G4InelasticInteraction()
G4LEKaonMinusInelastic() : G4InelasticInteraction("G4LEKaonMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEKaonPlusInelastic.hh,v 1.10 2006/06/29 20:43:53 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEKaonPlusInelastic.hh,v 1.11 2007/02/26 18:21:57 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy KaonPlus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEKaonPlusInelastic() : G4InelasticInteraction()
G4LEKaonPlusInelastic() : G4InelasticInteraction("G4LEKaonPlusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEKaonZeroInelastic.hh,v 1.6 2006/06/29 20:43:55 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEKaonZeroInelastic.hh,v 1.7 2007/02/26 18:23:45 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy KaonZeroS Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEKaonZeroInelastic() : G4InelasticInteraction()
G4LEKaonZeroInelastic() : G4InelasticInteraction("G4LEKaonZeroInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEKaonZeroLInelastic.hh,v 1.11 2006/06/29 20:43:57 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEKaonZeroLInelastic.hh,v 1.12 2007/02/26 18:24:54 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -44,7 +44,7 @@
class G4LEKaonZeroLInelastic : public G4InelasticInteraction
{
public:
G4LEKaonZeroLInelastic()
G4LEKaonZeroLInelastic() : G4InelasticInteraction("G4LEKaonZeroLInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEKaonZeroSInelastic.hh,v 1.11 2006/06/29 20:43:59 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEKaonZeroSInelastic.hh,v 1.12 2007/02/26 18:25:37 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Gheisha High Energy model class -- header file
@@ -44,7 +44,7 @@
class G4LEKaonZeroSInelastic : public G4InelasticInteraction
{
public:
G4LEKaonZeroSInelastic()
G4LEKaonZeroSInelastic() : G4InelasticInteraction("G4LEKaonZeroSInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LELambdaInelastic.hh,v 1.10 2006/06/29 20:44:01 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LELambdaInelastic.hh,v 1.11 2007/02/26 18:27:08 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy Lambda Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LELambdaInelastic() : G4InelasticInteraction()
G4LELambdaInelastic() : G4InelasticInteraction("G4LELambdaInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -42,7 +42,7 @@
{
public:
G4LENeutronInelastic() : G4InelasticInteraction()
G4LENeutronInelastic() : G4InelasticInteraction("G4LENeutronInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 55.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEOmegaMinusInelastic.hh,v 1.10 2006/06/29 20:44:05 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEOmegaMinusInelastic.hh,v 1.11 2007/02/26 18:29:56 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy OmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
@@ -47,7 +47,7 @@
{
public:
G4LEOmegaMinusInelastic() : G4InelasticInteraction()
G4LEOmegaMinusInelastic() : G4InelasticInteraction("G4LEOmegaMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEPionMinusInelastic.hh,v 1.11 2006/06/29 20:44:07 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEPionMinusInelastic.hh,v 1.12 2007/02/24 05:23:37 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy PionMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEPionMinusInelastic() : G4InelasticInteraction()
G4LEPionMinusInelastic() : G4InelasticInteraction("G4LEPionMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 55.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEPionPlusInelastic.hh,v 1.11 2006/06/29 20:44:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEPionPlusInelastic.hh,v 1.12 2007/02/24 05:23:52 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy PionPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
@@ -47,7 +47,7 @@
{
public:
G4LEPionPlusInelastic() : G4InelasticInteraction()
G4LEPionPlusInelastic() : G4InelasticInteraction("G4LEPionPlusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 55.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEProtonInelastic.hh,v 1.11 2006/06/29 20:44:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEProtonInelastic.hh,v 1.12 2007/02/26 18:31:19 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy Proton Inelastic Process
// original by H.P. Wellisch
@@ -49,7 +49,7 @@
{
public:
G4LEProtonInelastic() : G4InelasticInteraction()
G4LEProtonInelastic() : G4InelasticInteraction("G4LEProtonInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 55.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LESigmaMinusInelastic.hh,v 1.10 2006/06/29 20:44:13 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LESigmaMinusInelastic.hh,v 1.11 2007/02/26 18:33:03 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy SigmaMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LESigmaMinusInelastic() : G4InelasticInteraction()
G4LESigmaMinusInelastic() : G4InelasticInteraction("G4LESigmaMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LESigmaPlusInelastic.hh,v 1.10 2006/06/29 20:44:15 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LESigmaPlusInelastic.hh,v 1.11 2007/02/26 18:33:48 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy SigmaPlus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LESigmaPlusInelastic() : G4InelasticInteraction()
G4LESigmaPlusInelastic() : G4InelasticInteraction("G4LESigmaPlusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LETritonInelastic.hh,v 1.9 2006/06/29 20:44:17 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LETritonInelastic.hh,v 1.10 2007/02/26 18:34:35 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy Triton Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LETritonInelastic() : G4InelasticInteraction()
G4LETritonInelastic() : G4InelasticInteraction("G4LETritonInelastic")
{
SetMinEnergy( 0.0 );
// SetMaxEnergy( 100.*MeV ); // NUCREC only worked for energies < 100MeV
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEXiMinusInelastic.hh,v 1.10 2006/06/29 20:44:19 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEXiMinusInelastic.hh,v 1.11 2007/02/26 18:35:18 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy XiMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEXiMinusInelastic() : G4InelasticInteraction()
G4LEXiMinusInelastic() : G4InelasticInteraction("G4LEXiMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEXiZeroInelastic.hh,v 1.10 2006/06/29 20:44:21 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEXiZeroInelastic.hh,v 1.11 2007/02/26 18:36:05 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Low Energy XiZero Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -47,7 +47,7 @@
{
public:
G4LEXiZeroInelastic() : G4InelasticInteraction()
G4LEXiZeroInelastic() : G4InelasticInteraction("G4LEXiZeroInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LElastic.hh,v 1.11 2006/06/29 20:44:23 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LElastic.hh,v 1.12 2007/02/26 19:05:01 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Model: Low energy elastic scattering -- header file
@@ -56,7 +56,6 @@
#include "G4PhysicsTable.hh"
#include "G4PhysicsVector.hh"
#include "G4LPhysicsFreeVector.hh"
//#include "G4HadronicCrossSections.hh"
#include "G4LightMedia.hh"
#include "G4Step.hh"
#include "G4TrackStatus.hh"
@@ -67,7 +66,7 @@ class G4LElastic : public G4HadronicInteraction
{
public:
G4LElastic() : G4HadronicInteraction()
G4LElastic() : G4HadronicInteraction("G4LElastic")
{
SetMinEnergy( 0.0*GeV );
SetMaxEnergy( DBL_MAX );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LCapture.cc,v 1.13 2006/06/29 20:44:35 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LCapture.cc,v 1.14 2007/02/24 05:17:29 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Model: Low-energy Neutron Capture
@@ -46,7 +46,7 @@
#include "Randomize.hh"
G4LCapture::G4LCapture() :
G4HadronicInteraction()
G4HadronicInteraction("G4LCapture")
{
SetMinEnergy( 0.0*GeV );
SetMaxEnergy( DBL_MAX );
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiProtonInelastic.cc,v 1.14 2006/06/29 20:44:47 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEAntiProtonInelastic.cc,v 1.15 2007/02/24 05:11:27 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: AntiProton Inelastic Process
// J.L. Chuma, TRIUMF, 13-Feb-1997
@@ -40,8 +40,15 @@
G4LEAntiProtonInelastic::ApplyYourself( const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus )
{
const G4HadProjectile *originalIncident = &aTrack;
if (originalIncident->GetKineticEnergy()<= 0.1*MeV) return &theParticleChange;
const G4HadProjectile* originalIncident = &aTrack;
if (originalIncident->GetKineticEnergy() <= 0.1*MeV) {
theParticleChange.SetStatusChange(isAlive);
theParticleChange.SetEnergyChange(aTrack.GetKineticEnergy());
theParticleChange.SetMomentumChange(aTrack.Get4Momentum().vect().unit());
return &theParticleChange;
}
//
// create the target particle
//
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEPionPlusInelastic.cc,v 1.14 2006/06/29 20:45:13 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LEPionPlusInelastic.cc,v 1.15 2007/02/24 06:28:52 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: PionPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
@@ -36,6 +36,7 @@
//
// 25-JUN-98 FWJ: replaced missing Initialize for ParticleChange.
// 14-DEC-05 V.Ivanchenko: restore 1.19 version (7.0)
// 23-JAN-07 V.Ivanchenko: add protection inside sqrt
//
#include "globals.hh"
@@ -194,7 +195,7 @@ G4LElastic::ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& targetNucleu
G4double a=1+m2/m1;
G4double b=-2.*p*cost;
G4double c=p*p*(1-m2/m1);
G4double p1 = (-b+std::sqrt(b*b-4.*a*c))/(2.*a);
G4double p1 = (-b+std::sqrt(std::max(0.0,b*b-4.*a*c)))/(2.*a);
G4double px = p1*sint*std::sin(phi);
G4double py = p1*sint*std::cos(phi);
G4double pz = p1*cost;
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LFission.cc,v 1.13 2006/06/29 20:45:29 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4LFission.cc,v 1.15 2007/02/26 19:29:30 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//
// G4 Model: Low Energy Fission
@@ -46,8 +46,7 @@
#include "G4LFission.hh"
#include "Randomize.hh"
G4LFission::G4LFission() :
G4HadronicInteraction()
G4LFission::G4LFission() : G4HadronicInteraction("G4LFission")
{
init();
SetMinEnergy( 0.0*GeV );
@@ -89,7 +88,6 @@ G4LFission::ApplyYourself(const G4HadProjectile & aTrack,G4Nucleus & targetNucle
G4double N = targetNucleus.GetN();
G4double Z = targetNucleus.GetZ();
// theParticleChange.SetKillSignal(1);
theParticleChange.SetStatusChange(stopAndKill);
G4double P = aParticle->GetTotalMomentum()/MeV;