Import Geant4 9.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:46:55 +02:00
parent 89a9605df1
commit b1eb5424d2
10957 changed files with 888481 additions and 160139 deletions
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LCapture.hh,v 1.11 2006/06/29 20:43:26 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4LCapture.hh,v 1.11 2006-06-29 20:43:26 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// G4 Low energy model: neutron capture -- header file
@@ -65,22 +65,25 @@
class G4LCapture : public G4HadronicInteraction
{
public:
public:
G4LCapture();
G4LCapture(const G4String& name = "G4LCapture");
~G4LCapture();
~G4LCapture();
G4HadFinalState * ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
private:
// void Description() const;
virtual void ModelDescription(std::ostream& outFile) const;
// Computes atomic mass in GeV using method from G4LFission
inline
G4double Atomas(const G4double A, const G4double Z)
{
private:
// Computes atomic mass in GeV using method from G4LFission
inline
G4double Atomas(const G4double A, const G4double Z)
{
return G4LFission::Atomas(A, Z)/GeV;
}
}
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEAlphaInelastic.hh,v 1.10 2007-02-24 06:06:38 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEAlphaInelastic.hh,v 1.10 2007/02/24 06:06:38 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy Alpha Inelastic Process
// J.L. Chuma, TRIUMF, 21-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy Alpha Inelastic Process
// J.L. Chuma, TRIUMF, 21-Feb-1997
#ifndef G4LEAlphaInelastic_h
#define G4LEAlphaInelastic_h 1
@@ -43,23 +41,18 @@
#include "G4InelasticInteraction.hh"
class G4LEAlphaInelastic : public G4InelasticInteraction
{
public:
class G4LEAlphaInelastic : public G4InelasticInteraction
{
public:
G4LEAlphaInelastic() : G4InelasticInteraction("G4LEAlphaInelastic")
{
SetMinEnergy( 0.0 );
// SetMaxEnergy( 100.*MeV ); // NUCREC only worked for energies < 100MeV
// Work around to avoid exception in G4EnergyRangeManager
SetMaxEnergy( 10.*TeV ); // NUCREC only worked for energies < 100MeV
}
G4LEAlphaInelastic(const G4String& name = "G4LEAlphaInelastic");
~G4LEAlphaInelastic() { }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
};
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEAntiKaonZeroInelastic.hh,v 1.7 2007-02-24 06:10:26 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEAntiKaonZeroInelastic.hh,v 1.7 2007/02/24 06:10:26 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy KaonZeroL Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy KaonZeroL Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
#ifndef G4LEAntiKaonZeroInelastic_h
#define G4LEAntiKaonZeroInelastic_h 1
@@ -43,9 +41,9 @@
#include "G4InelasticInteraction.hh"
class G4LEAntiKaonZeroInelastic : public G4InelasticInteraction
{
public:
class G4LEAntiKaonZeroInelastic : public G4InelasticInteraction
{
public:
G4LEAntiKaonZeroInelastic() : G4InelasticInteraction("G4LEAntiKaonZeroInelastic")
{
@@ -53,13 +51,14 @@
SetMaxEnergy( 25.*GeV );
}
~G4LEAntiKaonZeroInelastic()
{ }
~G4LEAntiKaonZeroInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void Cascade( // derived from CASK0B
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -70,8 +69,7 @@
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4LEAntiLambdaInelastic.hh,v 1.11 2007/02/24 06:11:24 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4LEAntiLambdaInelastic.hh,v 1.11 2007-02-24 06:11:24 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// Hadronic Process: Low Energy AntiLambda Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
@@ -57,6 +57,8 @@
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
virtual void ModelDescription(std::ostream& outFile) const;
private:
@@ -24,13 +24,13 @@
// ********************************************************************
//
//
// $Id: G4LEAntiNeutronInelastic.hh,v 1.11 2007/02/24 06:13:02 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4LEAntiNeutronInelastic.hh,v 1.11 2007-02-24 06:13:02 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// Hadronic Process: Low Energy AntiNeutron Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy AntiNeutron Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
//
#ifndef G4LEAntiNeutronInelastic_h
#define G4LEAntiNeutronInelastic_h 1
@@ -42,37 +42,32 @@
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LEAntiNeutronInelastic : public G4InelasticInteraction
{
public:
class G4LEAntiNeutronInelastic : public G4InelasticInteraction
{
public:
G4LEAntiNeutronInelastic() : G4InelasticInteraction("G4LEAntiNeutronInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
}
G4LEAntiNeutronInelastic(const G4String& name = "G4LEAntiNeutronInelastic");
~G4LEAntiNeutronInelastic()
{ }
~G4LEAntiNeutronInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void
Cascade( // derived from CASNB
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
G4int &vecLen,
const G4HadProjectile *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
void Cascade( // derived from CASNB
G4FastVector<G4ReactionProduct,GHADLISTSIZE>& vec,
G4int& vecLen,
const G4HadProjectile* originalIncident,
G4ReactionProduct& currentParticle,
G4ReactionProduct& targetParticle,
G4bool& incidentHasChanged,
G4bool& targetHasChanged,
G4bool& quasiElastic);
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEAntiOmegaMinusInelastic.hh,v 1.11 2007-02-24 06:13:54 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEAntiOmegaMinusInelastic.hh,v 1.11 2007/02/24 06:13:54 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy AntiOmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy AntiOmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
#ifndef G4LEAntiOmegaMinusInelastic_h
#define G4LEAntiOmegaMinusInelastic_h 1
@@ -43,22 +41,24 @@
#include "G4InelasticInteraction.hh"
class G4LEAntiOmegaMinusInelastic : public G4InelasticInteraction
{
public:
class G4LEAntiOmegaMinusInelastic : public G4InelasticInteraction
{
public:
G4LEAntiOmegaMinusInelastic() : G4InelasticInteraction("G4LEAntiOmegaMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
SetMinEnergy(0.0);
SetMaxEnergy(25.*GeV);
}
~G4LEAntiOmegaMinusInelastic() { }
~G4LEAntiOmegaMinusInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void
Cascade( // derived from CASOM
@@ -23,54 +23,50 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEAntiProtonInelastic.hh,v 1.11 2007/02/24 05:07:32 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4LEAntiProtonInelastic.hh,v 1.11 2007-02-24 05:07:32 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// Hadronic Process: Low Energy AntiProton Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
//
// Hadronic Process: Low Energy AntiProton Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
// Last modified: 27-Mar-1997
#ifndef G4LEAntiProtonInelastic_h
#define G4LEAntiProtonInelastic_h 1
// Class Description
// Final state production model for AntiProton inelastic scattering below 20 GeV;
// To be used in your physics list in case you need this physics.
// Final state production model for AntiProton 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 G4LEAntiProtonInelastic : public G4InelasticInteraction
{
public:
class G4LEAntiProtonInelastic : public G4InelasticInteraction
{
public:
G4LEAntiProtonInelastic():G4InelasticInteraction("G4LEAntiProtonInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
}
G4LEAntiProtonInelastic(const G4String& name = "G4LEAntiProtonInelastic");
~G4LEAntiProtonInelastic() { }
~G4LEAntiProtonInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void
Cascade( // derived from CASPB
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
G4int &vecLen,
const G4HadProjectile *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
void Cascade( // derived from CASPB
G4FastVector<G4ReactionProduct,GHADLISTSIZE>& vec,
G4int& vecLen,
const G4HadProjectile* originalIncident,
G4ReactionProduct& currentParticle,
G4ReactionProduct& targetParticle,
G4bool& incidentHasChanged,
G4bool& targetHasChanged,
G4bool& quasiElastic);
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEAntiSigmaMinusInelastic.hh,v 1.11 2007-02-24 06:38:14 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEAntiSigmaMinusInelastic.hh,v 1.11 2007/02/24 06:38:14 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy AntiSigmaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy AntiSigmaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
#ifndef G4LEAntiSigmaMinusInelastic_h
#define G4LEAntiSigmaMinusInelastic_h 1
@@ -43,22 +41,24 @@
#include "G4InelasticInteraction.hh"
class G4LEAntiSigmaMinusInelastic : public G4InelasticInteraction
{
public:
class G4LEAntiSigmaMinusInelastic : public G4InelasticInteraction
{
public:
G4LEAntiSigmaMinusInelastic() : G4InelasticInteraction("G4LEAntiSigmaMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
SetMinEnergy(0.0);
SetMaxEnergy(25.*GeV);
}
~G4LEAntiSigmaMinusInelastic() { }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void
Cascade( // derived from CASASM
@@ -71,7 +71,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEAntiSigmaPlusInelastic.hh,v 1.11 2007-02-24 06:39:17 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEAntiSigmaPlusInelastic.hh,v 1.11 2007/02/24 06:39:17 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy AntiSigmaPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy AntiSigmaPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
#ifndef G4LEAntiSigmaPlusInelastic_h
#define G4LEAntiSigmaPlusInelastic_h 1
@@ -43,9 +41,9 @@
#include "G4InelasticInteraction.hh"
class G4LEAntiSigmaPlusInelastic : public G4InelasticInteraction
{
public:
class G4LEAntiSigmaPlusInelastic : public G4InelasticInteraction
{
public:
G4LEAntiSigmaPlusInelastic() : G4InelasticInteraction("G4LEAntiSigmaPlusInelastic")
{
@@ -55,8 +53,10 @@
~G4LEAntiSigmaPlusInelastic() { }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
@@ -71,7 +71,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEAntiXiMinusInelastic.hh,v 1.11 2007-02-24 06:42:10 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEAntiXiMinusInelastic.hh,v 1.11 2007/02/24 06:42:10 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy AntiXiMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy AntiXiMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
#ifndef G4LEAntiXiMinusInelastic_h
#define G4LEAntiXiMinusInelastic_h 1
@@ -43,9 +41,9 @@
#include "G4InelasticInteraction.hh"
class G4LEAntiXiMinusInelastic : public G4InelasticInteraction
{
public:
class G4LEAntiXiMinusInelastic : public G4InelasticInteraction
{
public:
G4LEAntiXiMinusInelastic() : G4InelasticInteraction("G4LEAntiXiMinusInelastic")
{
@@ -53,13 +51,14 @@
SetMaxEnergy( 25.*GeV );
}
~G4LEAntiXiMinusInelastic()
{ }
~G4LEAntiXiMinusInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void
Cascade( // derived from CASAL0
@@ -72,7 +71,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEAntiXiZeroInelastic.hh,v 1.11 2007-02-24 06:43:02 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEAntiXiZeroInelastic.hh,v 1.11 2007/02/24 06:43:02 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy AntiXiZero Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy AntiXiZero Inelastic Process
// J.L. Chuma, TRIUMF, 19-Feb-1997
#ifndef G4LEAntiXiZeroInelastic_h
#define G4LEAntiXiZeroInelastic_h 1
@@ -43,9 +41,9 @@
#include "G4InelasticInteraction.hh"
class G4LEAntiXiZeroInelastic : public G4InelasticInteraction
{
public:
class G4LEAntiXiZeroInelastic : public G4InelasticInteraction
{
public:
G4LEAntiXiZeroInelastic() : G4InelasticInteraction("G4LEAntiXiZeroInelastic")
{
@@ -55,11 +53,13 @@
~G4LEAntiXiZeroInelastic() { }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
private:
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
void
Cascade( // derived from CASAL0
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -71,7 +71,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEDeuteronInelastic.hh,v 1.10 2007-02-24 06:45:04 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEDeuteronInelastic.hh,v 1.10 2007/02/24 06:45:04 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy Deuteron Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy Deuteron Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
#ifndef G4LEDeuteronInelastic_h
#define G4LEDeuteronInelastic_h 1
@@ -43,9 +41,9 @@
#include "G4InelasticInteraction.hh"
class G4LEDeuteronInelastic : public G4InelasticInteraction
{
public:
class G4LEDeuteronInelastic : public G4InelasticInteraction
{
public:
G4LEDeuteronInelastic() : G4InelasticInteraction("G4LEDeuteronInelastic")
{
@@ -55,11 +53,13 @@
SetMaxEnergy( 10.*TeV ); // NUCREC only worked for energies < 100MeV
}
~G4LEDeuteronInelastic() { }
~G4LEDeuteronInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
};
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEKaonMinusInelastic.hh,v 1.11 2007-02-26 18:21:07 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEKaonMinusInelastic.hh,v 1.11 2007/02/26 18:21:07 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy KaonMinus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy KaonMinus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
#ifndef G4LEKaonMinusInelastic_h
#define G4LEKaonMinusInelastic_h 1
@@ -43,35 +41,30 @@
#include "G4InelasticInteraction.hh"
class G4LEKaonMinusInelastic : public G4InelasticInteraction
{
public:
class G4LEKaonMinusInelastic : public G4InelasticInteraction
{
public:
G4LEKaonMinusInelastic() : G4InelasticInteraction("G4LEKaonMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
}
G4LEKaonMinusInelastic(const G4String& name = "G4LEKaonMinusInelastic");
~G4LEKaonMinusInelastic()
{ }
~G4LEKaonMinusInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void Cascade( // derived from CASKM
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
G4int &vecLen,
const G4HadProjectile *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
void Cascade( // derived from CASKM
G4FastVector<G4ReactionProduct,GHADLISTSIZE>& vec,
G4int& vecLen,
const G4HadProjectile* originalIncident,
G4ReactionProduct& currentParticle,
G4ReactionProduct& targetParticle,
G4bool& incidentHasChanged,
G4bool& targetHasChanged,
G4bool& quasiElastic);
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEKaonPlusInelastic.hh,v 1.11 2007-02-26 18:21:57 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEKaonPlusInelastic.hh,v 1.11 2007/02/26 18:21:57 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy KaonPlus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy KaonPlus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
#ifndef G4LEKaonPlusInelastic_h
#define G4LEKaonPlusInelastic_h 1
@@ -42,24 +40,22 @@
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LEKaonPlusInelastic : public G4InelasticInteraction
{
public:
G4LEKaonPlusInelastic(const G4String& name = "G4LEKaonPlusInelastic");
~G4LEKaonPlusInelastic() {}
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
class G4LEKaonPlusInelastic : public G4InelasticInteraction
{
public:
G4LEKaonPlusInelastic() : G4InelasticInteraction("G4LEKaonPlusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
}
~G4LEKaonPlusInelastic()
{ }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
private:
private:
void Cascade( // derived from CASKP
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -71,7 +67,6 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEKaonZeroInelastic.hh,v 1.7 2007-02-26 18:23:45 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEKaonZeroInelastic.hh,v 1.7 2007/02/26 18:23:45 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy KaonZeroS Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy KaonZeroS Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
#ifndef G4LEKaonZeroInelastic_h
#define G4LEKaonZeroInelastic_h 1
@@ -43,9 +41,9 @@
#include "G4InelasticInteraction.hh"
class G4LEKaonZeroInelastic : public G4InelasticInteraction
{
public:
class G4LEKaonZeroInelastic : public G4InelasticInteraction
{
public:
G4LEKaonZeroInelastic() : G4InelasticInteraction("G4LEKaonZeroInelastic")
{
@@ -57,9 +55,11 @@
{ }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4Nucleus &targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void Cascade( // derived from CASK0
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -71,7 +71,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,15 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4LEKaonZeroLInelastic.hh,v 1.12 2007/02/26 18:24:54 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// $Id: G4LEKaonZeroLInelastic.hh,v 1.12 2007-02-26 18:24:54 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// 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
@@ -46,13 +42,13 @@ class G4LEKaonZeroLInelastic : public G4InelasticInteraction
public:
G4LEKaonZeroLInelastic() : G4InelasticInteraction("G4LEKaonZeroLInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
SetMinEnergy(0.0);
SetMaxEnergy(25.*GeV);
}
virtual ~G4LEKaonZeroLInelastic(){ }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus )
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& targetNucleus)
{
if(G4UniformRand() < 0.50)
{
@@ -67,6 +63,21 @@ class G4LEKaonZeroLInelastic : public G4InelasticInteraction
G4LEKaonZeroInelastic theKaonZeroInelastic;
G4LEAntiKaonZeroInelastic theAntiKaonZeroInelastic;
virtual void ModelDescription(std::ostream& outFile) const
{
outFile << "G4LEKaonZeroLInelastic is one of the Low Energy\n"
<< "Parameterized (LEP) models used to implement K0L\n"
<< "scattering from nuclei. Upon interaction with a nucleus\n"
<< "the K0L is treated as a K0 50% of the time and an antiK0\n"
<< "50% of the time. Then the K0 or antiK0 interacts with the\n"
<< "nucleus using the re-engineered GHEISHA code of\n"
<< "H. Fesefeldt, which divides the initial collision products\n"
<< "into backward- and forward-going clusters which are then\n"
<< "decayed into final state hadrons. The model does not\n"
<< "conserve energy or charge on an event-by-event basis. It\n"
<< "may be applied to K0Ls with initial energies between 0 and\n"
<< "25 GeV.\n";
}
};
#endif
@@ -23,15 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4LEKaonZeroSInelastic.hh,v 1.12 2007/02/26 18:25:37 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// $Id: G4LEKaonZeroSInelastic.hh,v 1.12 2007-02-26 18:25:37 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// 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
@@ -46,13 +42,13 @@ class G4LEKaonZeroSInelastic : public G4InelasticInteraction
public:
G4LEKaonZeroSInelastic() : G4InelasticInteraction("G4LEKaonZeroSInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
SetMinEnergy(0.0);
SetMaxEnergy(25.*GeV);
}
virtual ~G4LEKaonZeroSInelastic(){ }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus )
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& targetNucleus)
{
if(G4UniformRand() < 0.50)
{
@@ -62,12 +58,27 @@ class G4LEKaonZeroSInelastic : public G4InelasticInteraction
{
return theAntiKaonZeroInelastic.ApplyYourself(aTrack, targetNucleus);
}
}
}
virtual void ModelDescription(std::ostream& outFile) const
{
outFile << "G4LEKaonZeroSInelastic is one of the Low Energy\n"
<< "Parameterized (LEP) models used to implement K0S\n"
<< "scattering from nuclei. Upon interaction with a nucleus\n"
<< "the K0S is treated as a K0 50% of the time and an antiK0\n"
<< "50% of the time. Then the K0 or antiK0 interacts with the\n"
<< "nucleus using the re-engineered GHEISHA code of\n"
<< "H. Fesefeldt, which divides the initial collision products\n"
<< "into backward- and forward-going clusters which are then\n"
<< "decayed into final state hadrons. The model does not\n"
<< "conserve energy or charge on an event-by-event basis. It\n"
<< "may be applied to K0S with initial energies between 0 and\n"
<< "25 GeV.\n";
}
private:
G4LEKaonZeroInelastic theKaonZeroInelastic;
G4LEAntiKaonZeroInelastic theAntiKaonZeroInelastic;
G4LEAntiKaonZeroInelastic theAntiKaonZeroInelastic;
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LELambdaInelastic.hh,v 1.11 2007-02-26 18:27:08 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LELambdaInelastic.hh,v 1.11 2007/02/26 18:27:08 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy Lambda Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy Lambda Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
#ifndef G4LELambdaInelastic_h
#define G4LELambdaInelastic_h 1
@@ -42,36 +40,32 @@
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LELambdaInelastic : public G4InelasticInteraction
{
public:
class G4LELambdaInelastic : public G4InelasticInteraction
{
public:
G4LELambdaInelastic() : G4InelasticInteraction("G4LELambdaInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
}
G4LELambdaInelastic(const G4String& name = "G4LELambdaInelastic");
~G4LELambdaInelastic() { }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void
Cascade( // derived from CASL0
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
G4int &vecLen,
const G4HadProjectile *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
void Cascade( // derived from CASL0
G4FastVector<G4ReactionProduct,GHADLISTSIZE>& vec,
G4int& vecLen,
const G4HadProjectile* originalIncident,
G4ReactionProduct& currentParticle,
G4ReactionProduct& targetParticle,
G4bool& incidentHasChanged,
G4bool& targetHasChanged,
G4bool& quasiElastic);
};
#endif
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// Hadronic Process: Low Energy Neutron Inelastic Process
// original by J.L. Chuma, TRIUMF, 04-Feb-1997
// Hadronic Process: Low Energy Neutron Inelastic Process
// original by J.L. Chuma, TRIUMF, 04-Feb-1997
#ifndef G4LENeutronInelastic_h
#define G4LENeutronInelastic_h 1
@@ -37,41 +37,42 @@
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LENeutronInelastic : public G4InelasticInteraction
{
public:
class G4LENeutronInelastic : public G4InelasticInteraction
{
public:
G4LENeutronInelastic() : G4InelasticInteraction("G4LENeutronInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 55.*GeV );
SetMinEnergy(0.0);
SetMaxEnergy(55.*GeV);
}
~G4LENeutronInelastic()
{ }
~G4LENeutronInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void Cascade( // derived from CASN
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
G4int &vecLen,
const G4HadProjectile *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
G4FastVector<G4ReactionProduct,GHADLISTSIZE>& vec,
G4int& vecLen,
const G4HadProjectile* originalIncident,
G4ReactionProduct& currentParticle,
G4ReactionProduct& targetParticle,
G4bool& incidentHasChanged,
G4bool& targetHasChanged,
G4bool& quasiElastic);
void SlowNeutron(
const G4HadProjectile *originalIncident,
G4ReactionProduct &modifiedOriginal,
G4ReactionProduct &targetParticle,
G4Nucleus & targetNucleus );
};
void SlowNeutron(const G4HadProjectile* originalIncident,
G4ReactionProduct& modifiedOriginal,
G4ReactionProduct& targetParticle,
G4Nucleus& targetNucleus);
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEOmegaMinusInelastic.hh,v 1.11 2007-02-26 18:29:56 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEOmegaMinusInelastic.hh,v 1.11 2007/02/26 18:29:56 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy OmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy OmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
#ifndef G4LEOmegaMinusInelastic_h
#define G4LEOmegaMinusInelastic_h 1
@@ -43,22 +41,24 @@
#include "G4InelasticInteraction.hh"
class G4LEOmegaMinusInelastic : public G4InelasticInteraction
{
public:
class G4LEOmegaMinusInelastic : public G4InelasticInteraction
{
public:
G4LEOmegaMinusInelastic() : G4InelasticInteraction("G4LEOmegaMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
SetMinEnergy(0.0);
SetMaxEnergy(25.*GeV);
}
~G4LEOmegaMinusInelastic() { }
~G4LEOmegaMinusInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void Cascade( // derived from CASOM
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -70,7 +70,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEPionMinusInelastic.hh,v 1.12 2007-02-24 05:23:37 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEPionMinusInelastic.hh,v 1.12 2007/02/24 05:23:37 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
//
// Hadronic Process: Low Energy PionMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
// Last modified: 27-Mar-1997
#ifndef G4LEPionMinusInelastic_h
#define G4LEPionMinusInelastic_h 1
@@ -42,23 +40,22 @@
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LEPionMinusInelastic : public G4InelasticInteraction
{
public:
class G4LEPionMinusInelastic : public G4InelasticInteraction
{
public:
G4LEPionMinusInelastic() : G4InelasticInteraction("G4LEPionMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 55.*GeV );
}
G4LEPionMinusInelastic(const G4String& name = "G4LEPionMinusInelastic");
~G4LEPionMinusInelastic() { }
~G4LEPionMinusInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
private:
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
void Cascade( // derived from CASPIM
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -68,9 +65,7 @@
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
G4bool &quasiElastic );
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEPionPlusInelastic.hh,v 1.12 2007-02-24 05:23:52 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEPionPlusInelastic.hh,v 1.12 2007/02/24 05:23:52 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy PionPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy PionPlus Inelastic Process
// J.L. Chuma, TRIUMF, 19-Nov-1996
#ifndef G4LEPionPlusInelastic_h
#define G4LEPionPlusInelastic_h 1
@@ -43,33 +41,31 @@
#include "G4InelasticInteraction.hh"
class G4LEPionPlusInelastic : public G4InelasticInteraction
{
public:
class G4LEPionPlusInelastic : public G4InelasticInteraction
{
public:
G4LEPionPlusInelastic() : G4InelasticInteraction("G4LEPionPlusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 55.*GeV );
}
G4LEPionPlusInelastic(const G4String& name = "G4LEPionPlusInelastic");
~G4LEPionPlusInelastic() { }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void Cascade( // derived from CASPIP
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
G4int &vecLen,
const G4HadProjectile *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
G4FastVector<G4ReactionProduct,GHADLISTSIZE>& vec,
G4int& vecLen,
const G4HadProjectile* originalIncident,
G4ReactionProduct& currentParticle,
G4ReactionProduct& targetParticle,
G4bool& incidentHasChanged,
G4bool& targetHasChanged,
G4bool& quasiElastic);
};
};
#endif
@@ -23,15 +23,13 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEProtonInelastic.hh,v 1.12 2007-02-26 18:31:19 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEProtonInelastic.hh,v 1.12 2007/02/26 18:31:19 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy Proton Inelastic Process
// original by H.P. Wellisch
// modified by J.L. Chuma, TRIUMF, 19-Nov-1996
// Last modified: 27-Mar-1997
// Modified by J.L.Chuma 8-Jul-97 to implement Nucleus changes
// Hadronic Process: Low Energy Proton Inelastic Process
// original by H.P. Wellisch
// modified by J.L. Chuma, TRIUMF, 19-Nov-1996
// Modified by J.L.Chuma 8-Jul-97 to implement Nucleus changes
#ifndef G4LEProtonInelastic_h
#define G4LEProtonInelastic_h 1
@@ -44,38 +42,36 @@
// Class Description - End
#include "G4InelasticInteraction.hh"
class G4LEProtonInelastic : public G4InelasticInteraction
{
public:
class G4LEProtonInelastic : public G4InelasticInteraction
{
public:
G4LEProtonInelastic(const G4String& name = "G4LEProtonInelastic");
~G4LEProtonInelastic() {}
G4LEProtonInelastic() : G4InelasticInteraction("G4LEProtonInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 55.*GeV );
}
~G4LEProtonInelastic()
{ }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
private:
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
void Cascade( // derived from CASP
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
G4int &vecLen,
const G4HadProjectile *originalIncident,
G4ReactionProduct &currentParticle,
G4ReactionProduct &targetParticle,
G4bool &incidentHasChanged,
G4bool &targetHasChanged,
G4bool &quasiElastic );
G4FastVector<G4ReactionProduct,GHADLISTSIZE>& vec,
G4int& vecLen,
const G4HadProjectile* originalIncident,
G4ReactionProduct& currentParticle,
G4ReactionProduct& targetParticle,
G4bool& incidentHasChanged,
G4bool& targetHasChanged,
G4bool& quasiElastic);
void SlowProton(
const G4HadProjectile *originalIncident,
G4Nucleus &targetNucleus );
};
void SlowProton(const G4HadProjectile* originalIncident,
G4Nucleus& targetNucleus);
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LESigmaMinusInelastic.hh,v 1.11 2007-02-26 18:33:03 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LESigmaMinusInelastic.hh,v 1.11 2007/02/26 18:33:03 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy SigmaMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy SigmaMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
#ifndef G4LESigmaMinusInelastic_h
#define G4LESigmaMinusInelastic_h 1
@@ -43,23 +41,24 @@
#include "G4InelasticInteraction.hh"
class G4LESigmaMinusInelastic : public G4InelasticInteraction
{
public:
class G4LESigmaMinusInelastic : public G4InelasticInteraction
{
public:
G4LESigmaMinusInelastic() : G4InelasticInteraction("G4LESigmaMinusInelastic")
{
SetMinEnergy( 0.0 );
SetMaxEnergy( 25.*GeV );
SetMinEnergy(0.0);
SetMaxEnergy(25.*GeV);
}
~G4LESigmaMinusInelastic()
{ }
~G4LESigmaMinusInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void Cascade( // derived from CASSM
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -71,7 +70,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LESigmaPlusInelastic.hh,v 1.11 2007-02-26 18:33:48 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LESigmaPlusInelastic.hh,v 1.11 2007/02/26 18:33:48 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy SigmaPlus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy SigmaPlus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
#ifndef G4LESigmaPlusInelastic_h
#define G4LESigmaPlusInelastic_h 1
@@ -43,9 +41,9 @@
#include "G4InelasticInteraction.hh"
class G4LESigmaPlusInelastic : public G4InelasticInteraction
{
public:
class G4LESigmaPlusInelastic : public G4InelasticInteraction
{
public:
G4LESigmaPlusInelastic() : G4InelasticInteraction("G4LESigmaPlusInelastic")
{
@@ -55,10 +53,12 @@
~G4LESigmaPlusInelastic() { }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
private:
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
void Cascade( // derived from CASSM
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -70,7 +70,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LETritonInelastic.hh,v 1.10 2007-02-26 18:34:35 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LETritonInelastic.hh,v 1.10 2007/02/26 18:34:35 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy Triton Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy Triton Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
#ifndef G4LETritonInelastic_h
#define G4LETritonInelastic_h 1
@@ -43,22 +41,24 @@
#include "G4InelasticInteraction.hh"
class G4LETritonInelastic : public G4InelasticInteraction
{
public:
class G4LETritonInelastic : public G4InelasticInteraction
{
public:
G4LETritonInelastic() : G4InelasticInteraction("G4LETritonInelastic")
{
SetMinEnergy( 0.0 );
// SetMaxEnergy( 100.*MeV ); // NUCREC only worked for energies < 100MeV
// Work around to avoid exception in G4EnergyRangeManager
SetMaxEnergy( 10.*TeV ); // NUCREC only worked for energies < 100MeV
SetMaxEnergy(10.*TeV); // NUCREC only worked for energies < 100MeV
}
~G4LETritonInelastic() { }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEXiMinusInelastic.hh,v 1.11 2007-02-26 18:35:18 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEXiMinusInelastic.hh,v 1.11 2007/02/26 18:35:18 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy XiMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy XiMinus Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
#ifndef G4LEXiMinusInelastic_h
#define G4LEXiMinusInelastic_h 1
@@ -43,9 +41,9 @@
#include "G4InelasticInteraction.hh"
class G4LEXiMinusInelastic : public G4InelasticInteraction
{
public:
class G4LEXiMinusInelastic : public G4InelasticInteraction
{
public:
G4LEXiMinusInelastic() : G4InelasticInteraction("G4LEXiMinusInelastic")
{
@@ -55,10 +53,12 @@
~G4LEXiMinusInelastic() { }
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void Cascade( // derived from CASXM
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -70,7 +70,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,13 +23,11 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4LEXiZeroInelastic.hh,v 1.11 2007-02-26 18:36:05 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
// $Id: G4LEXiZeroInelastic.hh,v 1.11 2007/02/26 18:36:05 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Low Energy XiZero Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
// Last modified: 27-Mar-1997
// Hadronic Process: Low Energy XiZero Inelastic Process
// original by J.L. Chuma, TRIUMF, 03-Feb-1997
#ifndef G4LEXiZeroInelastic_h
#define G4LEXiZeroInelastic_h 1
@@ -43,9 +41,9 @@
#include "G4InelasticInteraction.hh"
class G4LEXiZeroInelastic : public G4InelasticInteraction
{
public:
class G4LEXiZeroInelastic : public G4InelasticInteraction
{
public:
G4LEXiZeroInelastic() : G4InelasticInteraction("G4LEXiZeroInelastic")
{
@@ -53,13 +51,14 @@
SetMaxEnergy( 25.*GeV );
}
~G4LEXiZeroInelastic()
{ }
~G4LEXiZeroInelastic() {}
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack,
G4Nucleus &targetNucleus );
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
virtual void ModelDescription(std::ostream& outFile) const;
private:
private:
void Cascade( // derived from CASX0
G4FastVector<G4ReactionProduct,GHADLISTSIZE> &vec,
@@ -71,7 +70,7 @@
G4bool &targetHasChanged,
G4bool &quasiElastic );
};
};
#endif
@@ -23,9 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4LElastic.hh,v 1.12 2007/02/26 19:05:01 dennis Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4LElastic.hh,v 1.12 2007-02-26 19:05:01 dennis Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// G4 Model: Low energy elastic scattering -- header file
@@ -35,8 +34,6 @@
//
// use -scheme for elastic scattering: HPW, 20th June 1997
// most of the code comes from the old Low-energy Elastic class
//
#ifndef G4LElastic_h
#define G4LElastic_h 1
@@ -64,35 +61,32 @@
class G4LElastic : public G4HadronicInteraction
{
public:
public:
G4LElastic() : G4HadronicInteraction("G4LElastic")
{
SetMinEnergy( 0.0*GeV );
SetMaxEnergy( DBL_MAX );
}
G4LElastic(const G4String& name = "G4LElastic");
~G4LElastic() {};
~G4LElastic() {};
G4HadFinalState * ApplyYourself(const G4HadProjectile & aTrack,
G4Nucleus & targetNucleus);
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
private:
virtual void ModelDescription(std::ostream& outFile) const;
private:
G4LightMedia LightMedia;
G4LightMedia LightMedia;
G4int Rtmi(G4double* x, G4double xli, G4double xri, G4double eps,
G4int iend,
G4double aa, G4double bb, G4double cc, G4double dd,
G4double rr);
G4int Rtmi(G4double* x, G4double xli, G4double xri, G4double eps,
G4int iend,
G4double aa, G4double bb, G4double cc, G4double dd,
G4double rr);
G4double Fctcos(G4double t,
G4double aa, G4double bb, G4double cc, G4double dd,
G4double rr);
G4double Fctcos(G4double t,
G4double aa, G4double bb, G4double cc, G4double dd,
G4double rr);
void Defs1(G4double p, G4double px, G4double py, G4double pz,
G4double pxinc, G4double pyinc, G4double pzinc,
G4double* pxnew, G4double* pynew, G4double* pznew);
void Defs1(G4double p, G4double px, G4double py, G4double pz,
G4double pxinc, G4double pyinc, G4double pzinc,
G4double* pxnew, G4double* pynew, G4double* pznew);
};
#endif
@@ -23,9 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4LFission.hh,v 1.11 2006/06/29 20:44:27 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4LFission.hh,v 1.11 2006-06-29 20:44:27 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// G4 Low-energy Model: Fission -- header file
@@ -35,7 +34,6 @@
//
// use -scheme for elastic scattering: HPW, 20th June 1997
// most of the code comes from the old Low-energy Fission class
//
// Class Description
// Final state production model for induced fission;
@@ -67,20 +65,21 @@
class G4LFission : public G4HadronicInteraction
{
public:
public:
G4LFission();
~G4LFission();
G4LFission(const G4String& name = "G4LFission");
~G4LFission();
G4HadFinalState * ApplyYourself(const G4HadProjectile & aTrack,
G4Nucleus& targetNucleus);
G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
G4Nucleus& targetNucleus);
static G4double Atomas(const G4double A, const G4double Z);
static G4double Atomas(const G4double A, const G4double Z);
private:
virtual void ModelDescription(std::ostream& outFile) const;
void init();
private:
G4double spneut[10];
void init();
G4double spneut[10];
};
#endif