87 theIonEffChargeModel(0),
88 theNuclearStoppingModel(0),
89 theIonChuFluctuationModel(0),
90 theIonYangFluctuationModel(0),
91 protonTable(
"ICRU_R49p"),
92 antiprotonTable(
"ICRU_R49p"),
93 theNuclearTable(
"ICRU_R49"),
96 theMeanFreePathTable(0),
97 paramStepLimit (0.005),
98 pixeCrossSectionHandler(0)
105void G4hImpactIonisation::InitializeMe()
111 protonLowEnergy = 1.*keV ;
112 protonHighEnergy = 100.*MeV ;
113 antiprotonLowEnergy = 25.*keV ;
114 antiprotonHighEnergy = 2.*MeV ;
115 minGammaEnergy = 100 * eV;
116 minElectronEnergy = 250.* eV;
122 eMaxPixe = 200. * MeV;
124 G4String defaultPixeModel(
"ecpssr");
125 modelK = defaultPixeModel;
126 modelL = defaultPixeModel;
127 modelM = defaultPixeModel;
133 if (theMeanFreePathTable)
136 delete theMeanFreePathTable;
139 if (betheBlochModel)
delete betheBlochModel;
140 if (protonModel)
delete protonModel;
141 if (antiprotonModel)
delete antiprotonModel;
142 if (theNuclearStoppingModel)
delete theNuclearStoppingModel;
143 if (theIonEffChargeModel)
delete theIonEffChargeModel;
144 if (theIonChuFluctuationModel)
delete theIonChuFluctuationModel;
145 if (theIonYangFluctuationModel)
delete theIonYangFluctuationModel;
147 delete pixeCrossSectionHandler;
163 SetProtonElectronicStoppingPowerModel(dedxTable) ;
168 SetAntiProtonElectronicStoppingPowerModel(dedxTable) ;
174void G4hImpactIonisation::InitializeParametrisation()
180 protonHighEnergy = std::min(protonHighEnergy,protonModel->
HighEnergyLimit(0, 0));
198 G4cout <<
"G4hImpactIonisation::BuildPhysicsTable for "
200 <<
" mass(MeV)= " << particleDef.
GetPDGMass()/MeV
209 G4cout <<
" 0: " << (*pv)[0]->GetProcessName() <<
" " << (*pv)[0]
210 <<
" 1: " << (*pv)[1]->GetProcessName() <<
" " << (*pv)[1]
213 G4cout <<
"ionModel= " << theIonEffChargeModel
214 <<
" MFPtable= " << theMeanFreePathTable
215 <<
" iniMass= " << initialMass
241 InitializeParametrisation() ;
246 chargeSquare = charge*charge ;
255 for (
G4int j=0; j<numOfCouples; ++j) {
267 tCut = std::max(tCut,excEnergy);
268 cutForDelta.push_back(tCut);
273 tCut = std::max(tCut,minGammaEnergy);
274 cutForGamma.push_back(tCut);
284 BuildLossTable(*proton) ;
295 BuildLossTable(*antiproton) ;
307 G4cout <<
"G4hImpactIonisation::BuildPhysicsTable: "
308 <<
"Loss table is built "
313 BuildLambdaTable(particleDef) ;
321 G4cout <<
"G4hImpactIonisation::BuildPhysicsTable: "
322 <<
"DEDX table will be built "
337 G4cout <<
"G4hImpactIonisation::BuildPhysicsTable: end for "
350 G4double lowEdgeEnergy , ionloss, ionlossBB, paramB ;
355 if (particleDef == *proton)
358 highEnergy = protonHighEnergy ;
364 highEnergy = antiprotonHighEnergy ;
382 for (
G4int j=0; j<numOfCouples; ++j) {
393 if ( charge > 0.0 ) {
394 ionloss = ProtonParametrisedDEDX(couple,highEnergy) ;
396 ionloss = AntiProtonParametrisedDEDX(couple,highEnergy) ;
399 ionlossBB = betheBlochModel->
TheValue(&particleDef,material,highEnergy) ;
400 ionlossBB -= DeltaRaysEnergy(couple,highEnergy,proton_mass_c2) ;
403 paramB = ionloss/ionlossBB - 1.0 ;
410 if ( lowEdgeEnergy < highEnergy ) {
412 if ( charge > 0.0 ) {
413 ionloss = ProtonParametrisedDEDX(couple,lowEdgeEnergy) ;
415 ionloss = AntiProtonParametrisedDEDX(couple,lowEdgeEnergy) ;
421 ionloss = betheBlochModel->
TheValue(proton,material,
424 ionloss -= DeltaRaysEnergy(couple,lowEdgeEnergy,proton_mass_c2) ;
426 ionloss *= (1.0 + paramB*highEnergy/lowEdgeEnergy) ;
431 G4cout <<
"E(MeV)= " << lowEdgeEnergy/MeV
432 <<
" dE/dx(MeV/mm)= " << ionloss*mm/MeV
452 G4cout <<
"G4hImpactIonisation::BuildLambdaTable for "
459 chargeSquare = charge*charge ;
467 if (theMeanFreePathTable) {
469 delete theMeanFreePathTable;
476 for (
G4int j=0 ; j < numOfCouples; ++j) {
503 for (
G4int iel=0; iel<numberOfElements; iel++ )
505 Z = (
G4int) (*theElementVector)[iel]->GetZ();
508 G4double microCross = MicroscopicCrossSection( particleDef,
513 sigma += theAtomicNumDensityVector[iel] * microCross ;
518 value = sigma<=0 ?
DBL_MAX : 1./sigma ;
523 theMeanFreePathTable->
insert(aVector);
546 G4double particleMass = initialMass;
551 G4double beta2 = 1. - 1. / (gamma * gamma);
552 G4double var = electron_mass_c2 / particleMass;
553 G4double tMax = 2. * electron_mass_c2 * (gamma*gamma - 1.) / (1. + 2.* gamma*var + var*var);
557 if ( tMax > deltaCutInEnergy )
559 var = deltaCutInEnergy / tMax;
560 totalCrossSection = (1. - var * (1. - beta2 * std::log(var))) / deltaCutInEnergy ;
567 totalCrossSection += 0.5 * (tMax - deltaCutInEnergy) / (energy*energy);
570 else if (spin > 0.9 )
572 totalCrossSection += -std::log(var) /
573 (3. * deltaCutInEnergy) + (tMax - deltaCutInEnergy) * ( (5. + 1. /var)*0.25 / (energy*energy) -
574 beta2 / (tMax * deltaCutInEnergy) ) / 3. ;
576 totalCrossSection *= twopi_mc2_rcl2 * atomicNumber / beta2 ;
582 return totalCrossSection ;
598 G4bool isOutRange =
false;
603 charge = dynamicParticle->
GetCharge()/eplus;
604 chargeSquare = theIonEffChargeModel->
TheValue(dynamicParticle, material);
613 meanFreePath = (((*theMeanFreePathTable)(couple->
GetIndex()))->
614 GetValue(kineticEnergy,isOutRange))/chargeSquare;
617 return meanFreePath ;
641 G4double tScaled = kineticEnergy*massRatio ;
646 highEnergy = protonHighEnergy ;
653 if (theBarkas && tScaled > highEnergy)
655 fBarkas = BarkasTerm(material,tScaled)*std::sqrt(chargeSquare)*chargeSquare
656 + BlochTerm(material,tScaled,chargeSquare);
662 highEnergy = antiprotonHighEnergy ;
667 if (theBarkas && tScaled > highEnergy)
669 fBarkas = -BarkasTerm(material,tScaled)*std::sqrt(chargeSquare)*chargeSquare
670 + BlochTerm(material,tScaled,chargeSquare);
685 fRangeNow /= (chargeSquare*massRatio) ;
686 dx /= (chargeSquare*massRatio) ;
688 stepLimit = fRangeNow ;
695 if (stepLimit > fRangeNow) stepLimit = fRangeNow;
698 if(tScaled > highEnergy )
703 if(stepLimit > fRangeNow - dx*0.9) stepLimit = fRangeNow - dx*0.9 ;
710 if (stepLimit > x) stepLimit = x;
737 G4double tScaled = kineticEnergy * massRatio ;
745 eLoss = kineticEnergy ;
751 eLoss = stepLength * fdEdx ;
754 else if (stepLength >= fRangeNow )
756 eLoss = kineticEnergy ;
765 G4double rScaled = fRangeNow * massRatio * chargeSquare ;
766 G4double sScaled = stepLength * massRatio * chargeSquare ;
783 eLoss += fBarkas * stepLength;
789 eLoss = stepLength *fdEdx ;
791 if (nStopping && tScaled < protonHighEnergy)
793 nLoss = (theNuclearStoppingModel->
TheValue(particle, material)) * stepLength;
797 if (eLoss < 0.0) eLoss = 0.0;
799 finalT = kineticEnergy - eLoss - nLoss;
805 eLoss = ElectronicLossFluctuation(particle, couple, eLoss, stepLength) ;
806 if (eLoss < 0.0) eLoss = 0.0;
807 finalT = kineticEnergy - eLoss - nLoss;
822 eLoss = kineticEnergy-finalT;
839 if(kineticEnergy < protonLowEnergy) {
840 eLoss = (protonModel->
TheValue(proton, material, protonLowEnergy))
841 * std::sqrt(kineticEnergy/protonLowEnergy) ;
845 eLoss = protonModel->
TheValue(proton, material, kineticEnergy) ;
849 eLoss -= DeltaRaysEnergy(couple,kineticEnergy,proton_mass_c2) ;
852 G4cout <<
"p E(MeV)= " << kineticEnergy/MeV
853 <<
" dE/dx(MeV/mm)= " << eLoss*mm/MeV
854 <<
" for " << material->
GetName()
855 <<
" model: " << protonModel <<
G4endl;
858 if(eLoss < 0.0) eLoss = 0.0 ;
874 if(antiprotonModel->
IsInCharge(antiproton,material)) {
875 if(kineticEnergy < antiprotonLowEnergy) {
876 eLoss = antiprotonModel->
TheValue(antiproton,material,antiprotonLowEnergy)
877 * std::sqrt(kineticEnergy/antiprotonLowEnergy) ;
881 eLoss = antiprotonModel->
TheValue(antiproton,material,
887 if(kineticEnergy < protonLowEnergy) {
889 * std::sqrt(kineticEnergy/protonLowEnergy) ;
900 eLoss -= DeltaRaysEnergy(couple,kineticEnergy,proton_mass_c2) ;
903 G4cout <<
"pbar E(MeV)= " << kineticEnergy/MeV
904 <<
" dE/dx(MeV/mm)= " << eLoss*mm/MeV
905 <<
" for " << material->
GetName()
906 <<
" model: " << protonModel <<
G4endl;
909 if(eLoss < 0.0) eLoss = 0.0 ;
925 G4double excitationEnergy = material->GetIonisation()->GetMeanExcitationEnergy();
927 G4double tau = kineticEnergy / particleMass ;
928 G4double rateMass = electron_mass_c2/particleMass ;
934 G4double beta2 = bg2/(gamma*gamma) ;
935 G4double tMax = 2.*electron_mass_c2*bg2/(1.0+2.0*gamma*rateMass+rateMass*rateMass) ;
938 G4double deltaCut = std::max(deltaCutNow, excitationEnergy);
940 if ( deltaCut < tMax)
943 dLoss = ( beta2 * (x-1.) - std::log(x) ) * twopi_mc2_rcl2 * electronDensity / beta2 ;
967 G4double totalEnergy = kineticEnergy + mass ;
968 G4double pSquare = kineticEnergy *( totalEnergy + mass) ;
969 G4double eSquare = totalEnergy * totalEnergy;
970 G4double betaSquare = pSquare / eSquare;
973 G4double gamma = kineticEnergy / mass + 1.;
974 G4double r = electron_mass_c2 / mass;
975 G4double tMax = 2. * electron_mass_c2 *(gamma*gamma - 1.) / (1. + 2.*gamma*r + r*r);
981 if (deltaCut >= tMax)
998 gRej = 1.0 - betaSquare * x ;
1000 else if (0.5 == spin)
1002 gRej = (1. - betaSquare * x + 0.5 * x*x * rate) / (1. + 0.5 * rate) ;
1006 gRej = (1. - betaSquare * x ) * (1. + x/(3.*xc)) +
1007 x*x * rate * (1. + 0.5*x/xc) / 3.0 /
1008 (1. + 1./(3.*xc) + rate *(1.+ 0.5/xc) / 3.);
1013 G4double deltaKineticEnergy = x * tMax;
1014 G4double deltaTotalMomentum = std::sqrt(deltaKineticEnergy *
1015 (deltaKineticEnergy + 2. * electron_mass_c2 ));
1016 G4double totalMomentum = std::sqrt(pSquare) ;
1017 G4double cosTheta = deltaKineticEnergy * (totalEnergy + electron_mass_c2) / (deltaTotalMomentum*totalMomentum);
1020 if ( cosTheta < -1. ) cosTheta = -1.;
1021 if ( cosTheta > 1. ) cosTheta = 1.;
1025 G4double sinTheta = std::sqrt(1. - cosTheta*cosTheta);
1026 G4double dirX = sinTheta * std::cos(phi);
1027 G4double dirY = sinTheta * std::sin(phi);
1031 deltaDirection.
rotateUz(particleDirection);
1038 deltaDirection.
z());
1042 G4double finalKineticEnergy = kineticEnergy - deltaKineticEnergy;
1043 std::size_t totalNumber = 1;
1049 std::size_t nSecondaries = 0;
1050 std::vector<G4DynamicParticle*>* secondaryVector = 0;
1057 if (pixeCrossSectionHandler == 0)
1062 pixeCrossSectionHandler =
1111 if (finalKineticEnergy >= bindingEnergy)
1127 if (secondaryVector != 0)
1129 nSecondaries = secondaryVector->size();
1130 for (std::size_t i = 0; i<nSecondaries; i++)
1148 if (e < finalKineticEnergy &&
1153 finalKineticEnergy -= e;
1180 (*secondaryVector)[i] = 0;
1195 G4double finalPx = totalMomentum*particleDirection.
x() - deltaTotalMomentum*deltaDirection.
x();
1196 G4double finalPy = totalMomentum*particleDirection.
y() - deltaTotalMomentum*deltaDirection.
y();
1197 G4double finalPz = totalMomentum*particleDirection.
z() - deltaTotalMomentum*deltaDirection.
z();
1198 G4double finalMomentum = std::sqrt(finalPx*finalPx + finalPy*finalPy + finalPz*finalPz) ;
1199 finalPx /= finalMomentum;
1200 finalPy /= finalMomentum;
1201 finalPz /= finalMomentum;
1207 eDeposit = finalKineticEnergy;
1208 finalKineticEnergy = 0.;
1210 particleDirection.
y(),
1211 particleDirection.
z());
1213 GetAtRestProcessVector()->size())
1236 if (secondaryVector != 0)
1238 for (std::size_t l = 0; l < nSecondaries; l++)
1257 delete secondaryVector;
1279 if (tScaled > protonHighEnergy)
1285 dedx = ProtonParametrisedDEDX(couple,tScaled) ;
1290 if (tScaled > antiprotonHighEnergy)
1296 dedx = AntiProtonParametrisedDEDX(couple,tScaled) ;
1299 dedx *= theIonEffChargeModel->
TheValue(aParticle, material, kineticEnergy) ;
1365 if(0.5*MeV > kinE) kinE = 0.5*MeV ;
1366 G4double gamma = 1.0 + kinE / proton_mass_c2 ;
1367 G4double beta2 = 1.0 - 1.0/(gamma*gamma) ;
1368 if(0.0 >= beta2)
return 0.0;
1373 const G4ElementVector* theElementVector = material->GetElementVector();
1374 G4int numberOfElements = (
G4int)material->GetNumberOfElements();
1376 for (
G4int i = 0; i<numberOfElements; i++) {
1379 ZMaterial = (*theElementVector)[i]->GetZ();
1381 G4double X = 137.0 * 137.0 * beta2 / ZMaterial;
1385 G4double EtaChi = Eta0Chi * ( 1.0 + 6.02*std::pow( ZMaterial,-1.19 ) );
1386 G4double W = ( EtaChi * std::pow( ZMaterial,1.0/6.0 ) ) / std::sqrt(X);
1387 G4double FunctionOfW = FTable[46][1]*FTable[46][0]/
W ;
1389 for(
G4int j=0; j<47; j++) {
1391 if(
W < FTable[j][0] ) {
1394 FunctionOfW = FTable[0][1] ;
1397 FunctionOfW = (FTable[j][1] - FTable[j-1][1]) * (
W - FTable[j-1][0])
1398 / (FTable[j][0] - FTable[j-1][0])
1407 BTerm += FunctionOfW /( std::sqrt(ZMaterial * X) * X);
1410 BTerm *= twopi_mc2_rcl2 * (material->GetElectronDensity()) / beta2 ;
1428 G4double gamma = 1.0 + kineticEnergy / proton_mass_c2 ;
1429 G4double beta2 = 1.0 - 1.0/(gamma*gamma) ;
1430 G4double y = cSquare / (137.0*137.0*beta2) ;
1436 eLoss = 1.0 / (1.0 + y) ;
1439 for(
G4int i=2; de>eLoss*0.01; i++) {
1440 de = 1.0/( i * (i*i + y)) ;
1444 eLoss *= -1.0 * y * cSquare * twopi_mc2_rcl2 *
1445 (material->GetElectronDensity()) / beta2 ;
1452G4double G4hImpactIonisation::ElectronicLossFluctuation(
1466 static const G4double minLoss = 1.*eV ;
1467 static const G4double kappa = 10. ;
1468 static const G4double theBohrBeta2 = 50.0 * keV/proton_mass_c2 ;
1479 G4double deltaCutInKineticEnergyNow = cutForDelta[imaterial];
1482 if(meanLoss < minLoss)
return meanLoss ;
1485 G4double threshold = std::max(deltaCutInKineticEnergyNow,ipotFluct);
1488 G4double rmass = electron_mass_c2/particleMass;
1492 G4double tMax = 2.*electron_mass_c2*tau2/(1.+2.*tau1*rmass+rmass*rmass);
1495 if(tMax > threshold) tMax = threshold;
1499 if(meanLoss > kappa*tMax || tMax < kappa*ipotFluct )
1501 siga = tMax * (1.0-0.5*beta2) * step * twopi_mc2_rcl2
1502 * electronDensity / beta2 ;
1505 if( beta2 > 3.0*theBohrBeta2*zeff || charge < 0.0) {
1506 siga = std::sqrt( siga * chargeSquare ) ;
1511 G4double chu = theIonChuFluctuationModel->TheValue(particle, material);
1512 G4double yang = theIonYangFluctuationModel->TheValue(particle, material);
1513 siga = std::sqrt( siga * (chargeSquare * chu + yang)) ;
1517 loss = G4RandGauss::shoot(meanLoss,siga);
1518 }
while (loss < 0. || loss > 2.0*meanLoss);
1523 static const G4double probLim = 0.01 ;
1524 static const G4double sumaLim = -std::log(probLim) ;
1531 G4double corrfac, na,alfa,rfac,namean,sa,alfa1,ea,sea;
1543 w1 = tMax/ipotFluct;
1544 w2 = std::log(2.*electron_mass_c2*tau2);
1546 C = meanLoss*(1.-rateFluct)/(w2-ipotLogFluct-beta2);
1548 a1 =
C*f1Fluct*(w2-e1LogFluct-beta2)/e1Fluct;
1549 a2 =
C*f2Fluct*(w2-e2LogFluct-beta2)/e2Fluct;
1550 a3 = rateFluct*meanLoss*(tMax-ipotFluct)/(ipotFluct*tMax*std::log(w1));
1551 if(a1 < 0.0) a1 = 0.0;
1552 if(a2 < 0.0) a2 = 0.0;
1553 if(a3 < 0.0) a3 = 0.0;
1564 if(tMax == ipotFluct)
1570 siga=std::sqrt(a3) ;
1571 p3 = std::max(0,
G4int(G4RandGauss::shoot(a3,siga)+0.5));
1584 tMax = tMax-ipotFluct+e0 ;
1585 a3 = meanLoss*(tMax-e0)/(tMax*e0*std::log(tMax/e0));
1589 siga=std::sqrt(a3) ;
1590 p3 = std::max(0,
int(G4RandGauss::shoot(a3,siga)+0.5));
1597 w = (tMax-e0)/tMax ;
1601 corrfac = dp3/
G4float(nmaxCont2) ;
1602 p3 =
G4int(nmaxCont2) ;
1608 loss *= e0*corrfac ;
1618 siga=std::sqrt(a1) ;
1619 p1 = std::max(0,
G4int(G4RandGauss::shoot(a1,siga)+0.5));
1627 siga=std::sqrt(a2) ;
1628 p2 = std::max(0,
G4int(G4RandGauss::shoot(a2,siga)+0.5));
1633 loss = p1*e1Fluct+p2*e2Fluct;
1646 siga=std::sqrt(a3) ;
1647 p3 = std::max(0,
G4int(G4RandGauss::shoot(a3,siga)+0.5));
1660 rfac = dp3/(
G4float(nmaxCont2)+dp3);
1663 na = G4RandGauss::shoot(namean,sa);
1666 alfa = w1*
G4float(nmaxCont2+p3)/
1668 alfa1 = alfa*std::log(alfa)/(alfa-1.);
1669 ea = na*ipotFluct*alfa1;
1670 sea = ipotFluct*std::sqrt(na*(alfa-alfa1*alfa1));
1671 lossc += G4RandGauss::shoot(ea,sea);
1678 w2 = alfa*ipotFluct;
1694 minGammaEnergy = cut;
1701 minElectronEnergy = cut;
1715 G4String comments =
" Knock-on electron cross sections . ";
1716 comments +=
"\n Good description above the mean excitation energy.\n";
1717 comments +=
" Delta ray energy sampled from differential Xsection.";
1722 <<
" in " <<
TotBin <<
" bins."
1723 <<
"\n Electronic stopping power model is "
1725 <<
"\n from " << protonLowEnergy / keV <<
" keV "
1726 <<
" to " << protonHighEnergy / MeV <<
" MeV " <<
"." <<
G4endl ;
1727 G4cout <<
"\n Parametrisation model for antiprotons is "
1729 <<
"\n from " << antiprotonLowEnergy / keV <<
" keV "
1730 <<
" to " << antiprotonHighEnergy / MeV <<
" MeV " <<
"." <<
G4endl ;
1732 G4cout <<
" Parametrization of the Barkas effect is switched on."
1736 G4cout <<
" Nuclear stopping power model is " << theNuclearTable
1748 for (
G4int j=0 ; j < numOfCouples; ++j) {
1755 if(excitationEnergy > deltaCutNow) {
1759 G4cout <<
" material min.delta energy(keV) " <<
G4endl;
1764 << std::setw(15) << excitationEnergy/keV <<
G4endl;
std::vector< const G4Element * > G4ElementVector
G4double condition(const G4ErrorSymMatrix &m)
G4long G4Poisson(G4double mean)
G4GLOB_DLL std::ostream G4cout
Hep3Vector & rotateUz(const Hep3Vector &)
static G4AntiProton * AntiProton()
void ActivateAugerElectronProduction(G4bool val)
Set threshold energy for Auger electron production.
std::vector< G4DynamicParticle * > * GenerateParticles(G4int Z, G4int shellId)
G4double BindingEnergy() const
G4AtomicShell * Shell(G4int Z, size_t shellIndex) const
static G4AtomicTransitionManager * Instance()
void SetMomentumDirection(const G4ThreeVector &aDirection)
const G4ThreeVector & GetMomentumDirection() const
G4double GetCharge() const
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
void SetKineticEnergy(G4double aEnergy)
static G4Electron * Electron()
static G4double GetRange(const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4Material *aMaterial)
static void Register(const G4ParticleDefinition *p, const G4PhysicsTable *tDEDX, const G4PhysicsTable *tRange, const G4PhysicsTable *tInverseRange, const G4PhysicsTable *tLabTime, const G4PhysicsTable *tProperTime, G4double lowestKineticEnergy, G4double highestKineticEnergy, G4double massRatio, G4int NumberOfBins)
static G4double GetDEDX(const G4ParticleDefinition *aParticle, G4double KineticEnergy, const G4Material *aMaterial)
static G4double GetPreciseEnergyFromRange(const G4ParticleDefinition *aParticle, G4double range, const G4Material *aMaterial)
G4double GetF2fluct() const
G4double GetLogEnergy1fluct() const
G4double GetLogEnergy2fluct() const
G4double GetMeanExcitationEnergy() const
G4double GetF1fluct() const
G4double GetEnergy2fluct() const
G4double GetEnergy1fluct() const
G4double GetRateionexcfluct() const
G4double GetEnergy0fluct() const
G4double GetLogMeanExcEnergy() const
const G4Material * GetMaterial() const
G4ProductionCuts * GetProductionCuts() const
const G4ElementVector * GetElementVector() const
G4double GetTotNbOfAtomsPerVolume() const
G4IonisParamMat * GetIonisation() const
size_t GetNumberOfElements() const
const G4double * GetAtomicNumDensityVector() const
G4double GetElectronDensity() const
const G4String & GetName() const
void AddSecondary(G4Track *aSecondary)
void Initialize(const G4Track &) override
void ProposeEnergy(G4double finalEnergy)
void ProposeMomentumDirection(G4double Px, G4double Py, G4double Pz)
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleType() const
G4double GetPDGMass() const
G4double GetPDGCharge() const
const G4String & GetParticleName() const
const G4String & GetParticleSubType() const
G4double GetPDGSpin() const
void insert(G4PhysicsVector *)
G4double GetLowEdgeEnergy(const std::size_t index) const
void PutValue(const std::size_t index, const G4double value)
G4int SelectRandomShell(G4int Z, G4double e) const
void LoadShellData(const G4String &dataFile)
G4int SelectRandomAtom(const G4Material *material, G4double e) const
G4ProcessVector * GetProcessList() const
G4ProcessVector * GetAtRestProcessVector(G4ProcessVectorTypeIndex typ=typeGPIL) const
const G4MaterialCutsCouple * GetMaterialCutsCouple(G4int i) const
std::size_t GetTableSize() const
const std::vector< G4double > * GetEnergyCutsVector(std::size_t pcIdx) const
static G4ProductionCutsTable * GetProductionCutsTable()
G4double GetProductionCut(G4int index) const
static G4Proton * ProtonDefinition()
static G4Proton * Proton()
G4double GetStepLength() const
G4ParticleDefinition * GetDefinition() const
const G4DynamicParticle * GetDynamicParticle() const
const G4MaterialCutsCouple * GetMaterialCutsCouple() const
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
virtual G4double HighEnergyLimit(const G4ParticleDefinition *aParticle, const G4Material *material) const =0
virtual G4bool IsInCharge(const G4DynamicParticle *particle, const G4Material *material) const =0
virtual G4double TheValue(const G4DynamicParticle *particle, const G4Material *material)=0
void ProposeTrackStatus(G4TrackStatus status)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
void SetNumberOfSecondaries(G4int totSecondaries)
G4ParticleChange aParticleChange
const G4String & GetProcessName() const
void BuildPhysicsTable(const G4ParticleDefinition &aParticleType)
G4double ComputeDEDX(const G4ParticleDefinition *aParticle, const G4MaterialCutsCouple *couple, G4double kineticEnergy)
void SetCutForAugerElectrons(G4double cut)
void PrintInfoDefinition() const
G4VParticleChange * AlongStepDoIt(const G4Track &trackData, const G4Step &stepData)
void SetElectronicStoppingPowerModel(const G4ParticleDefinition *aParticle, const G4String &dedxTable)
G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &Step)
G4double GetMeanFreePath(const G4Track &track, G4double previousStepSize, enum G4ForceCondition *condition)
void SetCutForSecondaryPhotons(G4double cut)
void ActivateAugerElectronProduction(G4bool val)
G4hImpactIonisation(const G4String &processName="hImpactIoni")
static G4ThreadLocal G4PhysicsTable * theDEDXpTable
static G4ThreadLocal G4PhysicsTable * theInverseRangepTable
static G4ThreadLocal G4double finalRange
G4double MinKineticEnergy
static G4ThreadLocal G4PhysicsTable ** RecorderOfpProcess
static G4ThreadLocal G4double dRoverRange
static G4ThreadLocal G4int TotBin
static G4ThreadLocal G4PhysicsTable * theProperTimepTable
G4PhysicsTable * theLossTable
static G4ThreadLocal G4PhysicsTable * theLabTimepTable
static G4ThreadLocal G4PhysicsTable * theRangepTable
static G4ThreadLocal G4int CounterOfpProcess
static G4ThreadLocal G4double HighestKineticEnergy
static G4ThreadLocal G4int CounterOfpbarProcess
static G4ThreadLocal G4PhysicsTable ** RecorderOfpbarProcess
static G4ThreadLocal G4double LowestKineticEnergy
static G4ThreadLocal G4bool EnlossFlucFlag
G4bool CutsWhereModified()
static void BuildDEDXTable(const G4ParticleDefinition &aParticleType)
G4double energy(const ThreeVector &p, const G4double m)