Geant4  10.01
G4GEMProbability.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 // $Id: G4GEMProbability.cc 86986 2014-11-21 13:00:05Z gcosmo $
27 //
28 //---------------------------------------------------------------------
29 //
30 // Geant4 class G4GEMProbability
31 //
32 //
33 // Hadronic Process: Nuclear De-excitations
34 // by V. Lara (Sept 2001)
35 //
36 //
37 // Hadronic Process: Nuclear De-excitations
38 // by V. Lara (Sept 2001)
39 //
40 // J. M. Quesada : several fixes in total GEM width
41 // J. M. Quesada 14/07/2009 bug fixed in total emission width (hbarc)
42 // J. M. Quesada (September 2009) several fixes:
43 // -level density parameter of residual calculated at its right excitation energy.
44 // -InitialLeveldensity calculated according to the right conditions of the
45 // initial excited nucleus.
46 // J. M. Quesada 19/04/2010 fix in emission probability calculation.
47 // V.Ivanchenko 20/04/2010 added usage of G4Pow and use more safe computation
48 // V.Ivanchenko 18/05/2010 trying to speedup the most slow method
49 // by usage of G4Pow, integer Z and A; moved constructor,
50 // destructor and virtual functions to source
51 
52 #include "G4GEMProbability.hh"
53 #include "G4PairingCorrection.hh"
54 #include "G4NucleiProperties.hh"
55 #include "G4PhysicalConstants.hh"
56 #include "G4SystemOfUnits.hh"
57 #include "G4Log.hh"
58 #include "G4Exp.hh"
59 
61  theA(anA), theZ(aZ), Spin(aSpin), theCoulombBarrierPtr(0)
62  // Normalization(1.0)
63 {
66  fPlanck= CLHEP::hbar_Planck*fG4pow->logZ(2);
68 }
69 
71 {
72  delete theEvapLDPptr;
73 }
74 
76  G4double MaximalKineticEnergy)
77 {
78  G4double probability = 0.0;
79 
80  if (MaximalKineticEnergy > 0.0 && fragment.GetExcitationEnergy() > 0.0) {
81  G4double CoulombBarrier = GetCoulombBarrier(fragment);
82 
83  probability =
84  CalcProbability(fragment,MaximalKineticEnergy,CoulombBarrier);
85 
86  // Next there is a loop over excited states for this channel
87  // summing probabilities
88  size_t nn = ExcitEnergies.size();
89  if (0 < nn) {
90  G4double SavedSpin = Spin;
91  for (size_t i = 0; i <nn; ++i) {
92  Spin = ExcitSpins[i];
93  // substract excitation energies
94  G4double Tmax = MaximalKineticEnergy - ExcitEnergies[i];
95  if (Tmax > 0.0) {
96  G4double width = CalcProbability(fragment,Tmax,CoulombBarrier);
97  //JMQ April 2010 added condition to prevent reported crash
98  // update probability
99  if (width > 0. && fPlanck < width*ExcitLifetimes[i]) {
100  probability += width;
101  }
102  }
103  }
104  // Restore Spin
105  Spin = SavedSpin;
106  }
107  }
108  // Normalization = probability;
109  return probability;
110 }
111 
112 
114  G4double MaximalKineticEnergy,
115  G4double V)
116 
117 // Calculate integrated probability (width) for evaporation channel
118 {
119  G4int A = fragment.GetA_asInt();
120  G4int Z = fragment.GetZ_asInt();
121 
122  G4int ResidualA = A - theA;
123  G4int ResidualZ = Z - theZ;
124  G4double U = fragment.GetExcitationEnergy();
125 
126  G4double NuclearMass = fragment.ComputeGroundStateMass(theZ, theA);
127 
128  G4double Alpha = CalcAlphaParam(fragment);
129  G4double Beta = CalcBetaParam(fragment);
130 
131  // ***RESIDUAL***
132  //JMQ (September 2009) the following quantities refer to the RESIDUAL:
133 
134  G4double delta0 = fPairCorr->GetPairingCorrection(ResidualA, ResidualZ);
135 
137  LevelDensityParameter(ResidualA,ResidualZ,MaximalKineticEnergy+V-delta0);
138  G4double Ux = (2.5 + 150.0/G4double(ResidualA))*MeV;
139  G4double Ex = Ux + delta0;
140  G4double T = 1.0/(std::sqrt(a/Ux) - 1.5/Ux);
141  //JMQ fixed bug in units
142  G4double E0 = Ex - T*(G4Log(T/MeV) - G4Log(a*MeV)/4.0
143  - 1.25*G4Log(Ux/MeV) + 2.0*std::sqrt(a*Ux));
144  // ***end RESIDUAL ***
145 
146  // ***PARENT***
147  //JMQ (September 2009) the following quantities refer to the PARENT:
148 
149  G4double deltaCN = fPairCorr->GetPairingCorrection(A, Z);
150  G4double aCN = theEvapLDPptr->LevelDensityParameter(A, Z, U-deltaCN);
151  G4double UxCN = (2.5 + 150.0/G4double(A))*MeV;
152  G4double ExCN = UxCN + deltaCN;
153  G4double TCN = 1.0/(std::sqrt(aCN/UxCN) - 1.5/UxCN);
154  // ***end PARENT***
155 
156  G4double Width;
157  G4double InitialLevelDensity;
158  G4double t = MaximalKineticEnergy/T;
159  if ( MaximalKineticEnergy < Ex ) {
160  //JMQ 190709 bug in I1 fixed (T was missing)
161  Width = (I1(t,t)*T + (Beta+V)*I0(t))/G4Exp(E0/T);
162  //JMQ 160909 fix: InitialLevelDensity has been taken away
163  //(different conditions for initial CN..)
164  } else {
165 
166  //VI minor speedup
167  G4double expE0T = G4Exp(E0/T);
168  static const G4double sqrt2 = std::sqrt(2.0);
169 
170  G4double tx = Ex/T;
171  G4double s0 = 2.0*std::sqrt(a*(MaximalKineticEnergy-delta0));
172  G4double sx = 2.0*std::sqrt(a*(Ex-delta0));
173  Width = I1(t,tx)*T/expE0T + I3(s0,sx)*G4Exp(s0)/(sqrt2*a);
174  // For charged particles (Beta+V) = 0 beacuse Beta = -V
175  if (theZ == 0) {
176  Width += (Beta+V)*(I0(tx)/expE0T + 2.0*sqrt2*I2(s0,sx)*G4Exp(s0));
177  }
178  }
179 
180  //JMQ 14/07/2009 BIG BUG : NuclearMass is in MeV => hbarc instead of hbar_planck must be used
181  // G4double g = (2.0*Spin+1.0)*NuclearMass/(pi2* hbar_Planck*hbar_Planck);
182  G4double gg = (2.0*Spin+1.0)*NuclearMass/(pi2* hbarc*hbarc);
183 
184  //JMQ 190709 fix on Rb and geometrical cross sections according to Furihata's paper
185  // (JAERI-Data/Code 2001-105, p6)
186  // G4double RN = 0.0;
187  G4double Rb = 0.0;
188  if (theA > 4)
189  {
190  G4double Ad = fG4pow->Z13(ResidualA);
191  G4double Aj = fG4pow->Z13(theA);
192  Rb = 1.12*(Aj + Ad) - 0.86*((Aj+Ad)/(Aj*Ad))+2.85;
193  Rb *= fermi;
194  }
195  else if (theA>1)
196  {
197  G4double Ad = fG4pow->Z13(ResidualA);
198  G4double Aj = fG4pow->Z13(theA);
199  Rb=1.5*(Aj+Ad)*fermi;
200  }
201  else
202  {
203  G4double Ad = fG4pow->Z13(ResidualA);
204  Rb = 1.5*Ad*fermi;
205  }
206  // G4double GeometricalXS = pi*RN*RN*std::pow(ResidualA,2./3.);
207  G4double GeometricalXS = pi*Rb*Rb;
208  //end of JMQ fix on Rb by 190709
209 
210  //JMQ 160909 fix: initial level density must be calculated according to the
211  // conditions at the initial compound nucleus
212  // (it has been removed from previous "if" for the residual)
213 
214  if ( U < ExCN )
215  {
216  //JMQ fixed bug in units
217  //VI moved the computation here
218  G4double E0CN = ExCN - TCN*(G4Log(TCN/MeV) - G4Log(aCN*MeV)/4.0
219  - 1.25*G4Log(UxCN/MeV)
220  + 2.0*std::sqrt(aCN*UxCN));
221  InitialLevelDensity = (pi/12.0)*G4Exp((U-E0CN)/TCN)/TCN;
222  }
223  else
224  {
225  //VI speedup
226  G4double x = U-deltaCN;
227  G4double x1 = std::sqrt(aCN*x);
228  InitialLevelDensity = (pi/12.0)*G4Exp(2*x1)/(x*std::sqrt(x1));
229  }
230 
231  //JMQ 190709 BUG : pi instead of sqrt(pi) must be here according
232  // to Furihata's report:
233  Width *= pi*gg*GeometricalXS*Alpha/(12.0*InitialLevelDensity);
234 
235  return Width;
236 }
237 
239 {
240  G4double s2 = s0*s0;
241  G4double sx2 = sx*sx;
242  G4double S = 1.0/std::sqrt(s0);
243  G4double S2 = S*S;
244  G4double Sx = 1.0/std::sqrt(sx);
245  G4double Sx2 = Sx*Sx;
246 
247  G4double p1 = S *(2.0 + S2 *( 4.0 + S2 *( 13.5 + S2 *( 60.0 + S2 * 325.125 ))));
248  G4double p2 = Sx*Sx2 *(
249  (s2-sx2) + Sx2 *(
250  (1.5*s2+0.5*sx2) + Sx2 *(
251  (3.75*s2+0.25*sx2) + Sx2 *(
252  (12.875*s2+0.625*sx2) + Sx2 *(
253  (59.0625*s2+0.9375*sx2) + Sx2 *(324.8*s2+3.28*sx2))))));
254 
255  p2 *= G4Exp(sx-s0);
256 
257  return p1-p2;
258 }
259 
261 {
263  G4double efermi = 0.0;
264  if(theA > 1) {
266  + neutron_mass_c2 - mass;
267  }
268  G4int nlev = ExcitEnergies.size();
269  G4cout << "GEM: List of Excited States for Isotope Z= "
270  << theZ << " A= " << theA << " Nlevels= " << nlev
271  << " Efermi(MeV)= " << efermi
272  << G4endl;
273  for(G4int i=0; i< nlev; ++i) {
274  G4cout << "Z= " << theZ << " A= " << theA
275  << " Mass(GeV)= " << mass/GeV
276  << " Eexc(MeV)= " << ExcitEnergies[i]
277  << " Time(ns)= " << ExcitLifetimes[i]/ns
278  << G4endl;
279  }
280  G4cout << G4endl;
281 }
G4double I3(G4double s0, G4double sx)
static G4Pow * GetInstance()
Definition: G4Pow.cc:55
static const double MeV
Definition: G4SIunits.hh:193
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4double I1(G4double t, G4double tx)
G4double EmissionProbability(const G4Fragment &fragment, G4double anEnergy)
const G4double pi
G4double CalcAlphaParam(const G4Fragment &) const
G4PairingCorrection * fPairCorr
G4double GetCoulombBarrier(const G4Fragment &fragment) const
#define width
G4double CalcProbability(const G4Fragment &fragment, G4double MaximalKineticEnergy, G4double V)
void Dump() const
G4double a
Definition: TRTMaterials.hh:39
std::vector< G4double > ExcitLifetimes
int G4int
Definition: G4Types.hh:78
G4double I2(G4double s0, G4double sx)
G4double logZ(G4int Z) const
Definition: G4Pow.hh:163
G4GLOB_DLL std::ostream G4cout
G4double Z13(G4int Z) const
Definition: G4Pow.hh:127
std::vector< G4double > ExcitSpins
G4int GetA_asInt() const
Definition: G4Fragment.hh:243
G4double GetPairingCorrection(G4int A, G4int Z) const
G4VLevelDensityParameter * theEvapLDPptr
static const double GeV
Definition: G4SIunits.hh:196
virtual ~G4GEMProbability()
G4double CalcBetaParam(const G4Fragment &) const
std::vector< G4double > ExcitEnergies
static const G4double A[nN]
G4double G4Log(G4double x)
Definition: G4Log.hh:230
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
Definition: G4Exp.hh:183
static G4PairingCorrection * GetInstance()
virtual G4double LevelDensityParameter(G4int A, G4int Z, G4double U) const =0
G4int GetZ_asInt() const
Definition: G4Fragment.hh:248
#define G4endl
Definition: G4ios.hh:61
G4double I0(G4double t)
double G4double
Definition: G4Types.hh:76
#define ns
Definition: xmlparse.cc:597
G4double ComputeGroundStateMass(G4int Z, G4int A) const
Definition: G4Fragment.hh:298
static const double fermi
Definition: G4SIunits.hh:93
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:260