64 leptonKE(0.0), photonEnergy(0.0), photonQ2(0.0)
94 delete theFragmentation;
95 delete theStringDecay;
96 delete theStringModel;
103 outFile <<
"G4ElectroVDNuclearModel handles the inelastic scattering\n"
104 <<
"of e- and e+ from nuclei using the equivalent photon\n"
105 <<
"approximation in which the incoming lepton generates a\n"
106 <<
"virtual photon at the electromagnetic vertex, and the\n"
107 <<
"virtual photon is converted to a real photon. At low\n"
108 <<
"energies, the photon interacts directly with the nucleus\n"
109 <<
"using the Bertini cascade. At high energies the photon\n"
110 <<
"is converted to a pi0 which interacts using the FTFP\n"
111 <<
"model. The electro- and gamma-nuclear cross sections of\n"
112 <<
"M. Kossov are used to generate the virtual photon spectrum\n";
140 if (photonEnergy < leptonKE) {
144 if (photonEnergy > photonQ2/dM) {
148 if (transferredPhoton) CalculateHadronicVertex(transferredPhoton, targetNucleus);
157 G4ElectroVDNuclearModel::CalculateEMVertex(
const G4HadProjectile& aTrack,
174 photon.SetKineticEnergy(photonEnergy - photonQ2/dM);
186 G4double finE = iniE - photonEnergy;
188 G4double iniP = std::sqrt(iniE*iniE-mProj2);
189 G4double finP = std::sqrt(finE*finE-mProj2);
190 G4double cost = (iniE*finE - mProj2 - photonQ2/2.)/iniP/finP;
191 if (cost > 1.) cost= 1.;
192 if (cost < -1.) cost=-1.;
193 G4double sint = std::sqrt(1.-cost*cost);
207 photonEnergy, photonMomentum);
219 if (gammaE < 10*
GeV) {
225 G4double piMom = std::sqrt(gammaE*gammaE - piMass*piMass);