Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4LEKaonZeroSInelastic Class Reference

#include <G4LEKaonZeroSInelastic.hh>

+ Inheritance diagram for G4LEKaonZeroSInelastic:

Public Member Functions

 G4LEKaonZeroSInelastic ()
 
virtual ~G4LEKaonZeroSInelastic ()
 
G4HadFinalStateApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
 
virtual void ModelDescription (std::ostream &outFile) const
 
- Public Member Functions inherited from G4InelasticInteraction
 G4InelasticInteraction (const G4String &name="LEInelastic")
 
virtual ~G4InelasticInteraction ()
 
void RegisterIsotopeProductionModel (G4VIsotopeProduction *aModel)
 
void TurnOnIsotopeProduction ()
 
virtual const std::pair< G4double, G4doubleGetFatalEnergyCheckLevels () const
 
- Public Member Functions inherited from G4HadronicInteraction
 G4HadronicInteraction (const G4String &modelName="HadronicModel")
 
virtual ~G4HadronicInteraction ()
 
virtual G4HadFinalStateApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)=0
 
virtual G4double SampleInvariantT (const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
 
virtual G4bool IsApplicable (const G4HadProjectile &, G4Nucleus &)
 
G4double GetMinEnergy () const
 
G4double GetMinEnergy (const G4Material *aMaterial, const G4Element *anElement) const
 
void SetMinEnergy (G4double anEnergy)
 
void SetMinEnergy (G4double anEnergy, const G4Element *anElement)
 
void SetMinEnergy (G4double anEnergy, const G4Material *aMaterial)
 
G4double GetMaxEnergy () const
 
G4double GetMaxEnergy (const G4Material *aMaterial, const G4Element *anElement) const
 
void SetMaxEnergy (const G4double anEnergy)
 
void SetMaxEnergy (G4double anEnergy, const G4Element *anElement)
 
void SetMaxEnergy (G4double anEnergy, const G4Material *aMaterial)
 
const G4HadronicInteractionGetMyPointer () const
 
G4int GetVerboseLevel () const
 
void SetVerboseLevel (G4int value)
 
const G4StringGetModelName () const
 
void DeActivateFor (const G4Material *aMaterial)
 
void ActivateFor (const G4Material *aMaterial)
 
void DeActivateFor (const G4Element *anElement)
 
void ActivateFor (const G4Element *anElement)
 
G4bool IsBlocked (const G4Material *aMaterial) const
 
G4bool IsBlocked (const G4Element *anElement) const
 
void SetRecoilEnergyThreshold (G4double val)
 
G4double GetRecoilEnergyThreshold () const
 
G4bool operator== (const G4HadronicInteraction &right) const
 
G4bool operator!= (const G4HadronicInteraction &right) const
 
virtual const std::pair< G4double, G4doubleGetFatalEnergyCheckLevels () const
 
virtual std::pair< G4double, G4doubleGetEnergyMomentumCheckLevels () const
 
void SetEnergyMomentumCheckLevels (G4double relativeLevel, G4double absoluteLevel)
 
virtual void ModelDescription (std::ostream &outFile) const
 

Additional Inherited Members

- Static Public Member Functions inherited from G4InelasticInteraction
static G4IsoParticleChangeGetIsotopeProductionInfo ()
 
- Protected Member Functions inherited from G4InelasticInteraction
G4double Pmltpc (G4int np, G4int nm, G4int nz, G4int n, G4double b, G4double c)
 
G4bool MarkLeadingStrangeParticle (const G4ReactionProduct &currentParticle, const G4ReactionProduct &targetParticle, G4ReactionProduct &leadParticle)
 
void SetUpPions (const G4int np, const G4int nm, const G4int nz, G4FastVector< G4ReactionProduct, GHADLISTSIZE > &vec, G4int &vecLen)
 
void Rotate (G4FastVector< G4ReactionProduct, GHADLISTSIZE > &vec, G4int &vecLen)
 
void GetNormalizationConstant (const G4double availableEnergy, G4double &n, G4double &anpn)
 
void CalculateMomenta (G4FastVector< G4ReactionProduct, GHADLISTSIZE > &vec, G4int &vecLen, const G4HadProjectile *originalIncident, const G4DynamicParticle *originalTarget, G4ReactionProduct &modifiedOriginal, G4Nucleus &targetNucleus, G4ReactionProduct &currentParticle, G4ReactionProduct &targetParticle, G4bool &incidentHasChanged, G4bool &targetHasChanged, G4bool quasiElastic)
 
void SetUpChange (G4FastVector< G4ReactionProduct, GHADLISTSIZE > &vec, G4int &vecLen, G4ReactionProduct &currentParticle, G4ReactionProduct &targetParticle, G4bool &incidentHasChanged)
 
void DoIsotopeCounting (const G4HadProjectile *theProjectile, const G4Nucleus &aNucleus)
 
G4IsoResultExtractResidualNucleus (const G4Nucleus &aNucleus)
 
- Protected Member Functions inherited from G4HadronicInteraction
void SetModelName (const G4String &nam)
 
G4bool IsBlocked () const
 
void Block ()
 
- Protected Attributes inherited from G4InelasticInteraction
G4bool isotopeProduction
 
G4ReactionDynamics theReactionDynamics
 
- Protected Attributes inherited from G4HadronicInteraction
G4HadFinalState theParticleChange
 
G4int verboseLevel
 
G4double theMinEnergy
 
G4double theMaxEnergy
 
G4bool isBlocked
 

Detailed Description

Definition at line 41 of file G4LEKaonZeroSInelastic.hh.

Constructor & Destructor Documentation

◆ G4LEKaonZeroSInelastic()

G4LEKaonZeroSInelastic::G4LEKaonZeroSInelastic ( )
inline

Definition at line 44 of file G4LEKaonZeroSInelastic.hh.

44 : G4InelasticInteraction("G4LEKaonZeroSInelastic")
45 {
46 SetMinEnergy(0.0);
47 SetMaxEnergy(25.*CLHEP::GeV);
48 G4cout << "WARNING: model G4LEKaonZeroSInelastic is being deprecated and will\n"
49 << "disappear in Geant4 version 10.0" << G4endl;
50 }
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)

◆ ~G4LEKaonZeroSInelastic()

virtual G4LEKaonZeroSInelastic::~G4LEKaonZeroSInelastic ( )
inlinevirtual

Definition at line 52 of file G4LEKaonZeroSInelastic.hh.

52{ }

Member Function Documentation

◆ ApplyYourself()

G4HadFinalState * G4LEKaonZeroSInelastic::ApplyYourself ( const G4HadProjectile aTrack,
G4Nucleus targetNucleus 
)
inlinevirtual

Implements G4HadronicInteraction.

Definition at line 54 of file G4LEKaonZeroSInelastic.hh.

55 {
56 if(G4UniformRand() < 0.50)
57 {
58 return theKaonZeroInelastic.ApplyYourself(aTrack, targetNucleus);
59 }
60 else
61 {
62 return theAntiKaonZeroInelastic.ApplyYourself(aTrack, targetNucleus);
63 }
64 }
#define G4UniformRand()
Definition: Randomize.hh:53
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)

◆ ModelDescription()

virtual void G4LEKaonZeroSInelastic::ModelDescription ( std::ostream &  outFile) const
inlinevirtual

Reimplemented from G4HadronicInteraction.

Definition at line 66 of file G4LEKaonZeroSInelastic.hh.

67 {
68 outFile << "G4LEKaonZeroSInelastic is one of the Low Energy\n"
69 << "Parameterized (LEP) models used to implement K0S\n"
70 << "scattering from nuclei. Upon interaction with a nucleus\n"
71 << "the K0S is treated as a K0 50% of the time and an antiK0\n"
72 << "50% of the time. Then the K0 or antiK0 interacts with the\n"
73 << "nucleus using the re-engineered GHEISHA code of\n"
74 << "H. Fesefeldt, which divides the initial collision products\n"
75 << "into backward- and forward-going clusters which are then\n"
76 << "decayed into final state hadrons. The model does not\n"
77 << "conserve energy or charge on an event-by-event basis. It\n"
78 << "may be applied to K0S with initial energies between 0 and\n"
79 << "25 GeV.\n";
80 }

The documentation for this class was generated from the following file: