Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4StatMFMicroPartition.hh
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 //
27 // $Id$
28 //
29 // Hadronic Process: Nuclear De-excitations
30 // by V. Lara
31 
32 #ifndef G4StatMFMicroPartition_h
33 #define G4StatMFMicroPartition_h 1
34 
35 #include <vector>
36 
37 #include "globals.hh"
38 #include "G4StatMFParameters.hh"
39 #include "G4StatMFChannel.hh"
40 
42 
43 public:
44  // Constructor
46  theA(A), theZ(Z), _Probability(0.0), _Temperature(0.0),
47  _Entropy(0.0) {};
48 
49 
50  // Destructor
52 
53 
54 private:
55  // Default constructor
57 
58  // Copy constructor
60 
61  // operators
63 public:
66 
67 public:
68 
69  // Gives fragments charges
70  G4StatMFChannel * ChooseZ(const G4double A0, const G4double Z0, const G4double MeanT);
71 
73  { return _Probability; }
74 
75 
76 
77  void SetPartitionFragment(const G4int anA)
78  {
79  _thePartition.push_back(anA);
80  CoulombFreeEnergy(anA);
81  }
82 
83  void Normalize(const G4double Normalization)
84  { _Probability /= Normalization; }
85 
86 
88  const G4double FreeInternalE0,
89  const G4double SCompound);
90 
92  {
93  return _Temperature;
94  }
95 
97  {
98  return _Entropy;
99  }
100 
101 private:
102  void CoulombFreeEnergy(const G4double anA);
103 
104  G4double CalcPartitionTemperature(const G4double U,
105  const G4double FreeInternalE0);
106 
107  G4double GetPartitionEnergy(const G4double T);
108 
109  G4double GetCoulombEnergy(void);
110 
111  G4double GetDegeneracyFactor(const G4int A);
112 
113  G4double InvLevelDensity(const G4double Af)
114  {
115  // Calculate Inverse Density Level
116  // Epsilon0*(1 + 3 /(Af - 1))
117  if (Af < 1.5) return 0.0;
118  else return G4StatMFParameters::GetEpsilon0()*(1.0+3.0/(Af - 1.0));
119  }
120 
121 private:
122 
123  // A and Z of initial nucleus
124  G4double theA;
125  G4double theZ;
126 
127  // Partition probability
128  G4double _Probability;
129 
130  // Partition temperature
131  G4double _Temperature;
132 
133  // Partition entropy
134  G4double _Entropy;
135 
136  // The partition itself
137  std::vector<G4int> _thePartition;
138 
139 
140  std::vector<G4double> _theCoulombFreeEnergy;
141 
142 };
143 
144 #endif