Changeset 962 for trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4PreCompoundNeutron.hh
- Timestamp:
- Apr 6, 2009, 12:30:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4PreCompoundNeutron.hh
r819 r962 25 25 // 26 26 // 27 // $Id: G4PreCompoundNeutron.hh,v 1.7 2007/10/01 10:42:00 ahoward Exp $ 28 // GEANT4 tag $Name: $ 29 // 30 // by V. Lara 27 //J. M. Quesada (July 08) 31 28 32 29 … … 39 36 #include "G4PreCompoundParameters.hh" 40 37 #include "Randomize.hh" 41 42 38 #include "G4NeutronCoulombBarrier.hh" 43 39 … … 47 43 public: 48 44 // default constructor 49 G4PreCompoundNeutron() : G4PreCompoundNucleon(1,0,&theNeutronCoulom Barrier,"Neutron") {}45 G4PreCompoundNeutron() : G4PreCompoundNucleon(1,0,&theNeutronCoulombBarrier,"Neutron") {} 50 46 51 47 // copy constructor … … 68 64 69 65 70 G4ReactionProduct * GetReactionProduct() const 71 { 72 G4ReactionProduct * theReactionProduct = 73 new G4ReactionProduct(G4Neutron::NeutronDefinition()); 74 theReactionProduct->SetMomentum(GetMomentum().vect()); 75 theReactionProduct->SetTotalEnergy(GetMomentum().e()); 76 #ifdef PRECOMPOUND_TEST 77 theReactionProduct->SetCreatorModel("G4PrecompoundModel"); 78 #endif 79 return theReactionProduct; 80 } 66 G4ReactionProduct * GetReactionProduct() const; 81 67 82 68 private: 83 69 84 // added Rj method according to literature and JMQ - formula from Jose Quesada 85 virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged) 86 { 87 G4double rj = 1.0; 88 if(NumberParticles != 0) rj = static_cast<G4double>(NumberParticles - NumberCharged)/static_cast<G4double>(NumberParticles); 89 return rj; 90 } 70 virtual G4double GetRj(const G4int NumberParticles, const G4int NumberCharged); 71 72 virtual G4double CrossSection(const G4double K); 91 73 92 74 93 virtual G4double GetAlpha()94 {95 return 0.76+2.2/std::pow(GetRestA(),1.0/3.0);96 } 75 G4double GetOpt0(const G4double K); 76 G4double GetOpt12(const G4double K); 77 G4double GetOpt34(const G4double K); 78 97 79 98 virtual G4double GetBeta() 99 { 100 return (2.12/std::pow(GetRestA(),2.0/3.0)-0.05)*MeV/GetAlpha(); 101 } 80 G4double GetAlpha(); 102 81 103 virtual G4bool IsItPossible(const G4Fragment& aFragment) 104 { 105 return ((aFragment.GetNumberOfParticles()-aFragment.GetNumberOfCharged()) >= 1); 106 } 82 G4double GetBeta(); 107 83 84 //data members 108 85 109 private: 110 111 G4NeutronCoulombBarrier theNeutronCoulomBarrier; 86 G4NeutronCoulombBarrier theNeutronCoulombBarrier; 87 G4double ResidualA; 88 G4double ResidualZ; 89 G4double theA; 90 G4double theZ; 91 G4double ResidualAthrd; 92 G4double FragmentA; 93 G4double FragmentAthrd; 112 94 95 113 96 }; 114 97 98 115 99 #endif 116 100
Note: See TracChangeset
for help on using the changeset viewer.