Geant4-11
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
G4GNASHTransitions Class Reference

#include <G4GNASHTransitions.hh>

Inheritance diagram for G4GNASHTransitions:
G4VPreCompoundTransitions

Public Member Functions

virtual G4double CalculateProbability (const G4Fragment &aFragment)
 
 G4GNASHTransitions ()
 
G4double GetTransitionProb1 () const
 
G4double GetTransitionProb2 () const
 
G4double GetTransitionProb3 () const
 
G4bool operator!= (const G4VPreCompoundTransitions &right) const =delete
 
G4bool operator== (const G4VPreCompoundTransitions &right) const =delete
 
virtual void PerformTransition (G4Fragment &aFragment)
 
void UseCEMtr (G4bool use)
 
void UseNGB (G4bool use)
 
virtual ~G4GNASHTransitions ()
 

Protected Attributes

G4double TransitionProb1
 
G4double TransitionProb2
 
G4double TransitionProb3
 
G4bool useCEMtr
 
G4bool useNGB
 

Private Member Functions

 G4GNASHTransitions (const G4GNASHTransitions &)=delete
 
G4bool operator!= (const G4GNASHTransitions &right) const =delete
 
const G4GNASHTransitionsoperator= (const G4GNASHTransitions &right)=delete
 
G4bool operator== (const G4GNASHTransitions &right) const =delete
 

Private Attributes

G4DeexPrecoParameterstheParameters
 

Detailed Description

Definition at line 35 of file G4GNASHTransitions.hh.

Constructor & Destructor Documentation

◆ G4GNASHTransitions() [1/2]

G4GNASHTransitions::G4GNASHTransitions ( )
explicit

Definition at line 37 of file G4GNASHTransitions.cc.

38{
40}
G4DeexPrecoParameters * theParameters
G4DeexPrecoParameters * GetParameters()
static G4NuclearLevelData * GetInstance()

References G4NuclearLevelData::GetInstance(), G4NuclearLevelData::GetParameters(), and theParameters.

◆ ~G4GNASHTransitions()

G4GNASHTransitions::~G4GNASHTransitions ( )
virtual

Definition at line 42 of file G4GNASHTransitions.cc.

43{}

◆ G4GNASHTransitions() [2/2]

G4GNASHTransitions::G4GNASHTransitions ( const G4GNASHTransitions )
privatedelete

Member Function Documentation

◆ CalculateProbability()

G4double G4GNASHTransitions::CalculateProbability ( const G4Fragment aFragment)
virtual

Implements G4VPreCompoundTransitions.

Definition at line 45 of file G4GNASHTransitions.cc.

47{
48 static const G4double k = 135.0 *CLHEP::MeV*CLHEP::MeV*CLHEP::MeV;
49 G4double E = aFragment.GetExcitationEnergy();
50 G4double P = aFragment.GetNumberOfParticles();
51 G4double H = aFragment.GetNumberOfHoles();
52 G4double N = P + H;
53 G4int Z = aFragment.GetZ_asInt();
54 G4int A = aFragment.GetA_asInt();
55
56 G4double theMatrixElement(k*N/((A*A*A)*E));
57 G4double x = E/(N*CLHEP::MeV);
58 static const G4double xf = std::sqrt(2.0/7.0);
59 if ( x < 2.0) { x *= xf; }
60 else if ( x < 7.0) { x *= std::sqrt(x/7.0); }
61 else if ( x > 15.0){ x *= std::sqrt(15.0/x); }
62 theMatrixElement *= x;
63
65
66 G4double Epauli = ((P+1.0)*(P+1.0) + (H+1.0)*(H+1.0) + (P+1.0) - 3.0*(H-1.0))*0.25;
67
68 G4double Probability = gg*gg*gg *(E-Epauli)*(E-Epauli);
69 Probability *= theMatrixElement/(2.0*(N+1.0)*CLHEP::h_Planck);
70
71 return Probability;
72}
static constexpr double pi2
Definition: G4SIunits.hh:58
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85
const G4int Z[17]
const G4double A[17]
G4int GetNumberOfParticles() const
Definition: G4Fragment.hh:361
G4int GetNumberOfHoles() const
Definition: G4Fragment.hh:381
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:299
G4int GetZ_asInt() const
Definition: G4Fragment.hh:276
G4int GetA_asInt() const
Definition: G4Fragment.hh:271
G4double GetLevelDensity(G4int Z, G4int A, G4double U)
static constexpr double h_Planck
static constexpr double MeV
static double P[]

References A, G4Fragment::GetA_asInt(), G4Fragment::GetExcitationEnergy(), G4NuclearLevelData::GetInstance(), G4NuclearLevelData::GetLevelDensity(), G4Fragment::GetNumberOfHoles(), G4Fragment::GetNumberOfParticles(), G4Fragment::GetZ_asInt(), CLHEP::h_Planck, CLHEP::MeV, P, pi2, and Z.

◆ GetTransitionProb1()

G4double G4VPreCompoundTransitions::GetTransitionProb1 ( ) const
inlineinherited

◆ GetTransitionProb2()

G4double G4VPreCompoundTransitions::GetTransitionProb2 ( ) const
inlineinherited

◆ GetTransitionProb3()

G4double G4VPreCompoundTransitions::GetTransitionProb3 ( ) const
inlineinherited

◆ operator!=() [1/2]

G4bool G4GNASHTransitions::operator!= ( const G4GNASHTransitions right) const
privatedelete

◆ operator!=() [2/2]

G4bool G4VPreCompoundTransitions::operator!= ( const G4VPreCompoundTransitions right) const
deleteinherited

◆ operator=()

const G4GNASHTransitions & G4GNASHTransitions::operator= ( const G4GNASHTransitions right)
privatedelete

◆ operator==() [1/2]

G4bool G4GNASHTransitions::operator== ( const G4GNASHTransitions right) const
privatedelete

◆ operator==() [2/2]

G4bool G4VPreCompoundTransitions::operator== ( const G4VPreCompoundTransitions right) const
deleteinherited

◆ PerformTransition()

void G4GNASHTransitions::PerformTransition ( G4Fragment aFragment)
virtual

Implements G4VPreCompoundTransitions.

Definition at line 74 of file G4GNASHTransitions.cc.

75{
76 result.SetNumberOfParticles(result.GetNumberOfParticles()+1);
77 result.SetNumberOfHoles(result.GetNumberOfHoles()+1);
78 if (G4UniformRand()*result.GetA_asInt() <= G4double(result.GetZ_asInt()))
79 {
80 result.SetNumberOfCharged(result.GetNumberOfCharged()+1);
81 }
82
83 if (result.GetNumberOfParticles() < result.GetNumberOfCharged())
84 {
85 result.SetNumberOfCharged(result.GetNumberOfParticles());
86 }
87}
#define G4UniformRand()
Definition: Randomize.hh:52

References G4UniformRand, G4Fragment::GetA_asInt(), G4Fragment::GetNumberOfCharged(), G4Fragment::GetNumberOfHoles(), G4Fragment::GetNumberOfParticles(), G4Fragment::GetZ_asInt(), G4Fragment::SetNumberOfCharged(), G4Fragment::SetNumberOfHoles(), and G4Fragment::SetNumberOfParticles().

◆ UseCEMtr()

void G4VPreCompoundTransitions::UseCEMtr ( G4bool  use)
inlineinherited

◆ UseNGB()

void G4VPreCompoundTransitions::UseNGB ( G4bool  use)
inlineinherited

Field Documentation

◆ theParameters

G4DeexPrecoParameters* G4GNASHTransitions::theParameters
private

Definition at line 54 of file G4GNASHTransitions.hh.

Referenced by G4GNASHTransitions().

◆ TransitionProb1

G4double G4VPreCompoundTransitions::TransitionProb1
protectedinherited

◆ TransitionProb2

G4double G4VPreCompoundTransitions::TransitionProb2
protectedinherited

◆ TransitionProb3

G4double G4VPreCompoundTransitions::TransitionProb3
protectedinherited

◆ useCEMtr

G4bool G4VPreCompoundTransitions::useCEMtr
protectedinherited

◆ useNGB

G4bool G4VPreCompoundTransitions::useNGB
protectedinherited

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