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