- Timestamp:
- Apr 6, 2009, 12:30:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/stopping/src/G4MuonMinusCaptureAtRest.cc
r819 r962 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4MuonMinusCaptureAtRest.cc,v 1. 48 2007/11/19 16:49:25vnivanch Exp $27 // GEANT4 tag $Name: $26 // $Id: G4MuonMinusCaptureAtRest.cc,v 1.54 2009/01/24 11:55:38 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // G4MuonMinusCaptureAtRest physics process … … 33 33 // 34 34 // Modifications: 35 // 18/08/2000 V.Ivanchenko Update description 35 // 18/08/2000 V.Ivanchenko Update description 36 36 // 12/12/2003 H.P.Wellisch Completly rewrite mu-nuclear part 37 37 // 17/05/2006 V.Ivanchenko Cleanup 38 38 // 15/11/2006 V.Ivanchenko Review and rewrite all kinematics 39 39 // 24/01/2007 V.Ivanchenko Force to work with integer Z and A 40 // 23/01/2009 V.Ivanchenko Add deregistration 40 41 // 41 42 //----------------------------------------------------------------------------- … … 53 54 #include "G4Fancy3DNucleus.hh" 54 55 #include "G4ExcitationHandler.hh" 56 #include "G4HadronicProcessStore.hh" 55 57 56 58 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... … … 61 63 isInitialised(false) 62 64 { 65 SetProcessSubType(fHadronAtRest); 63 66 Cascade = new G4GHEKinematicsVector [17]; 64 67 pSelector = new G4StopElementSelector(); … … 66 69 theN = new G4Fancy3DNucleus(); 67 70 theHandler = new G4ExcitationHandler(); 71 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this); 68 72 } 69 73 … … 72 76 G4MuonMinusCaptureAtRest::~G4MuonMinusCaptureAtRest() 73 77 { 78 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this); 74 79 delete [] Cascade; 75 80 delete pSelector; … … 84 89 { 85 90 return ( &p == G4MuonMinus::MuonMinus() ); 91 } 92 93 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 94 95 void G4MuonMinusCaptureAtRest::PreparePhysicsTable(const G4ParticleDefinition& p) 96 { 97 G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p); 98 } 99 100 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 101 102 void G4MuonMinusCaptureAtRest::BuildPhysicsTable(const G4ParticleDefinition& p) 103 { 104 G4HadronicProcessStore::Instance()->PrintInfo(&p); 86 105 } 87 106
Note: See TracChangeset
for help on using the changeset viewer.