86 {0.03377,0.16940,0.38069,0.61931,0.83060,0.96623};
88 {0.08566,0.18038,0.23396,0.23396,0.18038,0.08566};
95 sqrte(sqrt(
G4Exp(1.))),
100 fParticleChange(nullptr),
101 lowestKinEnergy(1.0*GeV),
102 minThreshold(0.9*keV)
112 for(
G4int i=1; i<93; ++i) {
179 G4double cut = std::min(cutEnergy,tmax);
183 const G4double* theAtomicNumDensityVector =
192 dedx += loss*theAtomicNumDensityVector[i];
195 if(dedx < 0.) dedx = 0.;
206 static const G4int k2=5;
214 if(vcut>vmax) { bbb = vmax; }
216 if(kkk < 1) { kkk = 1; }
221 for(
G4int l=0; l<kkk; l++)
223 for(
G4int i=0; i<6; i++)
231 loss *=hhh*totalEnergy ;
245 static const G4int k2 = 4;
248 if(cut >= tkin)
return cross;
256 if(kkk < 1) { kkk = 1; }
262 for(
G4int l=0; l<kkk; l++)
264 for(
G4int i=0; i<6; i++)
289 if(gammaEnergy > tkin) {
return dxsection; }
297 if(iz < 1) { iz = 1; }
298 else if(iz > 92) { iz = 92; }
315 G4double fn=
G4Log(rab1/(dnstar*(electron_mass_c2+rab0*rab1))*
317 if(fn <0.) { fn = 0.; }
321 if(gammaEnergy<epmax1)
325 (electron_mass_c2+rab0*rab2))) ;
329 dxsection =
coeff*(1.-v*(1. - 0.75*v))*Z*(fn*Z +
fe)/gammaEnergy;
345 G4double tmax = std::min(maxEnergy, kineticEnergy);
346 G4double cut = std::min(cutEnergy, kineticEnergy);
348 if (cut >= tmax)
return cross;
351 if(tmax < kineticEnergy) {
360 std::vector<G4DynamicParticle*>* vdp,
368 G4double tmax = std::min(kineticEnergy, maxEnergy);
369 G4double tmin = std::min(kineticEnergy, minEnergy);
371 if(tmin >= tmax)
return;
392 epksi = CLHEP::MeV*
G4Exp(lnepksi);
410 vdp->push_back(gamma);
414 std::sqrt(kineticEnergy*(kineticEnergy + 2.0*
mass));
417 const G4double finalE = kineticEnergy - gEnergy;
425 vdp->push_back(newdp);
std::vector< G4Element * > G4ElementVector
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double G4Log(G4double x)
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
const G4Material * GetMaterial() const
const G4ElementVector * GetElementVector() const
size_t GetNumberOfElements() const
const G4double * GetAtomicNumDensityVector() const
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
virtual G4double MinEnergyCut(const G4ParticleDefinition *, const G4MaterialCutsCouple *) override
G4MuBremsstrahlungModel(const G4ParticleDefinition *p=nullptr, const G4String &nam="MuBrem")
virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition *, G4double kineticEnergy, G4double Z, G4double A, G4double cutEnergy, G4double maxEnergy) override
void SetParticle(const G4ParticleDefinition *)
static const G4double xgi[6]
virtual G4double ComputeDMicroscopicCrossSection(G4double tkin, G4double Z, G4double gammaEnergy)
static const G4double wgi[6]
G4double ComputeMicroscopicCrossSection(G4double tkin, G4double Z, G4double cut)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
virtual G4double ComputeDEDXPerVolume(const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy) override
G4ParticleDefinition * theGamma
G4ParticleChangeForLoss * fParticleChange
virtual void InitialiseLocal(const G4ParticleDefinition *, G4VEmModel *masterModel) override
G4double ComputMuBremLoss(G4double Z, G4double tkin, G4double cut)
virtual G4double MinPrimaryEnergy(const G4Material *, const G4ParticleDefinition *, G4double) override
const G4ParticleDefinition * particle
G4double GetA27(G4int Z) const
G4double GetZ13(G4double Z) const
static G4NistManager * Instance()
void SetProposedKineticEnergy(G4double proposedKinEnergy)
void SetProposedMomentumDirection(const G4ThreeVector &dir)
virtual G4ThreeVector & SampleDirection(const G4DynamicParticle *dp, G4double finalTotalEnergy, G4int Z, const G4Material *)=0
void SetElementSelectors(std::vector< G4EmElementSelector * > *)
G4VEmAngularDistribution * GetAngularDistribution()
std::vector< G4EmElementSelector * > * GetElementSelectors()
G4double HighEnergyLimit() const
const G4Element * SelectRandomAtom(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
void SetAngularDistribution(G4VEmAngularDistribution *)
void InitialiseElementSelectors(const G4ParticleDefinition *, const G4DataVector &)
G4double SecondaryThreshold() const
G4ParticleChangeForLoss * GetParticleChangeForLoss()
void ProposeTrackStatus(G4TrackStatus status)