64 leptonKE(0.0), photonEnergy(0.0), photonQ2(0.0)
99 delete theFragmentation;
100 delete theStringDecay;
105 outFile <<
"G4ElectroVDNuclearModel handles the inelastic scattering\n"
106 <<
"of e- and e+ from nuclei using the equivalent photon\n"
107 <<
"approximation in which the incoming lepton generates a\n"
108 <<
"virtual photon at the electromagnetic vertex, and the\n"
109 <<
"virtual photon is converted to a real photon. At low\n"
110 <<
"energies, the photon interacts directly with the nucleus\n"
111 <<
"using the Bertini cascade. At high energies the photon\n"
112 <<
"is converted to a pi0 which interacts using the FTFP\n"
113 <<
"model. The electro- and gamma-nuclear cross sections of\n"
114 <<
"M. Kossov are used to generate the virtual photon spectrum\n";
139 if (photonEnergy < leptonKE) {
143 if (photonEnergy > photonQ2/dM) {
147 if (transferredPhoton) CalculateHadronicVertex(transferredPhoton, targetNucleus);
155G4ElectroVDNuclearModel::CalculateEMVertex(
const G4HadProjectile& aTrack,
169 photon.SetKineticEnergy(photonEnergy - photonQ2/dM);
181 G4double finE = iniE - photonEnergy;
183 G4double iniP = std::sqrt(iniE*iniE-mProj2);
184 G4double finP = std::sqrt(finE*finE-mProj2);
185 G4double cost = (iniE*finE - mProj2 - photonQ2/2.)/iniP/finP;
186 if (cost > 1.) cost= 1.;
187 if (cost < -1.) cost=-1.;
188 G4double sint = std::sqrt(1.-cost*cost);
202 photonEnergy, photonMomentum);
214 if (gammaE < 10*GeV) {
220 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)
static G4CrossSectionDataSetRegistry * Instance()
const G4ThreeVector & GetMomentumDirection() const
G4double GetTotalEnergy() const
static const char * Default_Name()
G4double GetEquivalentPhotonQ2(G4double nu)
G4double GetEquivalentPhotonEnergy()
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *mat)
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
G4HadronicInteraction * FindModel(const G4String &name)
static G4HadronicInteractionRegistry * Instance()
G4HadFinalState theParticleChange
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4Neutron * Neutron()
G4double GetPDGMass() const
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *)
static const char * Default_Name()
static G4PionZero * PionZero()
static G4Proton * Proton()
void SetTransport(G4VIntraNuclearTransportModel *const value)
void SetHighEnergyGenerator(G4VHighEnergyGenerator *const value)
G4HadFinalState * ApplyYourself(const G4HadProjectile &thePrimary, G4Nucleus &theNucleus) override
void SetDeExcitation(G4VPreCompoundModel *ptr)
void SetFragmentationModel(G4VStringFragmentation *aModel)