78 else if (secKinetic <= 200.*eV)
86 (1.-secKinetic/k)/(1.+secKinetic/(2.*electron_mass_c2));
87 cosTheta = std::sqrt(1.-sin2O);
93 G4double maxSecKinetic = 4.* (electron_mass_c2 / mass) * k;
99 if (secKinetic>100*eV) cosTheta = std::sqrt(secKinetic / maxSecKinetic);
103 G4double sint = sqrt((1.0 - cosTheta)*(1.0 + cosTheta));
void set(double x, double y, double z)
Hep3Vector & rotateUz(const Hep3Vector &)
virtual G4ThreeVector & SampleDirectionForShell(const G4DynamicParticle *dp, G4double kinEnergyFinal, G4int Z, G4int shellIdx, const G4Material *mat=0)
G4DNABornAngle(const G4String &name="")
virtual G4ThreeVector & SampleDirection(const G4DynamicParticle *dp, G4double kinEnergyFinal, G4int Z, const G4Material *mat=0)
virtual ~G4DNABornAngle()
void PrintGeneratorInformation() const
const G4ThreeVector & GetMomentumDirection() const
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
static G4Electron * Electron()
G4double GetPDGMass() const
G4ThreeVector fLocalDirection