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