49 G4cout<<
"Regular transparent X-ray TR radiator EM process is called"<<
G4endl;
73 G4double result, sum = 0., tmp, cof1, cof2, cofMin, cofPHC, theta2, theta2k ;
96 if (cofMin > kMin) kMin++;
115 for( k = kMin; k <= kMax; k++ )
118 result = (k - cof1)*(k - cof1)*(k + cof2)*(k + cof2);
120 if( k == kMin && kMin ==
G4int(cofMin) )
122 sum += 0.5*std::sin(tmp)*std::sin(tmp)*std::abs(k-cofMin)/result;
126 sum += std::sin(tmp)*std::sin(tmp)*std::abs(k-cofMin)/result;
128 theta2k = std::sqrt(theta2*std::abs(k-cofMin));
134 G4cout<<k<<
" "<<theta2k<<
" "<<std::sin(tmp)*std::sin(tmp)*std::abs(k-cofMin)/result
138 result = 4*( cof1 + cof2 )*( cof1 + cof2 )*sum/energy;
199 G4double result, Qa, Qb, Q, aZa, bZb, aMa, bMb, D, sigma;
206 Qa = std::exp(-0.5*aMa);
207 Qb = std::exp(-0.5*bMb);
210 G4complex Ha( Qa*std::cos(aZa), -Qa*std::sin(aZa) );
211 G4complex Hb( Qb*std::cos(bZb), -Qb*std::sin(bZb) );
214 D = 1.0 /( (1 - Q)*(1 - Q) +
215 4*Q*std::sin(0.5*(aZa + bZb))*std::sin(0.5*(aZa + bZb)) );
216 G4complex F1 = (1.0 - Ha)*(1.0 - Hb)*(1.0 - Hs)
218 G4complex F2 = (1.0 - Ha)*(1.0 - Ha)*Hb*(1.0 - Hs)*(1.0 - Hs)
222 result = 2.0*std::real(R);
std::complex< G4double > G4complex
G4DLLIMPORT std::ostream G4cout
G4TransparentRegXTRadiator(G4LogicalVolume *anEnvelope, G4Material *, G4Material *, G4double, G4double, G4int, const G4String &processName="TransparentRegXTRadiator")
G4double GetStackFactor(G4double energy, G4double gamma, G4double varAngle)
G4double SpectralXTRdEdx(G4double energy)
~G4TransparentRegXTRadiator()
G4double GetPlateLinearPhotoAbs(G4double)
G4double GetGasFormationZone(G4double, G4double, G4double)
G4complex OneInterfaceXTRdEdx(G4double energy, G4double gamma, G4double varAngle)
G4double GetPlateFormationZone(G4double, G4double, G4double)
G4double GetGasLinearPhotoAbs(G4double)