Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HETCProton Class Reference

#include <G4HETCProton.hh>

Inheritance diagram for G4HETCProton:

Public Member Functions

 G4HETCProton ()
 ~G4HETCProton () override=default
 G4HETCProton (const G4HETCProton &right)=delete
const G4HETCProtonoperator= (const G4HETCProton &right)=delete
G4bool operator== (const G4HETCProton &right) const =delete
G4bool operator!= (const G4HETCProton &right) const =delete
Public Member Functions inherited from G4HETCChargedFragment
 G4HETCChargedFragment (const G4ParticleDefinition *, G4VCoulombBarrier *)
 ~G4HETCChargedFragment () override=default
G4double SampleKineticEnergy (const G4Fragment &aFragment) override
 G4HETCChargedFragment (const G4HETCChargedFragment &right)=delete
const G4HETCChargedFragmentoperator= (const G4HETCChargedFragment &right)=delete
G4bool operator== (const G4HETCChargedFragment &right) const =delete
G4bool operator!= (const G4HETCChargedFragment &right) const =delete
Public Member Functions inherited from G4HETCFragment
 G4HETCFragment (const G4ParticleDefinition *, G4VCoulombBarrier *p=nullptr)
 ~G4HETCFragment () override=default
G4double CalcEmissionProbability (const G4Fragment &aFragment) override
 G4HETCFragment (const G4HETCFragment &right)=delete
const G4HETCFragmentoperator= (const G4HETCFragment &right)=delete
G4bool operator== (const G4HETCFragment &right) const =delete
G4bool operator!= (const G4HETCFragment &right) const =delete
Public Member Functions inherited from G4VPreCompoundFragment
 G4VPreCompoundFragment (const G4ParticleDefinition *, G4VCoulombBarrier *)
 ~G4VPreCompoundFragment () override
G4bool Initialize (const G4Fragment &aFragment)
G4double ProbabilityDensityFunction (G4double energy) override
G4ReactionProductGetReactionProduct () const
G4int GetA () const
G4int GetZ () const
G4int GetRestA () const
G4int GetRestZ () const
G4double GetBindingEnergy () const
G4double GetEnergyThreshold () const
G4double GetEmissionProbability () const
G4double GetNuclearMass () const
G4double GetRestNuclearMass () const
const G4LorentzVectorGetMomentum () const
void SetMomentum (const G4LorentzVector &lv)
void SetOPTxs (G4int)
void UseSICB (G4bool use)
 G4VPreCompoundFragment (const G4VPreCompoundFragment &right)=delete
const G4VPreCompoundFragmentoperator= (const G4VPreCompoundFragment &right)=delete
G4bool operator== (const G4VPreCompoundFragment &right) const =delete
G4bool operator!= (const G4VPreCompoundFragment &right) const =delete

Protected Member Functions

G4double GetAlpha () const override
G4double GetSpinFactor () const override
G4double K (const G4Fragment &aFragment) const override
Protected Member Functions inherited from G4HETCFragment
G4double BetaRand (G4int N, G4int L) const
Protected Member Functions inherited from G4VPreCompoundFragment
virtual G4double ProbabilityDistributionFunction (G4double, const G4Fragment &)
virtual G4double GetBeta () const

Additional Inherited Members

Protected Attributes inherited from G4VPreCompoundFragment
G4NuclearLevelDatafNucData
G4DeexPrecoParameterstheParameters
G4Powg4calc
G4InterfaceToXSfXSection {nullptr}
const G4FragmentpFragment {nullptr}
G4int theA
G4int theZ
G4int theResA {0}
G4int theResZ {0}
G4int theFragA {0}
G4int theFragZ {0}
G4int OPTxs
G4int index {0}
G4double theResA13 {0.0}
G4double theBindingEnergy {0.0}
G4double theMinKinEnergy {0.0}
G4double theMaxKinEnergy {0.0}
G4double theResMass {0.0}
G4double theReducedMass {0.0}
G4double theMass
G4double theEmissionProbability {0.0}
G4double theCoulombBarrier {0.0}
G4bool useSICB {true}

Detailed Description

Definition at line 39 of file G4HETCProton.hh.

Constructor & Destructor Documentation

◆ G4HETCProton() [1/2]

G4HETCProton::G4HETCProton ( )

Definition at line 37 of file G4HETCProton.cc.

38 : G4HETCChargedFragment(G4Proton::Proton(), new G4CoulombBarrier(1, 1))
39{}
G4HETCChargedFragment(const G4ParticleDefinition *, G4VCoulombBarrier *)
static G4Proton * Proton()
Definition G4Proton.cc:90

Referenced by G4HETCProton(), operator!=(), operator=(), and operator==().

◆ ~G4HETCProton()

G4HETCProton::~G4HETCProton ( )
overridedefault

◆ G4HETCProton() [2/2]

G4HETCProton::G4HETCProton ( const G4HETCProton & right)
delete

Member Function Documentation

◆ GetAlpha()

G4double G4HETCProton::GetAlpha ( ) const
overrideprotectedvirtual

Implements G4VPreCompoundFragment.

Definition at line 41 of file G4HETCProton.cc.

42{
43 G4double C = 0.0;
44 if (theResZ <= 70)
45 {
46 C = 0.10;
47 }
48 else
49 {
50 C = ((((0.15417e-06*theResZ) - 0.29875e-04)*theResZ
51 + 0.21071e-02)*theResZ - 0.66612e-01)*theResZ + 0.98375;
52 }
53 return 1.0 + C;
54}
G4double C(G4double temp)
double G4double
Definition G4Types.hh:83

◆ GetSpinFactor()

G4double G4HETCProton::GetSpinFactor ( ) const
overrideprotectedvirtual

Implements G4HETCFragment.

Definition at line 56 of file G4HETCProton.cc.

57{
58 // 2s+1
59 return 2.0;
60}

◆ K()

G4double G4HETCProton::K ( const G4Fragment & aFragment) const
overrideprotectedvirtual

Implements G4HETCFragment.

Definition at line 62 of file G4HETCProton.cc.

63{
64 // Number of protons in emitted fragment
65 G4int Pa = theZ;
66
68
69 G4int P = aFragment.GetNumberOfParticles();
70 G4int H = aFragment.GetNumberOfHoles();
71
72 G4double result = 0.0;
73 if (P > 0)
74 {
75 result = (H*r + Pa)/(P*r);
76 }
77
78 return std::max(0.0,result);
79}
int G4int
Definition G4Types.hh:85
G4int GetNumberOfParticles() const
G4int GetNumberOfHoles() const

◆ operator!=()

G4bool G4HETCProton::operator!= ( const G4HETCProton & right) const
delete

◆ operator=()

const G4HETCProton & G4HETCProton::operator= ( const G4HETCProton & right)
delete

◆ operator==()

G4bool G4HETCProton::operator== ( const G4HETCProton & right) const
delete

The documentation for this class was generated from the following files: