54 #ifndef G4WentzelOKandVIxSection_h
55 #define G4WentzelOKandVIxSection_h 1
115 void ComputeMaxElectronScattering(
G4double cut);
179 static G4double ScreenRSquareElec[100];
189 if(ekin != tkin || mat != currentMaterial) {
190 currentMaterial = mat;
192 mom2 = tkin*(tkin + 2.0*mass);
193 invbeta2 = 1.0 + mass*mass/mom2;
194 factB = spin/invbeta2;
195 cosTetMaxNuc = cosThetaMax;
197 cosTetMaxNuc =
std::max(cosTetMaxNuc,
209 factD = std::sqrt(mom2)/
value;
230 return cosTetMaxElec;
240 if(cosTMax < cosTMin) {
241 xsec = targetZ*kinFactor*(cosTMin - cosTMax)/
242 ((1.0 - cosTMin + screenZ)*(1.0 - cosTMax + screenZ));
257 xsec = kinFactor*(cost1 - cost2)/
258 ((1.0 - cost1 + screenZ)*(1.0 - cost2 + screenZ));
265 return 3*(std::sin(x) - x*std::cos(x))/(x*x*x);
void SetupParticle(const G4ParticleDefinition *)
G4IonisParamMat * GetIonisation() const
void SetTargetMass(G4double value)
G4WentzelOKandVIxSection(G4bool combined=true)
G4double ComputeSecondTransportMoment(G4double CosThetaMax)
G4double GetMomentumSquare() const
G4double SetupTarget(G4int Z, G4double cut=DBL_MAX)
virtual ~G4WentzelOKandVIxSection()
G4double ComputeTransportCrossSectionPerAtom(G4double CosThetaMax)
const XML_Char int const XML_Char * value
G4double GetCosThetaNuc() const
G4double GetInvA23() const
G4double SetupKinematic(G4double kinEnergy, const G4Material *mat)
G4double GetCosThetaElec() const
G4double ComputeElectronCrossSection(G4double CosThetaMin, G4double CosThetaMax)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4double ComputeNuclearCrossSection(G4double CosThetaMin, G4double CosThetaMax)
void Initialise(const G4ParticleDefinition *, G4double CosThetaLim)
G4ThreeVector & SampleSingleScattering(G4double CosThetaMin, G4double CosThetaMax, G4double elecRatio=0.0)