Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions
G4PreCompoundNucleon Class Referenceabstract

#include <G4PreCompoundNucleon.hh>

Inheritance diagram for G4PreCompoundNucleon:
G4PreCompoundFragment G4VPreCompoundFragment G4PreCompoundNeutron G4PreCompoundProton

Public Member Functions

 G4PreCompoundNucleon (const G4ParticleDefinition *, G4VCoulombBarrier *aCoulombBarrier)
 
virtual ~G4PreCompoundNucleon ()
 
- Public Member Functions inherited from G4PreCompoundFragment
 G4PreCompoundFragment (const G4ParticleDefinition *, G4VCoulombBarrier *aCoulombBarrier)
 
virtual ~G4PreCompoundFragment ()
 
G4double CalcEmissionProbability (const G4Fragment &aFragment)
 
G4double GetKineticEnergy (const G4Fragment &aFragment)
 
- Public Member Functions inherited from G4VPreCompoundFragment
 G4VPreCompoundFragment (const G4ParticleDefinition *, G4VCoulombBarrier *aCoulombBarrier)
 
virtual ~G4VPreCompoundFragment ()
 
void Initialize (const G4Fragment &aFragment)
 
G4ReactionProductGetReactionProduct () const
 
G4int GetA () const
 
G4int GetZ () const
 
G4int GetRestA () const
 
G4int GetRestZ () const
 
G4double ResidualA13 () const
 
G4double GetCoulombBarrier () const
 
G4double GetBindingEnergy () const
 
G4double GetMaximalKineticEnergy () const
 
G4double GetEnergyThreshold () const
 
G4double GetEmissionProbability () const
 
G4double GetNuclearMass () const
 
G4double GetRestNuclearMass () const
 
G4double GetReducedMass () const
 
const G4LorentzVectorGetMomentum () const
 
void SetMomentum (const G4LorentzVector &value)
 
const G4String GetName () const
 
void SetOPTxs (G4int)
 
void UseSICB (G4bool)
 

Protected Member Functions

virtual G4double ProbabilityDistributionFunction (G4double eKin, const G4Fragment &aFragment)
 
virtual G4double CrossSection (G4double ekin)=0
 
virtual G4double GetRj (G4int NumberParticles, G4int NumberCharged)=0
 
virtual G4double GetAlpha ()=0
 
virtual G4double GetBeta ()=0
 
G4double GetOpt0 (G4double ekin)
 
- Protected Member Functions inherited from G4VPreCompoundFragment
G4bool IsItPossible (const G4Fragment &aFragment) const
 

Additional Inherited Members

- Protected Attributes inherited from G4VPreCompoundFragment
G4PreCompoundParameterstheParameters
 
G4Powg4pow
 
G4double theEmissionProbability
 
G4double theCoulombBarrier
 
G4int OPTxs
 
G4bool useSICB
 

Detailed Description

Definition at line 41 of file G4PreCompoundNucleon.hh.

Constructor & Destructor Documentation

G4PreCompoundNucleon::G4PreCompoundNucleon ( const G4ParticleDefinition part,
G4VCoulombBarrier aCoulombBarrier 
)

Definition at line 48 of file G4PreCompoundNucleon.cc.

50  : G4PreCompoundFragment(part,aCoulombBarrier)
51 {
52  fact = 2*CLHEP::millibarn/(CLHEP::pi2*CLHEP::hbarc*CLHEP::hbarc*CLHEP::hbarc);
53 }
G4PreCompoundNucleon::~G4PreCompoundNucleon ( )
virtual

Definition at line 55 of file G4PreCompoundNucleon.cc.

56 {}

Member Function Documentation

virtual G4double G4PreCompoundNucleon::CrossSection ( G4double  ekin)
protectedpure virtual
virtual G4double G4PreCompoundNucleon::GetAlpha ( )
protectedpure virtual

Implemented in G4PreCompoundNeutron, and G4PreCompoundProton.

Referenced by GetOpt0().

virtual G4double G4PreCompoundNucleon::GetBeta ( )
protectedpure virtual

Implemented in G4PreCompoundNeutron, and G4PreCompoundProton.

Referenced by GetOpt0().

G4double G4PreCompoundNucleon::GetOpt0 ( G4double  ekin)
inlineprotected

Definition at line 82 of file G4PreCompoundNucleon.hh.

References GetAlpha(), GetBeta(), G4PreCompoundParameters::Getr0(), G4VPreCompoundFragment::ResidualA13(), and G4VPreCompoundFragment::theParameters.

Referenced by G4PreCompoundNeutron::CrossSection(), and G4PreCompoundProton::CrossSection().

83 {
85  // cross section is now given in mb (r0 is in mm) for the sake of consistency
86  //with the rest of the options
87  return 1.e+25*CLHEP::pi*r0*r0*ResidualA13()*GetAlpha()*(1.+GetBeta()/K);
88 }
virtual G4double GetAlpha()=0
G4double ResidualA13() const
virtual G4double GetBeta()=0
G4PreCompoundParameters * theParameters
double G4double
Definition: G4Types.hh:76
virtual G4double G4PreCompoundNucleon::GetRj ( G4int  NumberParticles,
G4int  NumberCharged 
)
protectedpure virtual
G4double G4PreCompoundNucleon::ProbabilityDistributionFunction ( G4double  eKin,
const G4Fragment aFragment 
)
protectedvirtual

Implements G4PreCompoundFragment.

Definition at line 59 of file G4PreCompoundNucleon.cc.

References CrossSection(), G4cout, G4endl, G4VPreCompoundFragment::g4pow, G4VPreCompoundFragment::GetA(), G4Fragment::GetA_asInt(), G4VPreCompoundFragment::GetBindingEnergy(), G4Fragment::GetExcitationEnergy(), G4PreCompoundParameters::GetLevelDensity(), G4Fragment::GetNumberOfCharged(), G4Fragment::GetNumberOfHoles(), G4Fragment::GetNumberOfParticles(), G4VPreCompoundFragment::GetReducedMass(), G4VPreCompoundFragment::GetRestA(), GetRj(), G4VPreCompoundFragment::GetZ(), G4VPreCompoundFragment::IsItPossible(), python.hepunit::MeV, N, python.hepunit::pi2, G4Pow::powN(), and G4VPreCompoundFragment::theParameters.

61 {
62  if ( !IsItPossible(aFragment) ) { return 0.0; }
63 
64  G4double U = aFragment.GetExcitationEnergy();
65  G4int P = aFragment.GetNumberOfParticles();
66  G4int H = aFragment.GetNumberOfHoles();
67  G4int N = P + H;
68 
69  G4double g0 = (6.0/pi2)*aFragment.GetA_asInt()*theParameters->GetLevelDensity();
71 
72  G4double A0 = G4double(P*P+H*H+P-3*H)/(4.0*g0);
73  G4double A1 = (A0 - 0.5*P)/g1;
74 
75  G4double E0 = U - A0;
76  if (E0 <= 0.0) { return 0.0; }
77 
78  G4double E1 = U - eKin - GetBindingEnergy() - A1;
79  if (E1 <= 0.0) { return 0.0; }
80 
81  G4double rj = GetRj(P, aFragment.GetNumberOfCharged());
82  G4double xs = CrossSection(eKin);
83 
84  if (rj <0.0 || xs < 0.0) {
85  std::ostringstream errOs;
86  G4cout<<"WARNING: NEGATIVE VALUES "<<G4endl;
87  errOs << "Rj=" << rj <<" xsec("
88  <<eKin/MeV<<" MeV)= "<< xs <<" A= "<<GetA()<<" Z= "<<GetZ()
89  <<G4endl;
90  throw G4HadronicException(__FILE__, __LINE__, errOs.str());
91  }
92 
93  G4double Probability = fact * GetReducedMass() * rj * xs * eKin * P * (N-1)
94  * g4pow->powN(g1*E1/(g0*E0),N-2) * g1 / (E0*g0*g0);
95 
96  /*
97  G4double Probability = 1.0/pi2*2.0/(hbarc*hbarc*hbarc) * GetReducedMass()
98  * GetRj(aFragment.GetNumberOfParticles(), aFragment.GetNumberOfCharged())
99  * eKin*CrossSection(eKin)*millibarn * P*(N-1.0) *
100  std::pow(g1*E1/(g0*E0),N-2.0)/E0 * g1/(g0*g0);
101  */
102 
103  return Probability;
104 }
G4double powN(G4double x, G4int n) const
Definition: G4Pow.cc:125
G4double GetReducedMass() const
G4int GetA() const
virtual G4double GetRj(G4int NumberParticles, G4int NumberCharged)=0
G4int GetNumberOfParticles() const
Definition: G4Fragment.hh:325
G4bool IsItPossible(const G4Fragment &aFragment) const
int G4int
Definition: G4Types.hh:78
G4double GetBindingEnergy() const
G4int GetNumberOfHoles() const
Definition: G4Fragment.hh:345
G4GLOB_DLL std::ostream G4cout
G4int GetA_asInt() const
Definition: G4Fragment.hh:238
G4int GetRestA() const
G4PreCompoundParameters * theParameters
#define G4endl
Definition: G4ios.hh:61
**D E S C R I P T I O N
G4int GetZ() const
double G4double
Definition: G4Types.hh:76
G4int GetNumberOfCharged() const
Definition: G4Fragment.hh:330
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:255
virtual G4double CrossSection(G4double ekin)=0

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