Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VPreCompoundFragment Class Referenceabstract

#include <G4VPreCompoundFragment.hh>

+ Inheritance diagram for G4VPreCompoundFragment:

Public Member Functions

 G4VPreCompoundFragment (const G4ParticleDefinition *, G4VCoulombBarrier *aCoulombBarrier)
 
virtual ~G4VPreCompoundFragment ()
 
void Initialize (const G4Fragment &aFragment)
 
virtual G4double CalcEmissionProbability (const G4Fragment &aFragment)=0
 
virtual G4double SampleKineticEnergy (const G4Fragment &aFragment)=0
 
G4bool IsItPossible (const G4Fragment &aFragment) const
 
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 &value)
 
void SetOPTxs (G4int)
 
void UseSICB (G4bool)
 

Protected Member Functions

virtual G4double GetAlpha () const =0
 
virtual G4double GetBeta () const =0
 

Protected Attributes

G4NuclearLevelDatafNucData
 
G4DeexPrecoParameterstheParameters
 
G4Powg4calc
 
G4int theA
 
G4int theZ
 
G4int theResA
 
G4int theResZ
 
G4int theFragA
 
G4int theFragZ
 
G4double theResA13
 
G4double theBindingEnergy
 
G4double theMinKinEnergy
 
G4double theMaxKinEnergy
 
G4double theResMass
 
G4double theReducedMass
 
G4double theMass
 
G4double theEmissionProbability
 
G4double theCoulombBarrier
 
G4int OPTxs
 
G4bool useSICB
 

Friends

std::ostream & operator<< (std::ostream &, const G4VPreCompoundFragment *)
 
std::ostream & operator<< (std::ostream &, const G4VPreCompoundFragment &)
 

Detailed Description

Definition at line 55 of file G4VPreCompoundFragment.hh.

Constructor & Destructor Documentation

◆ G4VPreCompoundFragment()

G4VPreCompoundFragment::G4VPreCompoundFragment ( const G4ParticleDefinition part,
G4VCoulombBarrier aCoulombBarrier 
)
explicit

Definition at line 39 of file G4VPreCompoundFragment.cc.

41 : particle(part), theCoulombBarrierPtr(aCoulombBarrier),
42 theMomentum(0.,0.,0.,0.),
43 theA(particle->GetBaryonNumber()),
44 theZ(G4lrint(particle->GetPDGCharge())),
47 theReducedMass(0.0),
49 OPTxs(3),useSICB(true)
50{
51 theMass = particle->GetPDGMass();
55 theResA13 = 0.0;
56}
G4DeexPrecoParameters * GetParameters()
static G4NuclearLevelData * GetInstance()
G4double GetPDGCharge() const
static G4Pow * GetInstance()
Definition: G4Pow.cc:41
G4NuclearLevelData * fNucData
G4DeexPrecoParameters * theParameters
int G4lrint(double ad)
Definition: templates.hh:134

◆ ~G4VPreCompoundFragment()

G4VPreCompoundFragment::~G4VPreCompoundFragment ( )
virtual

Definition at line 58 of file G4VPreCompoundFragment.cc.

59{}

Member Function Documentation

◆ CalcEmissionProbability()

virtual G4double G4VPreCompoundFragment::CalcEmissionProbability ( const G4Fragment aFragment)
pure virtual

Implemented in G4HETCFragment, and G4PreCompoundFragment.

◆ GetA()

G4int G4VPreCompoundFragment::GetA ( ) const
inline

◆ GetAlpha()

◆ GetBeta()

virtual G4double G4VPreCompoundFragment::GetBeta ( ) const
protectedpure virtual

◆ GetBindingEnergy()

G4double G4VPreCompoundFragment::GetBindingEnergy ( ) const
inline

◆ GetEmissionProbability()

G4double G4VPreCompoundFragment::GetEmissionProbability ( ) const
inline

◆ GetEnergyThreshold()

G4double G4VPreCompoundFragment::GetEnergyThreshold ( ) const
inline

◆ GetMomentum()

const G4LorentzVector & G4VPreCompoundFragment::GetMomentum ( ) const
inline

◆ GetNuclearMass()

G4double G4VPreCompoundFragment::GetNuclearMass ( ) const
inline

◆ GetReactionProduct()

G4ReactionProduct * G4VPreCompoundFragment::GetReactionProduct ( ) const
inline

◆ GetRestA()

G4int G4VPreCompoundFragment::GetRestA ( ) const
inline

◆ GetRestNuclearMass()

G4double G4VPreCompoundFragment::GetRestNuclearMass ( ) const
inline

◆ GetRestZ()

G4int G4VPreCompoundFragment::GetRestZ ( ) const
inline

◆ GetZ()

G4int G4VPreCompoundFragment::GetZ ( ) const
inline

◆ Initialize()

void G4VPreCompoundFragment::Initialize ( const G4Fragment aFragment)

Definition at line 79 of file G4VPreCompoundFragment.cc.

80{
81 theFragA = aFragment.GetA_asInt();
82 theFragZ = aFragment.GetZ_asInt();
85
87 if ((theResA < theResZ) || (theResA < theA) || (theResZ < theZ)) {
88 return;
89 }
90
92 theCoulombBarrier = theCoulombBarrierPtr->
93 GetCoulombBarrier(theResA,theResZ,aFragment.GetExcitationEnergy());
94
96
97 // Calculate masses
100
101 // Compute Binding Energies for fragments
102 // needed to separate a fragment from the nucleus
104
105 // Compute Maximal Kinetic Energy which can be carried by fragments
106 // after separation - the true assimptotic value
107 G4double Ecm = aFragment.GetMomentum().m();
108 G4double twoEcm = Ecm + Ecm;
109 theMaxKinEnergy = std::max(((Ecm-theResMass)*(Ecm+theResMass) + theMass*theMass)
110 /twoEcm - theMass,0.0);
111 theMinKinEnergy = (elim == 0.0) ? 0.0 :
112 std::max(((theMass+elim)*(twoEcm-theMass-elim) +
113 theMass*theMass)/twoEcm - theMass,0.0);
114}
double G4double
Definition: G4Types.hh:83
G4double GetGroundStateMass() const
Definition: G4Fragment.hh:280
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:275
const G4LorentzVector & GetMomentum() const
Definition: G4Fragment.hh:299
G4int GetZ_asInt() const
Definition: G4Fragment.hh:263
G4int GetA_asInt() const
Definition: G4Fragment.hh:258
static G4double GetNuclearMass(const G4double A, const G4double Z)
G4double Z13(G4int Z) const
Definition: G4Pow.hh:123

◆ IsItPossible()

G4bool G4VPreCompoundFragment::IsItPossible ( const G4Fragment aFragment) const
inline

◆ SampleKineticEnergy()

virtual G4double G4VPreCompoundFragment::SampleKineticEnergy ( const G4Fragment aFragment)
pure virtual

◆ SetMomentum()

void G4VPreCompoundFragment::SetMomentum ( const G4LorentzVector value)
inline

◆ SetOPTxs()

void G4VPreCompoundFragment::SetOPTxs ( G4int  )
inline

◆ UseSICB()

void G4VPreCompoundFragment::UseSICB ( G4bool  )
inline

Friends And Related Function Documentation

◆ operator<< [1/2]

std::ostream & operator<< ( std::ostream &  out,
const G4VPreCompoundFragment theFragment 
)
friend

Definition at line 61 of file G4VPreCompoundFragment.cc.

63{
64 out << &theFragment;
65 return out;
66}

◆ operator<< [2/2]

std::ostream & operator<< ( std::ostream &  out,
const G4VPreCompoundFragment theFragment 
)
friend

Definition at line 68 of file G4VPreCompoundFragment.cc.

70{
71 out
72 << "PreCompoundModel Emitted Fragment: Z= " << theFragment->GetZ()
73 << " A= " << theFragment->GetA()
74 << " Mass(GeV)= " << theFragment->GetNuclearMass()/CLHEP::GeV;
75 return out;
76}
G4double GetNuclearMass() const

Member Data Documentation

◆ fNucData

◆ g4calc

◆ OPTxs

G4int G4VPreCompoundFragment::OPTxs
protected

Definition at line 165 of file G4VPreCompoundFragment.hh.

Referenced by G4PreCompoundFragment::CrossSection(), and Initialize().

◆ theA

◆ theBindingEnergy

G4double G4VPreCompoundFragment::theBindingEnergy
protected

◆ theCoulombBarrier

◆ theEmissionProbability

G4double G4VPreCompoundFragment::theEmissionProbability
protected

◆ theFragA

◆ theFragZ

◆ theMass

G4double G4VPreCompoundFragment::theMass
protected

Definition at line 159 of file G4VPreCompoundFragment.hh.

Referenced by G4VPreCompoundFragment(), and Initialize().

◆ theMaxKinEnergy

◆ theMinKinEnergy

G4double G4VPreCompoundFragment::theMinKinEnergy
protected

◆ theParameters

G4DeexPrecoParameters* G4VPreCompoundFragment::theParameters
protected

◆ theReducedMass

G4double G4VPreCompoundFragment::theReducedMass
protected

◆ theResA

◆ theResA13

◆ theResMass

G4double G4VPreCompoundFragment::theResMass
protected

Definition at line 157 of file G4VPreCompoundFragment.hh.

Referenced by Initialize().

◆ theResZ

◆ theZ

◆ useSICB

G4bool G4VPreCompoundFragment::useSICB
protected

Definition at line 167 of file G4VPreCompoundFragment.hh.


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