G4LENDModel.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 #ifndef G4LENDModel_h
00027 #define G4LENDModel_h 1
00028 
00029 // Class Description
00030 // Final state production model for a LEND (Low Energy Nuclear Data) 
00031 // LEND is Geant4 interface for GIDI (General Interaction Data Interface) 
00032 // which gives a discription of nuclear and atomic reactions, such as
00033 //    Binary collision cross sections
00034 //    Particle number multiplicity distributions of reaction products
00035 //    Energy and angular distributions of reaction products
00036 //    Derived calculational constants
00037 // LEND is developped at Lawrence Livermore National Laboratory
00038 // Class Description - End
00039 
00040 // 071025 First implementation done by T. Koi (SLAC/SCCS)
00041 // 101118 Name modifications for release T. Koi (SLAC/PPA)
00042 
00043 #include "G4LENDHeader.hh"
00044 #include "G4LENDManager.hh"
00045 #include "G4LENDUsedTarget.hh"
00046 #include "G4HadronicInteraction.hh"
00047 #include "globals.hh"
00048 
00049 class G4LENDModel : public G4HadronicInteraction
00050 {
00051 
00052    public: 
00053   
00054       //G4LENDModel();
00055       G4LENDModel( G4String name="LENDModel" );
00056       ~G4LENDModel();
00057   
00058       virtual G4HadFinalState * ApplyYourself( const G4HadProjectile& aTrack, G4Nucleus& aTargetNucleus );
00059 
00060       void ChangeDefaultEvaluation( G4String name ){ default_evaluation = name; recreate_used_target_map(); };
00061       void AllowNaturalAbundanceTarget(){ allow_nat = true; recreate_used_target_map(); };
00062       void AllowAnyCandidateTarget(){ allow_any = true; recreate_used_target_map(); };
00063       //Same argument to the CrossSectionDataSet 
00064       void BuildPhysicsTable( const G4ParticleDefinition& ){ recreate_used_target_map(); };
00065 
00066    private:
00067 
00068       G4String default_evaluation;
00069       G4bool allow_nat;
00070       G4bool allow_any;
00071 
00072    protected:
00073 
00074       void create_used_target_map();
00075       void recreate_used_target_map();
00076 
00077       G4ParticleDefinition* proj;
00078       G4LENDManager* lend_manager;
00079       std::map< G4int , G4LENDUsedTarget* > usedTarget_map;
00080 };
00081 
00082 #endif

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