Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:34

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 #ifndef G4LENDInelastic_h
0027 #define G4LENDInelastic_h 1
0028 
0029 // Class Description
0030 // LEND is Geant4 interface for GIDI (General Interaction Data Interface) 
0031 // which gives a discription of nuclear and atomic reactions, such as
0032 //    Binary collision cross sections
0033 //    Particle number multiplicity distributions of reaction products
0034 //    Energy and angular distributions of reaction products
0035 //    Derived calculational constants
0036 // GIDI is developped at Lawrence Livermore National Laboratory
0037 // Class Description - End
0038 
0039 // 071025 First implementation done by T. Koi (SLAC/SCCS)
0040 // 101118 Name modifications for release T. Koi (SLAC/PPA)
0041 
0042 #include "G4LENDModel.hh"
0043 
0044 #include "G4PreCompoundModel.hh"
0045 #include "G4HadronicInteractionRegistry.hh"
0046 
0047 class G4LENDInelastic : public G4LENDModel
0048 {
0049 
0050    public: 
0051   
0052      G4LENDInelastic( G4ParticleDefinition* pd )
0053      :G4LENDModel( "LENDInelastic" ) 
0054      { 
0055         proj = pd; 
0056        
0057 //        theModelName = "LENDInelastic for "; 
0058 //        theModelName += proj->GetParticleName(); 
0059         create_used_target_map();
0060 
0061         G4HadronicInteraction* p =
0062     G4HadronicInteractionRegistry::Instance()->FindModel("PRECO");
0063         G4VPreCompoundModel* pre = static_cast<G4VPreCompoundModel*>(p);
0064         if(!pre) { pre = new G4PreCompoundModel(); }
0065         preco = pre;
0066      };
0067   
0068      ~G4LENDInelastic(){;};
0069   
0070      G4HadFinalState* ApplyYourself( const G4HadProjectile& aTrack, G4Nucleus& aTargetNucleus );
0071 
0072    private:
0073       G4VPreCompoundModel* preco;
0074 
0075 };
0076 
0077 #endif