00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 // G4 Gheisha High Energy model class -- header file 00029 // H. Fesefeldt, RWTH Aachen 23-October-1996 00030 // A prototype of the Gheisha High Energy collision model. 00031 00032 #ifndef G4LEKaonZeroLInelastic_h 00033 #define G4LEKaonZeroLInelastic_h 1 00034 00035 #include <CLHEP/Units/SystemOfUnits.h> 00036 00037 #include "G4LEKaonZeroInelastic.hh" 00038 #include "G4LEAntiKaonZeroInelastic.hh" 00039 #include "Randomize.hh" 00040 00041 class G4LEKaonZeroLInelastic : public G4InelasticInteraction 00042 { 00043 public: 00044 G4LEKaonZeroLInelastic() : 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 } 00051 00052 virtual ~G4LEKaonZeroLInelastic(){ } 00053 00054 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& targetNucleus) 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 } 00065 00066 G4LEKaonZeroInelastic theKaonZeroInelastic; 00067 G4LEAntiKaonZeroInelastic theAntiKaonZeroInelastic; 00068 00069 virtual void ModelDescription(std::ostream& outFile) const 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 } 00084 00085 }; 00086 #endif 00087 00088