|
|
|||
Warning, file /include/Geant4/G4LENDManager.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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 G4LENDManager_h 0027 #define G4LENDManager_h 1 0028 0029 // Class Description 0030 // Manager of LEND (Low Energy Nuclear Data) target (nucleus) 0031 // LEND is Geant4 interface for GIDI (General Interaction Data Interface) 0032 // which gives a discription of nuclear and atomic reactions, such as 0033 // Binary collision cross sections 0034 // Particle number multiplicity distributions of reaction products 0035 // Energy and angular distributions of reaction products 0036 // Derived calculational constants 0037 // GIDI is developped at Lawrence Livermore National Laboratory 0038 // Class Description - End 0039 0040 // 071025 First implementation done by T. Koi (SLAC/SCCS) 0041 // 101118 Name modifications for release T. Koi (SLAC/PPA) 0042 0043 #include "G4LENDHeader.hh" 0044 #include "G4ParticleDefinition.hh" 0045 #include "G4NistElementBuilder.hh" 0046 #include "G4IonTable.hh" 0047 0048 #include <map> 0049 0050 struct lend_target 0051 { 0052 // properties for the traget 0053 G4GIDI* lend; 0054 G4GIDI_target* target; 0055 0056 G4ParticleDefinition* proj; 0057 G4int target_code; 0058 G4String evaluation; 0059 }; 0060 0061 0062 0063 class G4LENDManager 0064 { 0065 0066 static G4LENDManager* lend_manager; 0067 0068 //protected: 0069 private: 0070 G4LENDManager(); 0071 G4LENDManager( const G4LENDManager& ); 0072 G4LENDManager& operator=(const G4LENDManager&); 0073 0074 ~G4LENDManager(); 0075 0076 public: 0077 static G4LENDManager* GetInstance() 0078 { 0079 if ( lend_manager == NULL) lend_manager = new G4LENDManager(); 0080 return lend_manager; 0081 }; 0082 0083 G4GIDI_target* GetLENDTarget( G4ParticleDefinition* , const G4String& , G4int iZ , G4int iA , G4int iM = 0 ); 0084 std::vector< G4String > IsLENDTargetAvailable( G4ParticleDefinition* , G4int iZ , G4int iA , G4int iM = 0 ); 0085 G4int GetNucleusEncoding ( G4int iZ , G4int iA , G4int iM ); 0086 0087 G4NistElementBuilder* GetNistElementBuilder(){ return nistElementBuilder; }; 0088 0089 G4int GetVerboseLevel(){ return verboseLevel; }; 0090 G4bool RequestChangeOfVerboseLevel( G4int ); 0091 G4double GetExcitationEnergyOfExcitedIsomer( G4int , G4int , G4int ); 0092 0093 private: 0094 0095 G4int verboseLevel; 0096 0097 std::vector< lend_target > v_lend_target; 0098 0099 // proj 0100 std::map< G4ParticleDefinition* , G4GIDI* > proj_lend_map; 0101 0102 // std::map< G4ParticleDefinition* , std::vector< G4int > > proj_checked_map; 0103 0104 G4IonTable* ionTable; 0105 0106 G4NistElementBuilder* nistElementBuilder; 0107 0108 void printBanner(); 0109 0110 //nucleus code 0111 //of excited isomer target, excitation energy 0112 std::map< G4int , G4double > mExcitationEnergy; 0113 }; 0114 0115 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|