- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/stopping/src/G4KaonMinusAbsorption.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> … … 61 62 G4cout << GetProcessName() << " is created "<< G4endl; 62 63 } 63 64 SetProcessSubType(fHadronAtRest); 64 65 pv = new G4GHEKinematicsVector [MAX_SECONDARIES+1]; 65 66 eve = new G4GHEKinematicsVector [MAX_SECONDARIES]; 66 67 gkin = new G4GHEKinematicsVector [MAX_SECONDARIES]; 67 68 69 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this); 68 70 } 69 71 … … 72 74 G4KaonMinusAbsorption::~G4KaonMinusAbsorption() 73 75 { 76 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this); 74 77 delete [] pv; 75 78 delete [] eve; 76 79 delete [] gkin; 77 80 } 78 81 82 void G4KaonMinusAbsorption::PreparePhysicsTable(const G4ParticleDefinition& p) 83 { 84 G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p); 85 } 86 87 void G4KaonMinusAbsorption::BuildPhysicsTable(const G4ParticleDefinition& p) 88 { 89 G4HadronicProcessStore::Instance()->PrintInfo(&p); 90 } 79 91 80 92 // methods.............................................................................
Note: See TracChangeset
for help on using the changeset viewer.