65 leptonKE(0.0), photonEnergy(0.0), photonQ2(0.0)
106 outFile <<
"G4ElectroVDNuclearModel handles the inelastic scattering\n" 107 <<
"of e- and e+ from nuclei using the equivalent photon\n" 108 <<
"approximation in which the incoming lepton generates a\n" 109 <<
"virtual photon at the electromagnetic vertex, and the\n" 110 <<
"virtual photon is converted to a real photon. At low\n" 111 <<
"energies, the photon interacts directly with the nucleus\n" 112 <<
"using the Bertini cascade. At high energies the photon\n" 113 <<
"is converted to a pi0 which interacts using the FTFP\n" 114 <<
"model. The electro- and gamma-nuclear cross sections of\n" 115 <<
"M. Kossov are used to generate the virtual photon spectrum\n";
184 G4double iniP = std::sqrt(iniE*iniE-mProj2);
185 G4double finP = std::sqrt(finE*finE-mProj2);
187 if (cost > 1.) cost= 1.;
188 if (cost < -1.) cost=-1.;
189 G4double sint = std::sqrt(1.-cost*cost);
203 photonEnergy, photonMomentum);
215 if (gammaE < 10*
GeV) {
221 G4double piMom = std::sqrt(gammaE*gammaE - piMass*piMass);
~G4ElectroVDNuclearModel()
G4ExcitedStringDecay * theStringDecay
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &theNucleus)
void AddSecondaries(const std::vector< G4HadSecondary > &addSecs)
void CalculateHadronicVertex(G4DynamicParticle *incident, G4Nucleus &target)
CLHEP::Hep3Vector G4ThreeVector
void SetFragmentationModel(G4VStringFragmentation *aModel)
const G4LorentzVector & Get4Momentum() const
G4double GetEquivalentPhotonQ2(G4double nu)
static const char * Default_Name()
G4DynamicParticle * CalculateEMVertex(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
G4ElectroVDNuclearModel()
G4PhotoNuclearCrossSection * gammaXS
G4double GetTotalEnergy() const
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
G4double GetEquivalentPhotonEnergy()
void SetStatusChange(G4HadFinalStateStatus aS)
void SetMinEnergy(G4double anEnergy)
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
Hep3Vector cross(const Hep3Vector &) const
static const double twopi
static G4CrossSectionDataSetRegistry * Instance()
static G4Proton * Proton()
Hep3Vector orthogonal() const
static G4Neutron * Neutron()
static G4PionZero * PionZero()
void SetKineticEnergy(G4double aEnergy)
virtual void ModelDescription(std::ostream &outFile) const
G4HadronicInteraction * FindModel(const G4String &name)
const G4ParticleDefinition * GetDefinition() const
G4LundStringFragmentation * theFragmentation
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *)
void SetEnergyChange(G4double anEnergy)
G4double GetKineticEnergy() const
G4double GetVirtualFactor(G4double nu, G4double Q2)
const G4ThreeVector & GetMomentumDirection() const
static G4HadronicInteractionRegistry * Instance()
G4double GetPDGMass() const
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *mat)
cout<< "-> Edep in the target
void SetMaxEnergy(const G4double anEnergy)
void SetDeExcitation(G4VPreCompoundModel *ptr)
G4HadFinalState theParticleChange
void SetTransport(G4VIntraNuclearTransportModel *const value)
G4CascadeInterface * bert
static const char * Default_Name()
void SetMomentumChange(const G4ThreeVector &aV)
G4HadFinalState * ApplyYourself(const G4HadProjectile &thePrimary, G4Nucleus &theNucleus)
G4ElectroNuclearCrossSection * electroXS