126 G4cout <<
"G4eeToHadronsModel: Cross sections per electron"
127 <<
" nbins= " <<
nbins
137 <<
" crossBorn(nb)= " << s2/
nanobarn
202 G4int np = newp->size();
203 for(
G4int j=0; j<np; ++j) {
218 newp->push_back(gamma);
220 G4cout <<
"G4eeToHadronsModel::SampleSecondaries: Ebalance(MeV)= "
221 << t/
MeV <<
" primary 4-momentum: " << inlv <<
G4endl;
241 cs += s1*(del*
G4Exp(
G4Log(x1)*bt) - bt*(x1 - 0.25*x1*x1));
249 for(
G4int j=i-2; j>=0; --j) {
253 w1 = bt*(del*
G4Exp(
G4Log(x1)*btm1) - 1.0 + 0.5*x1);
254 cs += 0.5*(x1 - x2)*(w2*s2 + w1*s1);
318 const G4int iimax = 1000;
330 G4cout <<
"G4DynamicParticle* G4eeToHadronsModel:WARNING "
331 << f <<
" > " << grej <<
" majorant is`small!"
334 if(++ii >= iimax) {
break; }
static const G4double e1[44]
static const G4double e2[44]
static const G4int LL[nN]
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double G4Log(G4double x)
CLHEP::HepLorentzVector G4LorentzVector
static constexpr double nanobarn
static constexpr double MeV
static constexpr double pi
G4GLOB_DLL std::ostream G4cout
void set(double x, double y, double z)
Hep3Vector boostVector() const
HepLorentzVector & boost(double, double, double)
const G4ThreeVector & GetMomentumDirection() const
G4LorentzVector Get4Momentum() const
G4double GetKineticEnergy() const
void Set4Momentum(const G4LorentzVector &momentum)
G4double GetElectronDensity() const
void PutValue(const std::size_t index, const G4double value)
G4double Energy(const std::size_t index) const
G4double Value(const G4double energy, std::size_t &lastidx) const
std::size_t GetVectorLength() const
G4double LowEnergyLimit() const
G4double HighEnergyLimit() const
G4PhysicsVector * PhysicsVector() const
G4double LowEnergy() const
virtual G4double ComputeCrossSection(G4double) const =0
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, G4double, const G4ThreeVector &)=0
virtual G4double PeakEnergy() const =0
G4double HighEnergy() const
void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
G4double ComputeCrossSectionPerElectron(const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0.0, G4double maxEnergy=DBL_MAX) override
G4DynamicParticle * GenerateCMPhoton(G4double)
G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition *, G4double kineticEnergy, G4double Z, G4double A, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX) override
G4double CrossSectionPerVolume(const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy, G4double maxEnergy) override
void ComputeCMCrossSectionPerElectron()
~G4eeToHadronsModel() override
G4PhysicsVector * crossPerElectron
G4eeToHadronsModel(G4Vee2hadrons *, G4int ver=0, const G4String &nam="eeToHadrons")
G4PhysicsVector * crossBornPerElectron
const G4ParticleDefinition * theGamma
static constexpr double MeV
G4double energy(const ThreeVector &p, const G4double m)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
T min(const T t1, const T t2)
brief Return the smallest of the two arguments