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);
157G4ElectroVDNuclearModel::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);
CLHEP::Hep3Vector G4ThreeVector
Hep3Vector orthogonal() const
Hep3Vector cross(const Hep3Vector &) const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &theNucleus)
const G4ThreeVector & GetMomentumDirection() const
G4double GetTotalEnergy() const
virtual G4double GetIsoCrossSection(const G4DynamicParticle *aParticle, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
G4double GetEquivalentPhotonQ2(G4double nu)
G4double GetEquivalentPhotonEnergy()
G4double GetVirtualFactor(G4double nu, G4double Q2)
virtual void ModelDescription(std::ostream &outFile) const
G4ElectroVDNuclearModel()
~G4ElectroVDNuclearModel()
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
void SetStatusChange(G4HadFinalStateStatus aS)
void AddSecondaries(const std::vector< G4HadSecondary > &addSecs)
void SetEnergyChange(G4double anEnergy)
void SetMomentumChange(const G4ThreeVector &aV)
const G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
const G4LorentzVector & Get4Momentum() const
G4HadFinalState theParticleChange
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4Neutron * Neutron()
G4double GetPDGMass() const
virtual G4double GetIsoCrossSection(const G4DynamicParticle *, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
static G4PionZero * PionZero()
static G4Proton * Proton()
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
G4HadFinalState * ApplyYourself(const G4HadProjectile &thePrimary, G4Nucleus &theNucleus)
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetFragmentationModel(G4VStringFragmentation *aModel)