- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/cross_sections/include/G4NeutronInelasticXS.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4NeutronInelasticXS.hh,v 1. 3 2009/11/19 11:52:27 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4NeutronInelasticXS.hh,v 1.6 2010/10/15 22:33:22 dennis Exp $ 27 // GEANT4 tag $Name: hadr-cross-V09-03-12 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 38 38 // Modifications: 39 39 // 40 41 // Class Description: 42 // This is a base class for neutron inelastic hadronic cross section based on 43 // data files from G4NEUTRONXSDATA data set 44 // Class Description - End 40 45 41 42 46 #ifndef G4NeutronInelasticXS_h 43 47 #define G4NeutronInelasticXS_h 1 … … 45 49 #include "G4VCrossSectionDataSet.hh" 46 50 #include "globals.hh" 51 #include <vector> 47 52 48 53 class G4DynamicParticle; … … 51 56 class G4PhysicsVector; 52 57 class G4GlauberGribovCrossSection; 58 class G4HadronNucleonXsc; 53 59 54 60 class G4NeutronInelasticXS : public G4VCrossSectionDataSet 55 61 { 56 public: // With Description62 public: 57 63 58 G4int Z;59 64 G4NeutronInelasticXS(); 60 65 61 66 virtual ~G4NeutronInelasticXS(); 62 67 63 // The following methods need to be implemented for each new data set.64 68 virtual 65 69 G4bool IsApplicable(const G4DynamicParticle*, const G4Element*); 66 70 67 71 virtual 68 G4bool IsZAApplicable(const G4DynamicParticle*, 69 G4double /*Z*/, G4double /*A*/); 72 G4bool IsIsoApplicable(const G4DynamicParticle*, G4int /*Z*/, G4int /*A*/); 70 73 71 74 virtual 72 G4double GetCrossSection(const G4DynamicParticle*, 73 const G4Element*, 75 G4double GetCrossSection(const G4DynamicParticle*, const G4Element*, 74 76 G4double aTemperature = 0.); 75 77 … … 80 82 void DumpPhysicsTable(const G4ParticleDefinition&); 81 83 82 public: // Without Description 83 84 inline void SetVerboseLevel(G4int value) 85 { 86 verboseLevel = value; 87 } 88 inline G4int GetVerboseLevel() 89 { 90 return verboseLevel; 91 } 92 93 private: // Without Description 84 private: 94 85 95 86 void Initialise(G4int Z, G4DynamicParticle* dp = 0, const char* = 0); … … 99 90 100 91 G4GlauberGribovCrossSection* ggXsection; 92 G4HadronNucleonXsc* fNucleon; 101 93 102 G4PhysicsVector* data[93]; 103 G4double coeff[93]; 94 const G4ParticleDefinition* proton; 95 96 std::vector<G4PhysicsVector*> data; 97 std::vector<G4double> coeff; 98 G4int maxZ; 104 99 105 100 G4bool isInitialized;
Note: See TracChangeset
for help on using the changeset viewer.