95 mass = proton_mass_c2;
126 isInitialised =
true;
148 if(kinEnergy <= 0.0) {
return cross; }
176 std::vector<G4DynamicParticle*>* fvect,
206 kinEnergy, cutEnergy, kinEnergy) == 0.0)
226 G4double trec = mom2*(1.0 - cost)/(targetMass + (
mass + kinEnergy)*(1.0 - cost));
241 newDirection*sqrt(finalT*(2*
mass + finalT))).unit();
243 fvect->push_back(newdp);
Hep3Vector & rotateUz(const Hep3Vector &)
const G4ThreeVector & GetMomentumDirection() const
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
static G4NistManager * Instance()
static G4double GetNuclearMass(const G4double A, const G4double Z)
void SetProposedKineticEnergy(G4double proposedKinEnergy)
void ProposeMomentumDirection(G4double Px, G4double Py, G4double Pz)
static G4ParticleTable * GetParticleTable()
G4ParticleDefinition * GetIon(G4int atomicNumber, G4int atomicMass, G4double excitationEnergy)
const std::vector< G4double > * GetEnergyCutsVector(size_t pcIdx) const
static G4ProductionCutsTable * GetProductionCutsTable()
static G4Proton * Proton()
G4double PolarAngleLimit() const
G4ParticleChangeForGamma * GetParticleChangeForGamma()
const G4Element * SelectRandomAtom(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
G4int SelectIsotopeNumber(const G4Element *)
const G4MaterialCutsCouple * CurrentCouple() const
void InitialiseElementSelectors(const G4ParticleDefinition *, const G4DataVector &)
void ProposeNonIonizingEnergyDeposit(G4double anEnergyPart)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
void SetTargetMass(G4double value)
G4double SetupTarget(G4int Z, G4double cut=DBL_MAX)
G4ThreeVector SampleSingleScattering(G4double CosThetaMin, G4double CosThetaMax, G4double elecRatio=0.0)
G4double GetMomentumSquare() const
void Initialise(const G4ParticleDefinition *, G4double CosThetaLim)
G4double SetupKinematic(G4double kinEnergy, const G4Material *mat)
G4double ComputeNuclearCrossSection(G4double CosThetaMin, G4double CosThetaMax)
G4double ComputeElectronCrossSection(G4double CosThetaMin, G4double CosThetaMax)
void SetupParticle(const G4ParticleDefinition *)
virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A, G4double cut, G4double emax)
const G4Material * currentMaterial
G4ParticleTable * theParticleTable
const G4MaterialCutsCouple * currentCouple
G4double lowEnergyThreshold
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
const G4ParticleDefinition * theProton
void DefineMaterial(const G4MaterialCutsCouple *)
virtual ~G4hCoulombScatteringModel()
G4WentzelVIRelXSection * wokvi
G4NistManager * fNistManager
const std::vector< G4double > * pCuts
G4hCoulombScatteringModel(const G4String &nam="eCoulombScattering")
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
const G4ParticleDefinition * particle
G4int currentMaterialIndex
G4ParticleChangeForGamma * fParticleChange