Import Geant4 5.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:57:27 +02:00
parent 330b82b769
commit 37fff30d2e
5733 changed files with 263867 additions and 74574 deletions
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LCapture.hh,v 1.7 2001/08/01 17:10:41 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LCapture.hh,v 1.8 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// G4 Low energy model: neutron capture -- header file
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAlphaInelastic.hh,v 1.5 2001/08/01 17:10:42 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAlphaInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy Alpha Inelastic Process
// J.L. Chuma, TRIUMF, 21-Feb-1997
@@ -0,0 +1,74 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiKaonZeroInelastic.hh,v 1.2 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonZeroL Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
// Last modified: 27-Mar-1997
#ifndef G4LEAntiKaonZeroInelastic_h
#define G4LEAntiKaonZeroInelastic_h 1
// Class Description
// Final state production model for KaonZeroLong inelastic scattering below 20 GeV;
// To be used in your physics list in case you need this physics.
// In this case you want to register an object of this class with
// the corresponding process.
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LEAntiKaonZeroInelastic : public G4InelasticInteraction
{
public:
G4LEAntiKaonZeroInelastic() : G4InelasticInteraction()
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
}
~G4LEAntiKaonZeroInelastic()
{ }
G4VParticleChange *ApplyYourself( const G4Track &aTrack,
G4Nucleus &targetNucleus );
private:
void Cascade( // derived from CASK0B
G4FastVector<G4ReactionProduct,128> &vec,
G4int &vecLen,
const G4DynamicParticle *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
#endif
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiLambdaInelastic.hh,v 1.5 2001/08/01 17:10:42 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiLambdaInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy AntiLambda Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiNeutronInelastic.hh,v 1.5 2001/08/01 17:10:43 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiNeutronInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy AntiNeutron Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiOmegaMinusInelastic.hh,v 1.5 2001/08/01 17:10:44 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiOmegaMinusInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy AntiOmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiProtonInelastic.hh,v 1.5 2001/08/01 17:10:44 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiProtonInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy AntiProton Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiSigmaMinusInelastic.hh,v 1.5 2001/08/01 17:10:45 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiSigmaMinusInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy AntiSigmaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiSigmaPlusInelastic.hh,v 1.5 2001/08/01 17:10:46 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiSigmaPlusInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy AntiSigmaPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiXiMinusInelastic.hh,v 1.5 2001/08/01 17:10:46 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiXiMinusInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy AntiXiMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiXiZeroInelastic.hh,v 1.5 2001/08/01 17:10:47 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiXiZeroInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy AntiXiZero Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEDeuteronInelastic.hh,v 1.5 2001/08/01 17:10:48 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEDeuteronInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy Deuteron Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEKaonMinusInelastic.hh,v 1.5 2001/08/01 17:10:49 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEKaonMinusInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonMinus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEKaonPlusInelastic.hh,v 1.5 2001/08/01 17:10:50 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEKaonPlusInelastic.hh,v 1.6 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonPlus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
@@ -0,0 +1,74 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEKaonZeroInelastic.hh,v 1.2 2002/12/12 19:18:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonZeroS Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
// Last modified: 27-Mar-1997
#ifndef G4LEKaonZeroInelastic_h
#define G4LEKaonZeroInelastic_h 1
// Class Description
// Final state production model for KaonZeroShost inelastic scattering below 20 GeV;
// To be used in your physics list in case you need this physics.
// In this case you want to register an object of this class with
// the corresponding process.
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LEKaonZeroInelastic : public G4InelasticInteraction
{
public:
G4LEKaonZeroInelastic() : G4InelasticInteraction()
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
}
~G4LEKaonZeroInelastic()
{ }
G4VParticleChange *ApplyYourself( const G4Track &aTrack,
G4Nucleus &targetNucleus );
private:
void Cascade( // derived from CASK0
G4FastVector<G4ReactionProduct,128> &vec,
G4int &vecLen,
const G4DynamicParticle *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
#endif
@@ -14,61 +14,58 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEKaonZeroLInelastic.hh,v 1.5 2001/08/01 17:10:50 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEKaonZeroLInelastic.hh,v 1.7 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonZeroL Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
// Last modified: 27-Mar-1997
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
// A prototype of the Gheisha High Energy collision model.
#ifndef G4LEKaonZeroLInelastic_h
#define G4LEKaonZeroLInelastic_h 1
// Class Description
// Final state production model for KaonZeroLong inelastic scattering below 20 GeV;
// To be used in your physics list in case you need this physics.
// In this case you want to register an object of this class with
// the corresponding process.
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LEKaonZeroLInelastic : public G4InelasticInteraction
{
public:
G4LEKaonZeroLInelastic() : G4InelasticInteraction()
#include "G4LEKaonZeroInelastic.hh"
#include "G4LEAntiKaonZeroInelastic.hh"
#include "Randomize.hh"
class G4LEKaonZeroLInelastic : public G4InelasticInteraction
{
public:
G4LEKaonZeroLInelastic()
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
}
~G4LEKaonZeroLInelastic()
{ }
G4VParticleChange *ApplyYourself( const G4Track &aTrack,
G4Nucleus &targetNucleus );
~G4LEKaonZeroLInelastic(){ }
G4VParticleChange * ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
{
if(G4UniformRand() < 0.50)
{
return theKaonZeroInelastic.ApplyYourself(aTrack, targetNucleus);
}
else
{
return theAntiKaonZeroInelastic.ApplyYourself(aTrack, targetNucleus);
}
}
private:
void Cascade( // derived from CASK0B
G4FastVector<G4ReactionProduct,128> &vec,
G4int &vecLen,
const G4DynamicParticle *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
#endif
G4LEKaonZeroInelastic theKaonZeroInelastic;
G4LEAntiKaonZeroInelastic theAntiKaonZeroInelastic;
};
#endif
@@ -14,61 +14,59 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEKaonZeroSInelastic.hh,v 1.5 2001/08/01 17:10:50 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEKaonZeroSInelastic.hh,v 1.7 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonZeroS Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
// Last modified: 27-Mar-1997
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
// A prototype of the Gheisha High Energy collision model.
#ifndef G4LEKaonZeroSInelastic_h
#define G4LEKaonZeroSInelastic_h 1
// Class Description
// Final state production model for KaonZeroShost inelastic scattering below 20 GeV;
// To be used in your physics list in case you need this physics.
// In this case you want to register an object of this class with
// the corresponding process.
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LEKaonZeroSInelastic : public G4InelasticInteraction
{
public:
G4LEKaonZeroSInelastic() : G4InelasticInteraction()
#include "G4LEKaonZeroInelastic.hh"
#include "G4LEAntiKaonZeroInelastic.hh"
#include "Randomize.hh"
class G4LEKaonZeroSInelastic : public G4InelasticInteraction
{
public:
G4LEKaonZeroSInelastic()
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
}
~G4LEKaonZeroSInelastic()
{ }
G4VParticleChange *ApplyYourself( const G4Track &aTrack,
G4Nucleus &targetNucleus );
private:
void Cascade( // derived from CASK0
G4FastVector<G4ReactionProduct,128> &vec,
G4int &vecLen,
const G4DynamicParticle *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
#endif
~G4LEKaonZeroSInelastic(){ }
G4VParticleChange * ApplyYourself( const G4Track &aTrack, G4Nucleus &targetNucleus )
{
if(G4UniformRand() < 0.50)
{
return theKaonZeroInelastic.ApplyYourself(aTrack, targetNucleus);
}
else
{
return theAntiKaonZeroInelastic.ApplyYourself(aTrack, targetNucleus);
}
}
private:
G4LEKaonZeroInelastic theKaonZeroInelastic;
G4LEAntiKaonZeroInelastic theAntiKaonZeroInelastic;
};
#endif
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LELambdaInelastic.hh,v 1.5 2001/08/01 17:10:51 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LELambdaInelastic.hh,v 1.6 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy Lambda Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -14,7 +14,7 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEOmegaMinusInelastic.hh,v 1.5 2001/08/01 17:10:51 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEOmegaMinusInelastic.hh,v 1.6 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy OmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEPionMinusInelastic.hh,v 1.6 2002/06/13 07:14:04 jwellisc Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEPionMinusInelastic.hh,v 1.7 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy PionMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEPionPlusInelastic.hh,v 1.6 2002/06/13 07:14:04 jwellisc Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEPionPlusInelastic.hh,v 1.7 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy PionPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEProtonInelastic.hh,v 1.6 2002/06/13 07:14:04 jwellisc Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEProtonInelastic.hh,v 1.7 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy Proton Inelastic Process
// original by H.P. Wellisch
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LESigmaMinusInelastic.hh,v 1.5 2001/08/01 17:10:53 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LESigmaMinusInelastic.hh,v 1.6 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy SigmaMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LESigmaPlusInelastic.hh,v 1.5 2001/08/01 17:10:53 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LESigmaPlusInelastic.hh,v 1.6 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy SigmaPlus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LETritonInelastic.hh,v 1.5 2001/08/01 17:10:53 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LETritonInelastic.hh,v 1.6 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy Triton Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEXiMinusInelastic.hh,v 1.5 2001/08/01 17:10:54 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEXiMinusInelastic.hh,v 1.6 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy XiMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEXiZeroInelastic.hh,v 1.5 2001/08/01 17:10:54 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEXiZeroInelastic.hh,v 1.6 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy XiZero Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LElastic.hh,v 1.7 2001/08/01 17:10:55 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LElastic.hh,v 1.8 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// G4 Model: Low energy elastic scattering -- header file
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LFission.hh,v 1.7 2001/08/01 17:10:56 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LFission.hh,v 1.8 2002/12/12 19:18:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// G4 Low-energy Model: Fission -- header file
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LCapture.cc,v 1.7 2001/10/05 16:11:31 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LCapture.cc,v 1.8 2002/12/12 19:18:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// G4 Model: Low-energy Neutron Capture
@@ -14,7 +14,7 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
@@ -76,6 +76,7 @@
G4double p = vec[0]->GetMomentum().mag();
theParticleChange.SetMomentumChange( vec[0]->GetMomentum() *(1./p));
theParticleChange.SetEnergyChange( vec[0]->GetKineticEnergy() );
delete vec[0];
//
theParticleChange.SetNumberOfSecondaries( vecLen-1 );
G4DynamicParticle *pd;
@@ -14,26 +14,26 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEKaonZeroLInelastic.cc,v 1.7 2001/10/05 16:11:32 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiKaonZeroInelastic.cc,v 1.2 2002/12/12 19:18:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonZeroLong Inelastic Process
// J.L. Chuma, TRIUMF, 11-Feb-1997
// Last modified: 27-Mar-1997
// Modified by J.L.Chuma 30-Apr-97: added originalTarget for CalculateMomenta
#include "G4LEKaonZeroLInelastic.hh"
#include "G4LEAntiKaonZeroInelastic.hh"
#include "Randomize.hh"
G4VParticleChange *
G4LEKaonZeroLInelastic::ApplyYourself( const G4Track &aTrack,
G4LEAntiKaonZeroInelastic::ApplyYourself( const G4Track &aTrack,
G4Nucleus &targetNucleus )
{
theParticleChange.Initialize( aTrack );
@@ -47,7 +47,7 @@
if( verboseLevel > 1 )
{
G4Material *targetMaterial = aTrack.GetMaterial();
G4cout << "G4LEKaonZeroLInelastic::ApplyYourself called" << G4endl;
G4cout << "G4LEAntiKaonZeroInelastic::ApplyYourself called" << G4endl;
G4cout << "kinetic energy = " << originalIncident->GetKineticEnergy()/MeV << "MeV, ";
G4cout << "target material = " << targetMaterial->GetName() << ", ";
G4cout << "target particle = " << originalTarget->GetDefinition()->GetParticleName()
@@ -119,7 +119,7 @@
}
void
G4LEKaonZeroLInelastic::Cascade(
G4LEAntiKaonZeroInelastic::Cascade(
G4FastVector<G4ReactionProduct,128> &vec,
G4int& vecLen,
const G4DynamicParticle *originalIncident,
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiLambdaInelastic.cc,v 1.4 2001/08/01 17:10:59 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiLambdaInelastic.cc,v 1.5 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: AntiLambda Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiNeutronInelastic.cc,v 1.7 2002/06/17 11:34:49 jwellisc Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiNeutronInelastic.cc,v 1.8 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: AntiNeutron Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiOmegaMinusInelastic.cc,v 1.5 2001/10/05 16:11:31 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiOmegaMinusInelastic.cc,v 1.6 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: AntiOmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 20-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiProtonInelastic.cc,v 1.7 2002/06/17 11:34:49 jwellisc Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiProtonInelastic.cc,v 1.8 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: AntiProton Inelastic Process
// J.L. Chuma, TRIUMF, 13-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiSigmaMinusInelastic.cc,v 1.4 2001/08/01 17:11:02 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiSigmaMinusInelastic.cc,v 1.5 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: AntiSigmaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiSigmaPlusInelastic.cc,v 1.4 2001/08/01 17:11:03 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiSigmaPlusInelastic.cc,v 1.5 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: AntiSigmaPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiXiMinusInelastic.cc,v 1.4 2001/08/01 17:11:04 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiXiMinusInelastic.cc,v 1.5 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: AntiXiMinus Inelastic Process
// J.L. Chuma, TRIUMF, 20-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEAntiXiZeroInelastic.cc,v 1.4 2001/08/01 17:11:04 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEAntiXiZeroInelastic.cc,v 1.5 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: AntiXiZero Inelastic Process
// J.L. Chuma, TRIUMF, 20-Feb-1997
@@ -14,7 +14,7 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
@@ -76,6 +76,7 @@
G4double p = vec[0]->GetMomentum().mag();
theParticleChange.SetMomentumChange( vec[0]->GetMomentum() * (1.0/p) );
theParticleChange.SetEnergyChange( vec[0]->GetKineticEnergy() );
delete vec[0];
//
theParticleChange.SetNumberOfSecondaries( vecLen-1 );
G4DynamicParticle *pd;
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEKaonMinusInelastic.cc,v 1.8 2002/06/07 15:30:55 jwellisc Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEKaonMinusInelastic.cc,v 1.9 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonMinus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEKaonPlusInelastic.cc,v 1.6 2001/10/05 16:11:32 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEKaonPlusInelastic.cc,v 1.7 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonPlus Inelastic Process
// J.L. Chuma, TRIUMF, 05-Feb-1997
@@ -14,26 +14,26 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEKaonZeroSInelastic.cc,v 1.5 2001/08/01 17:11:09 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEKaonZeroInelastic.cc,v 1.3 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Low Energy KaonZeroShort Inelastic Process
// J.L. Chuma, TRIUMF, 11-Feb-1997
// Last modified: 27-Mar-1997
// Modified by J.L.Chuma 30-Apr-97: added originalTarget for CalculateMomenta
#include "G4LEKaonZeroSInelastic.hh"
#include "G4LEKaonZeroInelastic.hh"
#include "Randomize.hh"
G4VParticleChange *
G4LEKaonZeroSInelastic::ApplyYourself( const G4Track &aTrack,
G4LEKaonZeroInelastic::ApplyYourself( const G4Track &aTrack,
G4Nucleus &targetNucleus )
{
theParticleChange.Initialize( aTrack );
@@ -47,7 +47,7 @@
if( verboseLevel > 1 )
{
G4Material *targetMaterial = aTrack.GetMaterial();
G4cout << "G4LEKaonZeroSInelastic::ApplyYourself called" << G4endl;
G4cout << "G4LEKaonZeroInelastic::ApplyYourself called" << G4endl;
G4cout << "kinetic energy = " << originalIncident->GetKineticEnergy()/MeV << "MeV, ";
G4cout << "target material = " << targetMaterial->GetName() << ", ";
G4cout << "target particle = " << originalTarget->GetDefinition()->GetParticleName()
@@ -119,7 +119,7 @@
}
void
G4LEKaonZeroSInelastic::Cascade(
G4LEKaonZeroInelastic::Cascade(
G4FastVector<G4ReactionProduct,128> &vec,
G4int& vecLen,
const G4DynamicParticle *originalIncident,
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LELambdaInelastic.cc,v 1.4 2001/08/01 17:11:09 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LELambdaInelastic.cc,v 1.5 2002/12/12 19:18:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: Lambda Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -14,7 +14,7 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEOmegaMinusInelastic.cc,v 1.5 2001/10/05 16:11:32 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEOmegaMinusInelastic.cc,v 1.6 2002/12/12 19:18:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: OmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 20-Feb-1997
@@ -14,7 +14,7 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
@@ -150,11 +150,6 @@
targetMass*targetMass +
2.0*targetMass*etOriginal );
G4double availableEnergy = centerofmassEnergy-(targetMass+mOriginal);
if( availableEnergy <= G4PionMinus::PionMinus()->GetPDGMass() )
{
quasiElastic = true;
return;
}
static G4bool first = true;
const G4int numMul = 1200;
const G4int numSec = 60;
@@ -243,9 +238,14 @@
incidentHasChanged = true;
targetHasChanged = true;
}
else quasiElastic = true;
}
if( availableEnergy <= G4PionMinus::PionMinus()->GetPDGMass() )
{
quasiElastic = true;
return;
}
nm = np = nz = 0;
if( targetParticle.GetDefinition() == aProton )
{
@@ -279,6 +279,11 @@
}
else
{
if( availableEnergy <= G4PionMinus::PionMinus()->GetPDGMass() )
{
quasiElastic = true;
return;
}
G4double n, anpn;
GetNormalizationConstant( availableEnergy, n, anpn );
G4double ran = G4UniformRand();
@@ -14,20 +14,21 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEPionPlusInelastic.cc,v 1.6 2001/10/05 16:11:32 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEPionPlusInelastic.cc,v 1.8 2002/12/12 19:18:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: PionPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
// Last modified: 27-Mar-1997
// Modified by J.L.Chuma 30-Apr-97: added originalTarget for CalculateMomenta
// fixing charge exchange - HPW Sep 2002.
#include "G4LEPionPlusInelastic.hh"
#include "Randomize.hh"
@@ -146,16 +147,12 @@
//
const G4double mOriginal = originalIncident->GetDefinition()->GetPDGMass();
const G4double etOriginal = originalIncident->GetTotalEnergy();
const G4double pOriginal = originalIncident->GetTotalMomentum();
const G4double targetMass = targetParticle.GetMass();
G4double centerofmassEnergy = sqrt( mOriginal*mOriginal +
targetMass*targetMass +
2.0*targetMass*etOriginal );
G4double availableEnergy = centerofmassEnergy-(targetMass+mOriginal);
if( availableEnergy <= G4PionPlus::PionPlus()->GetPDGMass() )
{
quasiElastic = true;
return;
}
static G4bool first = true;
const G4int numMul = 1200;
const G4int numSec = 60;
@@ -218,6 +215,26 @@
{
// suppress high multiplicity events at low momentum
// only one pion will be produced
// charge exchange reaction is included in inelastic cross section
const G4double cech[] = {1.,0.95,0.79,0.32,0.19,0.16,0.14,0.12,0.10,0.08};
G4int iplab = G4int(G4std::min( 9.0, pOriginal/GeV*5.0 ));
if( G4UniformRand() <= cech[iplab] )
{
if( targetParticle.GetDefinition() == aNeutron )
{
currentParticle.SetDefinitionAndUpdateE( aPiZero ); // charge exchange
targetParticle.SetDefinitionAndUpdateE( aProton );
incidentHasChanged = true;
targetHasChanged = true;
}
}
if( availableEnergy <= G4PionMinus::PionMinus()->GetPDGMass() )
{
quasiElastic = true;
return;
}
nm = np = nz = 0;
if( targetParticle.GetDefinition() == aProton ) {
@@ -245,6 +262,11 @@
nm = 1;
}
} else {
if( availableEnergy <= G4PionMinus::PionMinus()->GetPDGMass() )
{
quasiElastic = true;
return;
}
G4double n, anpn;
GetNormalizationConstant( availableEnergy, n, anpn );
G4double ran = G4UniformRand();
@@ -14,7 +14,7 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LESigmaMinusInelastic.cc,v 1.4 2001/08/01 17:11:14 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LESigmaMinusInelastic.cc,v 1.5 2002/12/12 19:18:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: SigmaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LESigmaPlusInelastic.cc,v 1.4 2001/08/01 17:11:15 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LESigmaPlusInelastic.cc,v 1.5 2002/12/12 19:18:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: SigmaPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -14,7 +14,7 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
@@ -76,6 +76,7 @@
G4double p = vec[0]->GetMomentum().mag();
theParticleChange.SetMomentumChange( vec[0]->GetMomentum()*(1./p) );
theParticleChange.SetEnergyChange( vec[0]->GetKineticEnergy() );
delete vec[0];
//
theParticleChange.SetNumberOfSecondaries( vecLen-1 );
G4DynamicParticle *pd;
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEXiMinusInelastic.cc,v 1.4 2001/08/01 17:11:17 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEXiMinusInelastic.cc,v 1.5 2002/12/12 19:18:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: XiMinus Inelastic Process
// J.L. Chuma, TRIUMF, 20-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LEXiZeroInelastic.cc,v 1.4 2001/08/01 17:11:17 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LEXiZeroInelastic.cc,v 1.5 2002/12/12 19:18:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Hadronic Process: XiZero Inelastic Process
// J.L. Chuma, TRIUMF, 20-Feb-1997
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LElastic.cc,v 1.6 2001/10/05 16:11:32 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LElastic.cc,v 1.7 2002/12/12 19:18:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// Physics model class G4LElastic
//
@@ -14,15 +14,15 @@
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * authors in the GEANT4 collaboration. *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4LFission.cc,v 1.8 2001/10/05 16:11:32 hpw Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4LFission.cc,v 1.9 2002/12/12 19:18:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// G4 Model: Low Energy Fission