#include <G4LEKaonZeroLInelastic.hh>
Inheritance diagram for G4LEKaonZeroLInelastic:
Public Member Functions | |
G4LEKaonZeroLInelastic () | |
virtual | ~G4LEKaonZeroLInelastic () |
G4HadFinalState * | ApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus) |
virtual void | ModelDescription (std::ostream &outFile) const |
Data Fields | |
G4LEKaonZeroInelastic | theKaonZeroInelastic |
G4LEAntiKaonZeroInelastic | theAntiKaonZeroInelastic |
Definition at line 41 of file G4LEKaonZeroLInelastic.hh.
G4LEKaonZeroLInelastic::G4LEKaonZeroLInelastic | ( | ) | [inline] |
Definition at line 44 of file G4LEKaonZeroLInelastic.hh.
References G4cout, G4endl, G4HadronicInteraction::SetMaxEnergy(), and G4HadronicInteraction::SetMinEnergy().
00044 : G4InelasticInteraction("G4LEKaonZeroLInelastic") 00045 { 00046 SetMinEnergy(0.0); 00047 SetMaxEnergy(25.*CLHEP::GeV); 00048 G4cout << "WARNING: model G4LEKaonZeroLInelastic is being deprecated and will\n" 00049 << "disappear in Geant4 version 10.0" << G4endl; 00050 }
virtual G4LEKaonZeroLInelastic::~G4LEKaonZeroLInelastic | ( | ) | [inline, virtual] |
G4HadFinalState* G4LEKaonZeroLInelastic::ApplyYourself | ( | const G4HadProjectile & | aTrack, | |
G4Nucleus & | targetNucleus | |||
) | [inline, virtual] |
Implements G4HadronicInteraction.
Definition at line 54 of file G4LEKaonZeroLInelastic.hh.
References G4LEAntiKaonZeroInelastic::ApplyYourself(), G4LEKaonZeroInelastic::ApplyYourself(), G4UniformRand, theAntiKaonZeroInelastic, and theKaonZeroInelastic.
00055 { 00056 if(G4UniformRand() < 0.50) 00057 { 00058 return theKaonZeroInelastic.ApplyYourself(aTrack, targetNucleus); 00059 } 00060 else 00061 { 00062 return theAntiKaonZeroInelastic.ApplyYourself(aTrack, targetNucleus); 00063 } 00064 }
virtual void G4LEKaonZeroLInelastic::ModelDescription | ( | std::ostream & | outFile | ) | const [inline, virtual] |
Reimplemented from G4HadronicInteraction.
Definition at line 69 of file G4LEKaonZeroLInelastic.hh.
00070 { 00071 outFile << "G4LEKaonZeroLInelastic is one of the Low Energy\n" 00072 << "Parameterized (LEP) models used to implement K0L\n" 00073 << "scattering from nuclei. Upon interaction with a nucleus\n" 00074 << "the K0L is treated as a K0 50% of the time and an antiK0\n" 00075 << "50% of the time. Then the K0 or antiK0 interacts with the\n" 00076 << "nucleus using the re-engineered GHEISHA code of\n" 00077 << "H. Fesefeldt, which divides the initial collision products\n" 00078 << "into backward- and forward-going clusters which are then\n" 00079 << "decayed into final state hadrons. The model does not\n" 00080 << "conserve energy or charge on an event-by-event basis. It\n" 00081 << "may be applied to K0Ls with initial energies between 0 and\n" 00082 << "25 GeV.\n"; 00083 }