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