43 *std::pow(std::abs(Z), 1.33333);
45 gamma0 = std::sqrt(1. - alphaZ*alphaZ);
68 if (Wprime <= 1.00001) Wprime = 1.00001;
71 G4double p_e = std::sqrt(Wprime*Wprime - 1.);
74 G4double realGamma = Gamma(2.*gamma0+1);
75 G4double mod2Gamma = ModSquared(gamma0, eta);
78 G4double factor1 = 2*(1+gamma0)*mod2Gamma/realGamma/realGamma;
79 G4double factor2 = epieta*std::pow(2*p_e*Rnuc, 2*(gamma0-1) );
82 G4double factor3 = (Wprime/W)*std::sqrt( (Wprime*Wprime - 1.)/(W*W - 1.) );
84 return factor1*factor2*factor3;
96 G4double factor1 = std::pow( (1+re)*(1+re) + im*im, re+0.5);
97 G4double factor2 = std::exp(2*im * std::atan(im/(1+re)));
98 G4double factor3 = std::exp(2*(1+re));
100 G4double factor5 = std::exp( (1+re)/( (1+re)*(1+re) + im*im)/6 );
102 return factor1*factor4*factor5/factor2/factor3/factor6;
114 ed <<
" While count exceeded " <<
G4endl;
128 for (
G4int i = 1; i < 6; i++) sum = sum*x + gc[i];
154 G4double w = std::sqrt(1. + p_e*p_e);
155 factor = 1. + c1*w + c2/w + c3*w*w;
161 G4double eta = alphaZ*std::sqrt(1. + p_e*p_e)/p_e;
162 G4double gamma1 = std::sqrt(4. - alphaZ*alphaZ);
163 G4double gamterm1 = Gamma(2.*gamma0+1.)/Gamma(2.*gamma1+1.);
164 G4double term1 = e_nu*e_nu*(1. + gamma0)/6.;
165 G4double term2 = 12.*(2. + gamma1)*p_e*p_e
166 *std::pow(twoPR, 2.*(gamma1-gamma0-1) )
168 *ModSquared(gamma1, eta)/ModSquared(gamma0, eta);
169 factor = term1 + term2;
178 G4double eta = alphaZ*std::sqrt(1. + p_e*p_e)/p_e;
179 G4double gamma1 = std::sqrt(4. - alphaZ*alphaZ);
180 G4double gamma2 = std::sqrt(9. - alphaZ*alphaZ);
181 G4double gamterm0 = Gamma(2.*gamma0+1.);
182 G4double gamterm1 = gamterm0/Gamma(2.*gamma1+1.);
183 G4double gamterm2 = gamterm0/Gamma(2.*gamma2+1.);
184 G4double term1 = e_nu*e_nu*e_nu*e_nu*(1. + gamma0)/60.;
186 G4double term2 = 4.*(2. + gamma1)*e_nu*e_nu*p_e*p_e
187 *std::pow(twoPR, 2.*(gamma1-gamma0-1.) )
189 *ModSquared(gamma1, eta)/ModSquared(gamma0, eta);
191 G4double term3 = 180.*(3.+gamma2)*p_e*p_e*p_e*p_e
192 *std::pow(twoPR, 2.*(gamma2-gamma0-2) )
194 *ModSquared(gamma2, eta)/ModSquared(gamma0, eta);
196 factor = term1 + term2 + term3;
205 G4double eta = alphaZ*std::sqrt(1. + p_e*p_e)/p_e;
206 G4double gamma1 = std::sqrt(4. - alphaZ*alphaZ);
207 G4double gamma2 = std::sqrt(9. - alphaZ*alphaZ);
208 G4double gamma3 = std::sqrt(16. - alphaZ*alphaZ);
209 G4double gamterm0 = Gamma(2.*gamma0+1.);
210 G4double gamterm1 = gamterm0/Gamma(2.*gamma1+1.);
211 G4double gamterm2 = gamterm0/Gamma(2.*gamma2+1.);
212 G4double gamterm3 = gamterm0/Gamma(2.*gamma3+1.);
214 G4double term1 = e_nu*e_nu*e_nu*e_nu*e_nu*e_nu*(1. + gamma0)/1260.;
216 G4double term2 = 2.*(2. + gamma1)*e_nu*e_nu*e_nu*e_nu*p_e*p_e
217 *std::pow(twoPR, 2.*(gamma1-gamma0-1.) )
219 *ModSquared(gamma1, eta)/ModSquared(gamma0, eta)/5.;
221 G4double term3 = 60.*(3.+gamma2)*p_e*p_e*p_e*p_e*e_nu*e_nu
222 *std::pow(twoPR, 2.*(gamma2-gamma0-2.) )
224 *ModSquared(gamma2, eta)/ModSquared(gamma0, eta);
226 G4double term4 = 2240.*p_e*p_e*p_e*p_e*p_e*p_e*(4. + gamma3)
227 *std::pow(twoPR, 2.*(gamma3-gamma0-3.) )
229 *ModSquared(gamma3, eta)/ModSquared(gamma0, eta);
231 factor = term1 + term2 + term3 + term4;
236 G4Exception(
"G4BetaDecayCorrections::ShapeFactor()",
"HAD_RDM_010",
238 "Transition not yet implemented - using allowed shape");
static c2_factory< G4double > c2
std::ostringstream G4ExceptionDescription
G4BetaDecayCorrections(const G4int Z, const G4int A)
double A(double temperature)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static const G4double fac
static constexpr double pi
G4double ShapeFactor(const G4BetaDecayType &, const G4double &p_e, const G4double &e_nu)
G4double FermiFunction(const G4double &W)