Geant4-11
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4EvaporationChannel.cc
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//J.M. Quesada (August2008). Based on:
27//
28// Hadronic Process: Nuclear De-excitations
29// by V. Lara (Oct 1998)
30//
31// Modified:
32// 03-09-2008 J.M. Quesada for external choice of inverse cross section option
33// 06-09-2008 J.M. Quesada Also external choices have been added for superimposed
34// Coulomb barrier (if useSICB is set true, by default is false)
35// 17-11-2010 V.Ivanchenko in constructor replace G4VEmissionProbability by
36// G4EvaporationProbability and do not new and delete probability
37// object at each call; use G4Pow
38
41#include "G4CoulombBarrier.hh"
42#include "G4NuclearLevelData.hh"
43#include "G4NucleiProperties.hh"
44#include "G4Pow.hh"
45#include "G4Log.hh"
46#include "G4Exp.hh"
48#include "G4SystemOfUnits.hh"
49#include "Randomize.hh"
50#include "G4RandomDirection.hh"
51#include "G4Alpha.hh"
53
57 theA(anA),
58 theZ(aZ),
59 secID(-1),
60 theProbability(aprob),
61 theCoulombBarrier(new G4CoulombBarrier(anA, aZ))
62{
63 resA = resZ = 0;
64 secID = G4PhysicsModelCatalog::GetModelID("model_G4EvaporationChannel");
65 mass = resMass = 0.0;
67 //G4cout << "G4EvaporationChannel: Z= " << theZ << " A= " << theA
68 // << " M(GeV)= " << evapMass/GeV << G4endl;
71}
72
74{
75 delete theCoulombBarrier;
76}
77
79{
82}
83
85{
87 G4int fragA = fragment->GetA_asInt();
88 G4int fragZ = fragment->GetZ_asInt();
89 resA = fragA - theA;
90 resZ = fragZ - theZ;
91
92 // Only channels which are physically allowed are taken into account
93 if(resA < theA || resA < resZ || resZ < 0 || (resA == theA && resZ < theZ)
94 || ((resA > 1) && (resA == resZ || resZ == 0)))
95 { return 0.0; }
96
97 G4double exEnergy = fragment->GetExcitationEnergy();
98 G4double delta0 = theLevelData->GetPairingCorrection(fragZ,fragA);
99 /*
100 G4cout << "G4EvaporationChannel::Initialize Z= "<<theZ<<" A= "<<theA
101 << " FragZ= " << fragZ << " FragA= " << fragA
102 << " exEnergy= " << exEnergy << " d0= " << delta0 << G4endl;
103 */
104 if(exEnergy < delta0) { return 0.0; }
105
106 G4double fragMass = fragment->GetGroundStateMass();
107 mass = fragMass + exEnergy;
108
110 G4double bCoulomb = 0.0;
111 G4double elim = 0.0;
112 if(theZ > 0) {
113 bCoulomb = theCoulombBarrier->GetCoulombBarrier(resA,resZ,exEnergy);
114
115 // for OPTxs >0 penetration under the barrier is taken into account
116 const G4double dCB = 3.5*CLHEP::MeV;
117 elim = (0 != OPTxs) ?
118 std::max(bCoulomb*0.5, bCoulomb - dCB*theZ) : bCoulomb;
119 }
120 /*
121 G4cout << "exEnergy= " << exEnergy << " Ec= " << bCoulomb
122 << " d0= " << delta0
123 << " Free= " << mass - resMass - evapMass
124 << G4endl;
125 */
126 if(mass <= resMass + evapMass + elim) { return 0.0; }
127
128 G4double twoMass = mass + mass;
129 G4double ekinmax =
130 ((mass-resMass)*(mass+resMass) + evapMass2)/twoMass - evapMass;
131 G4double ekinmin = 0.0;
132 if(elim > 0.0) {
133 G4double resM = std::max(mass - evapMass - elim, resMass);
134 ekinmin =
135 std::max(((mass-resM)*(mass+resM) + evapMass2)/twoMass - evapMass,0.0);
136 }
137 /*
138 G4cout << "Emin= " <<ekinmin<<" Emax= "<<ekinmax
139 << " mass= " << mass << " resM= " << resMass
140 << " evapM= " << evapMass << G4endl;
141 */
142 if(ekinmax <= ekinmin) { return 0.0; }
143
146 ekinmax, bCoulomb,
147 exEnergy - delta0);
148 /*
149 G4cout<<"G4EvaporationChannel: prob= "<< prob << " Z= " << theZ
150 << " A= " << theA << " E1= " << ekinmin << " E2= " << ekinmax
151 << G4endl;
152 */
153 return prob;
154}
155
157{
158 G4double ekin;
159 // assumed, that TotalProbability(...) was already called
160 // if value iz zero no possiblity to sample final state
161 if(resA <= 4 || theProbability->GetProbability() == 0.0) {
162 ekin = 0.5*(mass*mass - resMass*resMass + evapMass2)/mass - evapMass;
163 } else {
165 }
166 ekin = std::max(ekin, 0.0);
167 G4LorentzVector lv0 = theNucleus->GetMomentum();
168 G4LorentzVector lv(std::sqrt(ekin*(ekin + 2.0*evapMass))*G4RandomDirection(),
169 ekin + evapMass);
170 lv.boost(lv0.boostVector());
171
172 G4Fragment* evFragment = new G4Fragment(theA, theZ, lv);
173 if(evFragment != nullptr) { evFragment->SetCreatorModelID(secID); }
174 lv0 -= lv;
175 theNucleus->SetZandA_asInt(resZ, resA);
176 theNucleus->SetMomentum(lv0);
177 theNucleus->SetCreatorModelID(secID);
178
179 //G4cout << "Residual: Z= " << resZ << " A= " << resA << " Eex= "
180 // << theNucleus->GetExcitationEnergy() << G4endl;
181 return evFragment;
182}
static const G4double ekinmin
G4ThreeVector G4RandomDirection()
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85
Hep3Vector boostVector() const
HepLorentzVector & boost(double, double, double)
G4double GetCoulombBarrier(G4int ARes, G4int ZRes, G4double U) const
G4EvaporationChannel(G4int A, G4int Z, G4EvaporationProbability *)
G4double GetEmissionProbability(G4Fragment *fragment) override
G4NuclearLevelData * theLevelData
G4CoulombBarrier * theCoulombBarrier
G4Fragment * EmittedFragment(G4Fragment *theNucleus) override
G4EvaporationProbability * theProbability
virtual G4double TotalProbability(const G4Fragment &fragment, G4double minKinEnergy, G4double maxKinEnergy, G4double CB, G4double exEnergy)
G4double GetGroundStateMass() const
Definition: G4Fragment.hh:304
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:299
const G4LorentzVector & GetMomentum() const
Definition: G4Fragment.hh:323
void SetCreatorModelID(G4int value)
Definition: G4Fragment.hh:428
G4int GetZ_asInt() const
Definition: G4Fragment.hh:276
void SetMomentum(const G4LorentzVector &value)
Definition: G4Fragment.hh:328
void SetZandA_asInt(G4int Znew, G4int Anew)
Definition: G4Fragment.hh:281
G4int GetA_asInt() const
Definition: G4Fragment.hh:271
G4PairingCorrection * GetPairingCorrection()
static G4NuclearLevelData * GetInstance()
static G4double GetNuclearMass(const G4double A, const G4double Z)
static G4int GetModelID(const G4int modelIndex)
void SetDecayKinematics(G4int Z, G4int A, G4double rmass, G4double fmass)
static constexpr double MeV
T max(const T t1, const T t2)
brief Return the largest of the two arguments