- 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/G4NeutronCaptureXS.hh
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4NeutronCaptureXS.hh,v 1. 1 2009/11/12 00:36:01 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4NeutronCaptureXS.hh,v 1.4 2010/10/15 22:32:40 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 radiative capture cross section based on 43 // data files from G4NEUTRONXSDATA data set 44 // Class Description - End 40 45 41 42 46 #ifndef G4NeutronCaptureXS_h 43 47 #define G4NeutronCaptureXS_h 1 … … 45 49 #include "G4VCrossSectionDataSet.hh" 46 50 #include "globals.hh" 51 #include <vector> 47 52 48 53 class G4DynamicParticle; … … 55 60 public: // With Description 56 61 57 G4int Z;58 62 G4NeutronCaptureXS(); 59 63 60 64 virtual ~G4NeutronCaptureXS(); 61 65 62 // The following methods need to be implemented for each new data set.63 66 virtual 64 67 G4bool IsApplicable(const G4DynamicParticle*, const G4Element*); 65 68 66 69 virtual 67 G4bool IsZAApplicable(const G4DynamicParticle*, 68 G4double /*Z*/, G4double /*A*/); 70 G4bool IsIsoApplicable(const G4DynamicParticle*, G4int /*Z*/, G4int /*A*/); 69 71 70 72 virtual … … 79 81 void DumpPhysicsTable(const G4ParticleDefinition&); 80 82 81 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 83 private: 94 84 95 85 void Initialise(G4int Z, const char* = 0); … … 98 88 G4NeutronCaptureXS(const G4NeutronCaptureXS&); 99 89 100 G4double emax; 101 G4PhysicsVector* data[93]; 90 G4double emax; 91 G4int maxZ; 92 std::vector<G4PhysicsVector*> data; 102 93 103 94 G4bool isInitialized;
Note: See TracChangeset
for help on using the changeset viewer.