- 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/G4NeutronElasticXS.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4NeutronElasticXS.hh,v 1. 3 2009/11/19 11:51:46 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4NeutronElasticXS.hh,v 1.6 2010/10/15 22:32:55 dennis Exp $ 27 // GEANT4 tag $Name: hadr-cross-V09-03-12 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 39 39 // 40 40 41 // Class Description: 42 // This is a base class for neutron elastic hadronic cross section based on 43 // data files from G4NEUTRONXSDATA data set 44 // Class Description - End 41 45 42 46 #ifndef G4NeutronElasticXS_h … … 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 G4NeutronElasticXS : public G4VCrossSectionDataSet … … 56 62 public: // With Description 57 63 58 G4int Z;59 64 G4NeutronElasticXS(); 60 65 61 66 virtual ~G4NeutronElasticXS(); 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 … … 80 83 void DumpPhysicsTable(const G4ParticleDefinition&); 81 84 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 85 private: 94 86 95 87 void Initialise(G4int Z, G4DynamicParticle* dp = 0, const char* = 0); … … 99 91 100 92 G4GlauberGribovCrossSection* ggXsection; 93 G4HadronNucleonXsc* fNucleon; 101 94 102 G4PhysicsVector* data[93]; 103 G4double coeff[93]; 95 const G4ParticleDefinition* proton; 96 97 std::vector<G4PhysicsVector*> data; 98 std::vector<G4double> coeff; 99 G4int maxZ; 104 100 105 101 G4bool isInitialized;
Note: See TracChangeset
for help on using the changeset viewer.