G4HEKaonZeroShortInelastic.hh

Go to the documentation of this file.
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 //
00029 // G4 Gheisha High Energy model class -- header file
00030 // H. Fesefeldt, RWTH Aachen 23-October-1996
00031 // New version to fix segmentation faults
00032 // D,H, Wright (SLAC) 21-January-2010
00033 
00034 #ifndef G4HEKaonZeroShortInelastic_h
00035 #define G4HEKaonZeroShortInelastic_h 1
00036 
00037 // Class description:
00038 // High energy parameterized model for K0S inelastic scattering.  This
00039 // class is responsible for producing the final state of the interaction and
00040 // is typically valid for incident K0S energies above 20 GeV.  This
00041 // physics may be invoked by registering an instance of the class with
00042 // G4KaonZeroSInelasticProcess in the user's physics list.
00043 //
00044 // This class is derived from G4HEInelastic which in turn is derived from
00045 // G4HadronicInteraction.
00046 
00047 // Class Description - End
00048 
00049 #include <CLHEP/Units/SystemOfUnits.h>
00050 
00051 #include "G4HEInelastic.hh"
00052 
00053 class G4HEKaonZeroShortInelastic : public G4HEInelastic  
00054 {
00055   public:  // with description
00056     G4HEKaonZeroShortInelastic() : G4HEInelastic("G4HEKaonZeroShortInelastic") 
00057     {
00058       theMinEnergy = 20*CLHEP::GeV;
00059       theMaxEnergy = 10*CLHEP::TeV;
00060       MAXPART      = 2048;
00061       verboseLevel = 0; 
00062       G4cout << "WARNING: model G4HEKaonZeroShortInelastic is being deprecated and will\n"
00063              << "disappear in Geant4 version 10.0"  << G4endl;  
00064     }
00065 
00066     ~G4HEKaonZeroShortInelastic() {};
00067 
00068     virtual void ModelDescription(std::ostream&) const;
00069          
00070     G4int vecLength;
00071 
00072     G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
00073                                    G4Nucleus& targetNucleus);
00074 
00075     G4int GetNumberOfSecondaries()
00076          { return vecLength;};           
00077 
00078     void FirstIntInCasKaonZero(G4bool& inElastic,
00079                                const G4double availableEnergy,
00080                                G4HEVector pv[],
00081                                G4int& vecLen,
00082                                const G4HEVector& incidentParticle,
00083                                const G4HEVector& targetParticle,
00084                                const G4double atomicWeight);
00085 
00086     void FirstIntInCasAntiKaonZero(G4bool& inElastic,
00087                                    const G4double availableEnergy,
00088                                    G4HEVector pv[],
00089                                    G4int& vecLen,
00090                                    const G4HEVector& incidentParticle,
00091                                    const G4HEVector& targetParticle);
00092 };
00093 #endif
00094 

Generated on Mon May 27 17:48:29 2013 for Geant4 by  doxygen 1.4.7