- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/stopping/src/G4NeutronCaptureAtRest.cc
r819 r962 32 32 #include "G4ParticleTypes.hh" 33 33 #include "Randomize.hh" 34 #include "G4HadronicProcessStore.hh" 34 35 #include <string.h> 35 36 #include <cmath> … … 54 55 G4cout << GetProcessName() << " is created "<< G4endl; 55 56 } 56 57 SetProcessSubType(fHadronAtRest); 57 58 pv = new G4GHEKinematicsVector [MAX_SECONDARIES+1]; 58 59 eve = new G4GHEKinematicsVector [MAX_SECONDARIES]; 59 60 gkin = new G4GHEKinematicsVector [MAX_SECONDARIES]; 60 61 62 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this); 61 63 } 62 64 … … 65 67 G4NeutronCaptureAtRest::~G4NeutronCaptureAtRest() 66 68 { 69 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this); 67 70 delete [] pv; 68 71 delete [] eve; … … 70 73 } 71 74 75 void G4NeutronCaptureAtRest::PreparePhysicsTable(const G4ParticleDefinition& p) 76 { 77 G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p); 78 } 79 80 void G4NeutronCaptureAtRest::BuildPhysicsTable(const G4ParticleDefinition& p) 81 { 82 G4HadronicProcessStore::Instance()->PrintInfo(&p); 83 } 72 84 73 85 // methods.............................................................................
Note: See TracChangeset
for help on using the changeset viewer.