source: trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/src/G4VPreCompoundIon.cc @ 847

Last change on this file since 847 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 3.7 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26//
27// $Id: G4VPreCompoundIon.cc,v 1.5 2007/07/23 09:56:40 ahoward Exp $
28// GEANT4 tag $Name:  $
29//
30// by V. Lara
31
32#include "G4VPreCompoundIon.hh"
33#include "G4PreCompoundParameters.hh"
34//#include "G4EvaporationLevelDensityParameter.hh"
35
36
37G4double G4VPreCompoundIon::
38ProbabilityDistributionFunction(const G4double eKin, 
39                                const G4Fragment& aFragment)
40{
41  if ( !IsItPossible(aFragment) ) return 0.0;
42
43  const G4double r0 = G4PreCompoundParameters::GetAddress()->Getr0();
44
45  G4double U = aFragment.GetExcitationEnergy();
46  G4double P = aFragment.GetNumberOfParticles();
47  G4double H = aFragment.GetNumberOfHoles();
48  G4double N = P + H;
49
50  // g = (6.0/pi2)*a*A
51  //  G4EvaporationLevelDensityParameter theLDP;
52  G4double g0 = (6.0/pi2)*aFragment.GetA() * 
53    G4PreCompoundParameters::GetAddress()->GetLevelDensity();
54  //    theLDP.LevelDensityParameter(static_cast<G4int>(aFragment.GetA()),static_cast<G4int>(aFragment.GetZ()),U);
55  G4double g1 = (6.0/pi2)*GetRestA() * 
56    G4PreCompoundParameters::GetAddress()->GetLevelDensity();
57  //    theLDP.LevelDensityParameter(GetRestA(),GetRestZ(),U);
58  G4double gj = (6.0/pi2)*GetA() *
59    G4PreCompoundParameters::GetAddress()->GetLevelDensity();
60  //    theLDP.LevelDensityParameter(GetA(),GetZ(),U);
61
62  G4double A0 = ((P*P+H*H+P-H)/4.0 - H/2.0)/g0;
63  G4double A1 = std::max(0.0,(A0*g0 + GetA()*(GetA()-2.0*P-1.0)/4.0)/g1);
64  G4double Aj = GetA()*(GetA()+1.0)/4.0;
65
66  G4double E0 = std::max(0.0,U - A0);
67  if (E0 == 0.0) return 0.0;
68  G4double E1 = std::max(0.0,GetMaximalKineticEnergy() + GetCoulombBarrier() - eKin - A1);
69  G4double Ej = std::max(0.0,U + GetBindingEnergy() - Aj);
70
71  G4double pA = (3.0/4.0) * std::sqrt(std::max(0.0, 2.0/(GetReducedMass()*(eKin+GetBindingEnergy()))))*
72      GetAlpha()*(eKin+GetBeta())/(r0*std::pow(GetRestA(),1.0/3.0)) *
73      CoalescenceFactor(aFragment.GetA()) * FactorialFactor(N,P);
74
75  G4double pB = std::pow((g1*E1)/(g0*E0),N-GetA()-1.0)*(g1/g0);
76
77  G4double pC = std::pow((gj*Ej)/(g0*E0),GetA()-1.0)*(gj/g0)/E0;
78
79  G4double Probability = pA * pB * pC;
80
81  return Probability;
82}
83
84
85
86
87
88
89
Note: See TracBrowser for help on using the repository browser.