64 G4cout<<
"G4QSynchRad::MeanFreePath: gamma = "<<gamma<<
G4endl;
67 if( gamma > minGamma )
73 if(R > 0.) MFP= coef*R/gamma;
88 if(gamma <= minGamma )
91 G4cout<<
"-Warning-G4QSynchRad::PostStepDoIt is called for small gamma="<<gamma<<
G4endl;
100 G4cout<<
"-Warning-G4QSynchRad::PostStepDoIt: zero or negativ radius ="
105 G4double EPhoton = hc * gamma * gamma * gamma / R;
108 if (rnd < 0.5 ) EPhoton *= .65 * rnd * rnd * rnd;
109 else if(rnd > .997) EPhoton *= 15.-1.03*std::log((1.-rnd)/dd+1.);
114 EPhoton*=(2806.+28./rnd)/(1.+500./r2/r2+6500.*(std::sqrt(dr)+28.*dr*dr*dr));
117 G4cout<<
"G4SynchRad::PostStepDoIt: PhotonEnergy = "<<EPhoton/
keV<<
" [keV]"<<
G4endl;
121 G4cout<<
"-Warning-G4QSynchRad::PostStepDoIt: zero or negativ photon energy="
134 G4cout<<
"-Warning-G4QSynchRad::PostStepDoIt: PhotonEnergy > TotalKinEnergy"<<
G4endl;
154 if(z == 0.)
return 0.;
162 G4double PosArray[3]={position.
x(), position.
y(), position.
z()};
172 if(OrtB == 0.)
return 0.;
173 Polarization = Ort/OrtB;
179 return mom * unk / z / OrtB;