53 parent_polarization(),
62 parent_polarization(),
75 parent_polarization = right.parent_polarization;
103 parent_polarization = right.parent_polarization;
134 sumofdaughtermass += daughtermass[
index];
137 EMASS = daughtermass[0];
144 delete parentparticle;
158 G4double W_mue = (EMMU*EMMU+EMASS*EMASS)/(2.*EMMU);
177 x = x0 + rndm*(1.-x0);
183 F_IS = 1./6.*(-2.*x_squared+3.*x-x0_squared);
184 F_AS = 1./6.*std::sqrt(x_squared-x0_squared)*(2.*x-2.+std::sqrt(1.-x0_squared));
186 G_IS = 2./9.*(michel_rho-0.75)*(4.*x_squared-3.*x-x0_squared);
187 G_IS = G_IS + michel_eta*(1.-
x)*x0;
189 G_AS = 3.*(michel_xsi-1.)*(1.-
x);
190 G_AS = G_AS+2.*(michel_xsi*michel_delta-0.75)*(4.*x-4.+std::sqrt(1.-x0_squared));
191 G_AS = 1./9.*std::sqrt(x_squared-x0_squared)*G_AS;
200 G4double F = 6.*F_IS + R_IS/std::sqrt(x_squared-x0_squared);
210 G4double G = 6.*F_AS - R_AS/std::sqrt(x_squared-x0_squared);
212 FG = std::sqrt(x_squared-x0_squared)*F*(1.+(G/F)*ctheta);
215 G4cout<<
"***Problem in Muon Decay *** : FG > FG_max"<<
G4endl;
221 }
while(FG<rndm*FG_max);
229 if(energy < EMASS) energy = EMASS;
234 daughtermomentum[0] = std::sqrt(energy*energy - EMASS*EMASS);
236 G4double stheta = std::sqrt(1.-ctheta*ctheta);
248 direction0.
rotateUz(parent_polarization);
258 G4double energy2 = parentmass*(1.0 - x/2.0);
259 G4double vmass = std::sqrt((energy2-daughtermomentum[0])*(energy2+daughtermomentum[0]));
260 G4double beta = -1.0*daughtermomentum[0]/energy2;
262 G4double sinthetan = std::sqrt((1.0-costhetan)*(1.0+costhetan));
267 G4ThreeVector direction1(sinthetan*cosphin,sinthetan*sinphin,costhetan);
276 p4.
boost( direction0.x()*beta, direction0.y()*beta, direction0.z()*beta);
279 p4.
boost( direction0.x()*beta, direction0.y()*beta, direction0.z()*beta);
289 G4cout <<
"G4MuonDecayChannelWithSpin::DecayIt ";
290 G4cout <<
" create decay products in rest frame " <<
G4endl;
301 if(n_max<10)n_max=10;
306 L2 += std::pow(x,
n)/(
n*
n);
309 G4double omega = std::log(EMMU/EMASS);
313 r_c = 2.*L2-(
pi*
pi/3.)-2.;
314 r_c = r_c + omega * (1.5+2.*std::log((1.-x)/x));
315 r_c = r_c - std::log(x)*(2.*std::log(x)-1.);
316 r_c = r_c + (3.*std::log(x)-1.-1./
x)*std::log(1.-x);