53#ifndef G4EmCorrections_h
54#define G4EmCorrections_h 1
245 std::vector<const G4ParticleDefinition*>
ionList;
247 std::map< G4int, std::vector<G4double> >
thcorr;
269#ifdef G4MULTITHREADED
279 do {--iddd;}
while (iddd>0 && x<y[iddd]);
286 return y1 + (y2 - y1)*(xv - x1)/(x2 - x1);
295 return ( z11*(x2-xv)*(y2-yv) + z22*(xv-x1)*(yv-y1) +
296 z12*(x2-xv)*(yv-y1) + z21*(xv-x1)*(y2-yv) )
std::vector< const G4Element * > G4ElementVector
G4double EffectiveChargeSquareRatio(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
void SetIonisationModels(G4VEmModel *mod1=nullptr, G4VEmModel *mod2=nullptr)
G4double LShellCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
static G4double CK[20][29]
void AddStoppingData(G4int Z, G4int A, const G4String &materialName, G4PhysicsVector *dVector)
std::vector< const G4ParticleDefinition * > ionList
const G4Material * material
G4double MottCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
const G4ParticleDefinition * curParticle
G4double KShellCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
const G4Material * curMaterial
G4PhysicsVector * curVector
G4double IonHighOrderCorrections(const G4ParticleDefinition *, const G4MaterialCutsCouple *, G4double kineticEnergy)
void BuildCorrectionVector()
G4double BarkasCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
G4double Value(G4double xv, G4double x1, G4double x2, G4double y1, G4double y2) const
std::vector< G4String > materialName
G4double ComputeIonCorrections(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
G4double IonBarkasCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
G4double Value2(G4double xv, G4double yv, G4double x1, G4double x2, G4double y1, G4double y2, G4double z11, G4double z21, G4double z12, G4double z22) const
G4double SpinCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
static const G4double ZD[11]
G4double HighOrderCorrections(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy, G4double cutEnergy)
G4EmCorrections & operator=(const G4EmCorrections &right)=delete
G4double KShell(G4double theta, G4double eta)
std::map< G4int, std::vector< G4double > > thcorr
static const G4double Eta[29]
std::vector< G4PhysicsVector * > stopData
static const G4double UL[26]
void SetVerbose(G4int verb)
static const G4double UK[20]
void InitialiseForNewRun()
G4int GetNumberOfStoppingVectors() const
G4int Index(G4double x, const G4double *y, G4int n) const
G4double ShellCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
const G4ElementVector * theElementVector
G4double Bethe(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
G4double GetParticleCharge(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
const G4ParticleDefinition * particle
G4double EffectiveChargeCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
std::vector< G4int > Zion
G4double ShellCorrectionSTD(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
static G4double CL[26][28]
const G4double * atomDensity
static G4PhysicsFreeVector * sBarkasCorr
void SetupKinematics(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
G4double LShell(G4double theta, G4double eta)
static G4PhysicsFreeVector * sThetaK
G4ionEffectiveCharge effCharge
G4double DensityCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
std::vector< const G4Material * > materialList
G4EmCorrections(const G4EmCorrections &)=delete
G4EmCorrections(G4int verb)
static const G4double VK[20]
static G4PhysicsFreeVector * sThetaL
G4double BlochCorrection(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
std::vector< G4int > Aion
std::vector< const G4Material * > currmat
G4double EffectiveCharge(const G4ParticleDefinition *p, const G4Material *material, G4double kineticEnergy)
G4double EffectiveChargeSquareRatio(const G4ParticleDefinition *p, const G4Material *material, G4double kineticEnergy)