Geant4  10.01.p01
G4VPreCompoundFragment.cc
Go to the documentation of this file.
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 // $Id: G4VPreCompoundFragment.cc 68028 2013-03-13 13:48:15Z gcosmo $
27 //
28 // J. M. Quesada (August 2008). Based on previous work by V. Lara
29 //
30 // Modified:
31 // 20.08.2010 V.Ivanchenko added G4Pow and G4PreCompoundParameters pointers
32 // use int Z and A and cleanup
33 
35 #include "G4SystemOfUnits.hh"
37 #include "G4NucleiProperties.hh"
38 
40  const G4ParticleDefinition* part, G4VCoulombBarrier* aCoulombBarrier)
41  : particle(part), theCoulombBarrierPtr(aCoulombBarrier),
42  theRestNucleusA(0),theRestNucleusZ(0),theBindingEnergy(0.0),
43  theMaximalKineticEnergy(-MeV),theRestNucleusMass(0.0),
44  theReducedMass(0.0),theMomentum(0.,0.,0.,0.),
45  theEmissionProbability(0.0),theCoulombBarrier(0.0),
46  OPTxs(3),useSICB(false)
47 {
49  theZ = G4int(particle->GetPDGCharge()/eplus + 0.1);
54 }
55 
57 {
58  delete theParameters;
59 }
60 
61 std::ostream&
62 operator << (std::ostream &out, const G4VPreCompoundFragment &theFragment)
63 {
64  out << &theFragment;
65  return out;
66 }
67 
68 std::ostream&
69 operator << (std::ostream &out, const G4VPreCompoundFragment *theFragment)
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 }
77 
78 void
80 {
81  theRestNucleusA = aFragment.GetA_asInt() - theA;
82  theRestNucleusZ = aFragment.GetZ_asInt() - theZ;
83 
85  (theRestNucleusA < theA) ||
86  (theRestNucleusZ < theZ))
87  {
88  // In order to be sure that emission probability will be 0.
90  return;
91  }
92 
94 
95  // Calculate Coulomb barrier
98  aFragment.GetExcitationEnergy());
99 
100  // Calculate masses
103  theReducedMass = theRestNucleusMass*theMass/(theRestNucleusMass + theMass);
104 
105  // Compute Binding Energies for fragments
106  // needed to separate a fragment from the nucleus
108  theRestNucleusMass + theMass - aFragment.GetGroundStateMass();
109 
110  // Compute Maximal Kinetic Energy which can be carried by fragments
111  // after separation - the true assimptotic value
112  G4double Ecm = aFragment.GetMomentum().m();
114  ((Ecm-theRestNucleusMass)*(Ecm+theRestNucleusMass) + theMass*theMass)/(2.0*Ecm)-theMass;
115 }
static G4Pow * GetInstance()
Definition: G4Pow.cc:55
static const double MeV
Definition: G4SIunits.hh:193
static G4double GetNuclearMass(const G4double A, const G4double Z)
const G4ParticleDefinition * particle
G4int GetA() const
int G4int
Definition: G4Types.hh:78
void Initialize(const G4Fragment &aFragment)
G4double Z13(G4int Z) const
Definition: G4Pow.hh:127
G4int GetA_asInt() const
Definition: G4Fragment.hh:243
const G4LorentzVector & GetMomentum() const
Definition: G4Fragment.hh:276
static const double GeV
Definition: G4SIunits.hh:196
G4double GetGroundStateMass() const
Definition: G4Fragment.hh:265
G4double GetCoulombBarrier() const
G4VCoulombBarrier * theCoulombBarrierPtr
G4double GetNuclearMass() const
G4double GetPDGMass() const
std::ostream & operator<<(std::ostream &out, const G4VPreCompoundFragment &theFragment)
G4int GetZ_asInt() const
Definition: G4Fragment.hh:248
G4PreCompoundParameters * theParameters
G4int GetZ() const
double G4double
Definition: G4Types.hh:76
static const double eplus
Definition: G4SIunits.hh:178
G4double GetPDGCharge() const
G4double GetExcitationEnergy() const
Definition: G4Fragment.hh:260