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

#include <G4LEKaonZeroLInelastic.hh>

+ Inheritance diagram for G4LEKaonZeroLInelastic:

Public Member Functions

 G4LEKaonZeroLInelastic ()
 
virtual ~G4LEKaonZeroLInelastic ()
 
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
 

Public Attributes

G4LEKaonZeroInelastic theKaonZeroInelastic
 
G4LEAntiKaonZeroInelastic theAntiKaonZeroInelastic
 

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 G4LEKaonZeroLInelastic.hh.

Constructor & Destructor Documentation

◆ G4LEKaonZeroLInelastic()

G4LEKaonZeroLInelastic::G4LEKaonZeroLInelastic ( )
inline

Definition at line 44 of file G4LEKaonZeroLInelastic.hh.

44 : G4InelasticInteraction("G4LEKaonZeroLInelastic")
45 {
46 SetMinEnergy(0.0);
47 SetMaxEnergy(25.*CLHEP::GeV);
48 G4cout << "WARNING: model G4LEKaonZeroLInelastic 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)

◆ ~G4LEKaonZeroLInelastic()

virtual G4LEKaonZeroLInelastic::~G4LEKaonZeroLInelastic ( )
inlinevirtual

Definition at line 52 of file G4LEKaonZeroLInelastic.hh.

52{ }

Member Function Documentation

◆ ApplyYourself()

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

Implements G4HadronicInteraction.

Definition at line 54 of file G4LEKaonZeroLInelastic.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)
G4LEKaonZeroInelastic theKaonZeroInelastic
G4LEAntiKaonZeroInelastic theAntiKaonZeroInelastic

◆ ModelDescription()

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

Reimplemented from G4HadronicInteraction.

Definition at line 69 of file G4LEKaonZeroLInelastic.hh.

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

Member Data Documentation

◆ theAntiKaonZeroInelastic

G4LEAntiKaonZeroInelastic G4LEKaonZeroLInelastic::theAntiKaonZeroInelastic

Definition at line 67 of file G4LEKaonZeroLInelastic.hh.

Referenced by ApplyYourself().

◆ theKaonZeroInelastic

G4LEKaonZeroInelastic G4LEKaonZeroLInelastic::theKaonZeroInelastic

Definition at line 66 of file G4LEKaonZeroLInelastic.hh.

Referenced by ApplyYourself().


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