Changeset 1007 for trunk/source/processes/hadronic/stopping
- Timestamp:
- Apr 20, 2009, 5:54:05 PM (15 years ago)
- Location:
- trunk/source/processes/hadronic/stopping
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/stopping/History
r962 r1007 14 14 * Please list in reverse chronological order (last date on top) 15 15 --------------------------------------------------------------- 16 17 02-Feb-2009 Vladimir Ivantchenko (hadr-stopping-V09-02-01)18 ----------------------------------------------------------19 - added registration/deregistration to all LHEP processes20 21 23-Jan-2009 Vladimir Ivantchenko (hadr-stopping-V09-02-00)22 ----------------------------------------------------------23 G4MuonMinusCaptureAtRest - added deregistration24 16 25 17 22-Oct-2008 Dennis Wright (hadr-stopping-V09-01-05) -
trunk/source/processes/hadronic/stopping/include/G4AntiNeutronAnnihilationAtRest.hh
r962 r1007 61 61 G4bool IsApplicable(const G4ParticleDefinition&); 62 62 63 void PreparePhysicsTable(const G4ParticleDefinition&); 64 65 void BuildPhysicsTable(const G4ParticleDefinition&); 63 // null physics table 64 void BuildPhysicsTable(const G4ParticleDefinition&){} 66 65 67 66 G4double AtRestGetPhysicalInteractionLength(const G4Track&, -
trunk/source/processes/hadronic/stopping/include/G4AntiProtonAnnihilationAtRest.hh
r962 r1007 61 61 G4bool IsApplicable(const G4ParticleDefinition&); 62 62 63 void PreparePhysicsTable(const G4ParticleDefinition&); 64 65 void BuildPhysicsTable(const G4ParticleDefinition&); 63 // null physics table 64 void BuildPhysicsTable(const G4ParticleDefinition&){} 66 65 67 66 G4double AtRestGetPhysicalInteractionLength(const G4Track&, -
trunk/source/processes/hadronic/stopping/include/G4KaonMinusAbsorption.hh
r962 r1007 62 62 G4bool IsApplicable(const G4ParticleDefinition&); 63 63 64 void PreparePhysicsTable(const G4ParticleDefinition&); 65 66 void BuildPhysicsTable(const G4ParticleDefinition&); 64 // null physics table 65 void BuildPhysicsTable(const G4ParticleDefinition&){} 67 66 68 67 G4double AtRestGetPhysicalInteractionLength(const G4Track&, -
trunk/source/processes/hadronic/stopping/include/G4KaonMinusAbsorptionAtRest.hh
r962 r1007 69 69 return( particle == *(G4KaonMinus::KaonMinus()) ); 70 70 } 71 72 void PreparePhysicsTable(const G4ParticleDefinition&);73 74 void BuildPhysicsTable(const G4ParticleDefinition&);75 71 76 72 // the main method ... -
trunk/source/processes/hadronic/stopping/include/G4MuMinusCaptureCascade.hh
r962 r1007 25 25 // 26 26 // $Id: G4MuMinusCaptureCascade.hh,v 1.10 2007/07/05 18:19:14 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02 -ref-02$27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // G4MuMinusCaptureCascade physics process -------- -
trunk/source/processes/hadronic/stopping/include/G4MuonMinusCaptureAtRest.hh
r962 r1007 25 25 // 26 26 // $Id: G4MuonMinusCaptureAtRest.hh,v 1.23 2008/10/02 20:57:52 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02 -ref-02$27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // G4MuonMinusCaptureAtRest physics process -
trunk/source/processes/hadronic/stopping/include/G4NeutronCaptureAtRest.hh
r962 r1007 62 62 G4bool IsApplicable(const G4ParticleDefinition&); 63 63 64 void PreparePhysicsTable(const G4ParticleDefinition&);65 66 64 // null physics table 67 void BuildPhysicsTable(const G4ParticleDefinition&) ;65 void BuildPhysicsTable(const G4ParticleDefinition&){} 68 66 69 67 G4double AtRestGetPhysicalInteractionLength(const G4Track&, -
trunk/source/processes/hadronic/stopping/include/G4PiMinusAbsorptionAtRest.hh
r962 r1007 75 75 { return ( particle == *(G4PionMinus::PionMinus()) ); } 76 76 77 void PreparePhysicsTable(const G4ParticleDefinition&);78 79 void BuildPhysicsTable(const G4ParticleDefinition&);80 81 77 G4VParticleChange* AtRestDoIt(const G4Track& aTrack, const G4Step& aStep); 82 78 -
trunk/source/processes/hadronic/stopping/include/G4PionMinusAbsorptionAtRest.hh
r962 r1007 61 61 G4bool IsApplicable(const G4ParticleDefinition&); 62 62 63 void PreparePhysicsTable(const G4ParticleDefinition&);64 65 63 // null physics table 66 void BuildPhysicsTable(const G4ParticleDefinition&) ;64 void BuildPhysicsTable(const G4ParticleDefinition&){} 67 65 68 66 G4double AtRestGetPhysicalInteractionLength(const G4Track&, -
trunk/source/processes/hadronic/stopping/include/G4StopElementSelector.hh
r962 r1007 25 25 // 26 26 // $Id: G4StopElementSelector.hh,v 1.10 2007/07/05 18:19:14 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-02 -ref-02$27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // Author: V.Ivanchenko (Vladimir.Ivantchenko@cern.ch) -
trunk/source/processes/hadronic/stopping/src/G4AntiNeutronAnnihilationAtRest.cc
r962 r1007 31 31 #include "G4DynamicParticle.hh" 32 32 #include "G4ParticleTypes.hh" 33 #include "G4HadronicProcessStore.hh"34 33 #include "Randomize.hh" 35 34 #include <string.h> … … 69 68 gkin = new G4GHEKinematicsVector [MAX_SECONDARIES]; 70 69 71 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);72 70 } 73 71 … … 76 74 G4AntiNeutronAnnihilationAtRest::~G4AntiNeutronAnnihilationAtRest() 77 75 { 78 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);79 76 delete [] pv; 80 77 delete [] eve; … … 82 79 } 83 80 84 void G4AntiNeutronAnnihilationAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)85 {86 G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);87 }88 89 void G4AntiNeutronAnnihilationAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)90 {91 G4HadronicProcessStore::Instance()->PrintInfo(&p);92 }93 81 94 82 // methods............................................................................. … … 101 89 102 90 } 103 91 104 92 // Warning - this method may be optimized away if made "inline" 105 93 G4int G4AntiNeutronAnnihilationAtRest::GetNumberOfSecondaries() -
trunk/source/processes/hadronic/stopping/src/G4AntiProtonAnnihilationAtRest.cc
r962 r1007 32 32 #include "G4ParticleTypes.hh" 33 33 #include "Randomize.hh" 34 #include "G4HadronicProcessStore.hh"35 34 #include <string.h> 36 35 #include <cmath> … … 69 68 gkin = new G4GHEKinematicsVector [MAX_SECONDARIES]; 70 69 71 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);72 70 } 73 71 … … 76 74 G4AntiProtonAnnihilationAtRest::~G4AntiProtonAnnihilationAtRest() 77 75 { 78 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);79 76 delete [] pv; 80 77 delete [] eve; … … 82 79 } 83 80 84 void G4AntiProtonAnnihilationAtRest::PreparePhysicsTable(const G4ParticleDefinition& p)85 {86 G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p);87 }88 89 void G4AntiProtonAnnihilationAtRest::BuildPhysicsTable(const G4ParticleDefinition& p)90 {91 G4HadronicProcessStore::Instance()->PrintInfo(&p);92 }93 81 94 82 // methods............................................................................. -
trunk/source/processes/hadronic/stopping/src/G4KaonMinusAbsorption.cc
r962 r1007 32 32 #include "G4ParticleTypes.hh" 33 33 #include "Randomize.hh" 34 #include "G4HadronicProcessStore.hh"35 34 #include <string.h> 36 35 #include <cmath> … … 67 66 gkin = new G4GHEKinematicsVector [MAX_SECONDARIES]; 68 67 69 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);70 68 } 71 69 … … 74 72 G4KaonMinusAbsorption::~G4KaonMinusAbsorption() 75 73 { 76 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);77 74 delete [] pv; 78 75 delete [] eve; 79 76 delete [] gkin; 80 77 } 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 } 78 91 79 92 80 // methods............................................................................. -
trunk/source/processes/hadronic/stopping/src/G4KaonMinusAbsorptionAtRest.cc
r962 r1007 43 43 #include "G4StopDeexcitationAlgorithm.hh" 44 44 #include "G4ReactionKinematics.hh" 45 #include "G4HadronicProcessStore.hh"46 45 47 46 G4KaonMinusAbsorptionAtRest::G4KaonMinusAbsorptionAtRest(const G4String& processName, … … 81 80 sigmaMinusLambdaConversionRate = 0.55; 82 81 sigmaZeroLambdaConversionRate = 0.55; 83 84 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);85 82 } 86 83 87 84 88 85 G4KaonMinusAbsorptionAtRest::~G4KaonMinusAbsorptionAtRest() 89 { 90 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this); 91 } 92 93 void G4KaonMinusAbsorptionAtRest::PreparePhysicsTable(const G4ParticleDefinition& p) 94 { 95 G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p); 96 } 97 98 void G4KaonMinusAbsorptionAtRest::BuildPhysicsTable(const G4ParticleDefinition& p) 99 { 100 G4HadronicProcessStore::Instance()->PrintInfo(&p); 101 } 86 { } 87 102 88 103 89 G4VParticleChange* G4KaonMinusAbsorptionAtRest::AtRestDoIt -
trunk/source/processes/hadronic/stopping/src/G4MuMinusCaptureCascade.cc
r962 r1007 25 25 // 26 26 // $Id: G4MuMinusCaptureCascade.cc,v 1.16 2008/05/05 09:09:06 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 -ref-02$27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // G4MuonMinusCaptureAtRest physics process -
trunk/source/processes/hadronic/stopping/src/G4MuonMinusCaptureAtRest.cc
r962 r1007 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4MuonMinusCaptureAtRest.cc,v 1.5 4 2009/01/24 11:55:38 vnivanchExp $27 // GEANT4 tag $Name: geant4-09-02 -ref-02$26 // $Id: G4MuonMinusCaptureAtRest.cc,v 1.53 2008/10/02 20:57:52 dennis Exp $ 27 // GEANT4 tag $Name: geant4-09-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 deregistration41 40 // 42 41 //----------------------------------------------------------------------------- … … 76 75 G4MuonMinusCaptureAtRest::~G4MuonMinusCaptureAtRest() 77 76 { 78 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);79 77 delete [] Cascade; 80 78 delete pSelector; -
trunk/source/processes/hadronic/stopping/src/G4NeutronCaptureAtRest.cc
r962 r1007 32 32 #include "G4ParticleTypes.hh" 33 33 #include "Randomize.hh" 34 #include "G4HadronicProcessStore.hh"35 34 #include <string.h> 36 35 #include <cmath> … … 60 59 gkin = new G4GHEKinematicsVector [MAX_SECONDARIES]; 61 60 62 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);63 61 } 64 62 … … 67 65 G4NeutronCaptureAtRest::~G4NeutronCaptureAtRest() 68 66 { 69 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);70 67 delete [] pv; 71 68 delete [] eve; … … 73 70 } 74 71 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 }84 72 85 73 // methods............................................................................. -
trunk/source/processes/hadronic/stopping/src/G4PiMinusAbsorptionAtRest.cc
r962 r1007 57 57 #include "G4ThreeVector.hh" 58 58 #include "G4LorentzVector.hh" 59 #include "G4HadronicProcessStore.hh"60 59 61 60 // Constructor … … 71 70 if (verboseLevel>0) 72 71 { G4cout << GetProcessName() << " is created "<< G4endl; } 73 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);74 72 } 75 73 … … 78 76 79 77 G4PiMinusAbsorptionAtRest::~G4PiMinusAbsorptionAtRest() 80 { 81 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this); 82 } 83 84 void G4PiMinusAbsorptionAtRest::PreparePhysicsTable(const G4ParticleDefinition& p) 85 { 86 G4HadronicProcessStore::Instance()->RegisterParticleForExtraProcess(this, &p); 87 } 88 89 void G4PiMinusAbsorptionAtRest::BuildPhysicsTable(const G4ParticleDefinition& p) 90 { 91 G4HadronicProcessStore::Instance()->PrintInfo(&p); 92 } 78 {} 79 93 80 94 81 G4VParticleChange* G4PiMinusAbsorptionAtRest::AtRestDoIt(const G4Track& track, const G4Step& ) -
trunk/source/processes/hadronic/stopping/src/G4PionMinusAbsorptionAtRest.cc
r962 r1007 32 32 #include "G4ParticleTypes.hh" 33 33 #include "Randomize.hh" 34 #include "G4HadronicProcessStore.hh"35 34 #include <string.h> 36 35 #include <cmath> … … 62 61 gkin = new G4GHEKinematicsVector [MAX_SECONDARIES]; 63 62 64 G4HadronicProcessStore::Instance()->RegisterExtraProcess(this);65 63 } 66 64 … … 69 67 G4PionMinusAbsorptionAtRest::~G4PionMinusAbsorptionAtRest() 70 68 { 71 G4HadronicProcessStore::Instance()->DeRegisterExtraProcess(this);72 69 delete [] pv; 73 70 delete [] eve; … … 75 72 } 76 73 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 }86 74 87 75 // methods............................................................................. -
trunk/source/processes/hadronic/stopping/src/G4StopElementSelector.cc
r962 r1007 25 25 // 26 26 // $Id: G4StopElementSelector.cc,v 1.16 2007/10/02 18:27:43 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02 -ref-02$27 // GEANT4 tag $Name: geant4-09-02 $ 28 28 // 29 29 // File: G4StopElementSelector
Note: See TracChangeset
for help on using the changeset viewer.