Geant4  10.02.p01
G4CompetitiveFission.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: G4CompetitiveFission.hh 89550 2015-04-17 08:38:15Z gcosmo $
28 //
29 // Hadronic Process: Nuclear De-excitations
30 // by V. Lara (Oct 1998)
31 
32 #ifndef G4CompetitiveFission_h
33 #define G4CompetitiveFission_h 1
34 
35 #include "G4VEvaporationChannel.hh"
36 #include "G4Fragment.hh"
37 #include "G4VFissionBarrier.hh"
38 #include "G4FissionBarrier.hh"
40 #include "G4FissionProbability.hh"
43 #include "G4FissionParameters.hh"
44 #include "Randomize.hh"
45 #include <CLHEP/Units/SystemOfUnits.h>
46 
48 {
49 public:
50 
52  virtual ~G4CompetitiveFission();
53 
54  virtual G4FragmentVector * BreakUp(const G4Fragment &theNucleus);
55 
56  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
57 
58  virtual G4double GetEmissionProbability(G4Fragment* theNucleus);
59 
60  inline void SetFissionBarrier(G4VFissionBarrier * aBarrier);
61 
62  inline void SetEmissionStrategy(G4VEmissionProbability * aFissionProb);
63 
64  inline void SetLevelDensityParameter(G4VLevelDensityParameter * aLevelDensity);
65 
66  inline G4double GetFissionBarrier(void) const;
67 
68  inline G4double GetLevelDensityParameter(void) const;
69 
70  inline G4double GetMaximalKineticEnergy(void) const;
71 
72 private:
73 
74  // Sample AtomicNumber of Fission products
76 
78 
79  // Sample Charge of fission products
81 
82  // Sample Kinetic energy of fission products
84  G4int Af1, G4int Zf1,
85  G4int Af2, G4int Zf2,
86  G4double U, G4double Tmax);
87 
89 
90  inline G4double SymmetricRatio(G4int A, G4double A11);
91 
92  inline G4double AsymmetricRatio(G4int A, G4double A11);
93 
94  inline G4ThreeVector IsotropicVector(G4double Magnitude);
95 
98  G4bool operator==(const G4CompetitiveFission &right) const;
99  G4bool operator!=(const G4CompetitiveFission &right) const;
100 
101  // Maximal Kinetic Energy that can be carried by fragment
103 
104  // For Fission barrier
108 
109  // For Fission probability emission
113 
114  // For Level Density calculation
118 
120 
122 
123 };
124 
126 {
128  theFissionBarrierPtr = aBarrier;
129  MyOwnFissionBarrier = false;
130 }
131 
132 inline void
134 {
136  theFissionProbabilityPtr = aFissionProb;
137  MyOwnFissionProbability = false;
138 }
139 
140 inline void
142 {
144  theLevelDensityPtr = aLevelDensity;
145  MyOwnLevelDensity = false;
146 }
147 
149 {
150  return FissionBarrier;
151 }
152 
154 {
155  return LevelDensityParameter;
156 }
157 
159 {
160  return MaximalKineticEnergy;
161 }
162 
163 inline
165  G4double B1, G4double A00)
166 {
167  G4double res;
168  if (A11 >= A*0.5 && A11 <= (A00+10.0)) {
169  G4double x = (A11-A00)/A;
170  res = 1.0 - B1*x*x;
171  } else {
172  G4double x = 10.0/A;
173  res = 1.0 - B1*x*x - 2.0*x*B1*(A11-A00-10.0)/A;
174  }
175  return res;
176 }
177 
178 inline
180 {
181  return Ratio(G4double(A),A11,23.5,134.0);
182 }
183 
184 inline
186 {
187  G4double A0 = G4double(A);
188  return Ratio(A0,A11,5.32,A0*0.5);
189 }
190 
191 inline
193 {
194  G4double CosTheta = 1.0 - 2.0*G4UniformRand();
195  G4double SinTheta = std::sqrt(1.0 - CosTheta*CosTheta);
197  G4ThreeVector Vector(Magnitude*std::cos(Phi)*SinTheta,
198  Magnitude*std::sin(Phi)*SinTheta,
199  Magnitude*CosTheta);
200  return Vector;
201 }
202 
203 #endif
204 
205 
G4ThreeVector IsotropicVector(G4double Magnitude)
G4int FissionAtomicNumber(G4int A)
G4double AsymmetricRatio(G4int A, G4double A11)
void SetFissionBarrier(G4VFissionBarrier *aBarrier)
CLHEP::Hep3Vector G4ThreeVector
#define A00
G4double GetLevelDensityParameter(void) const
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)
G4VEmissionProbability * theFissionProbabilityPtr
G4FissionParameters theParam
const G4CompetitiveFission & operator=(const G4CompetitiveFission &right)
int G4int
Definition: G4Types.hh:78
virtual G4FragmentVector * BreakUp(const G4Fragment &theNucleus)
void SetEmissionStrategy(G4VEmissionProbability *aFissionProb)
G4bool operator!=(const G4CompetitiveFission &right) const
G4double MassDistribution(G4double x, G4int A)
G4PairingCorrection * pairingCorrection
#define G4UniformRand()
Definition: Randomize.hh:97
double A(double temperature)
bool G4bool
Definition: G4Types.hh:79
virtual G4Fragment * EmittedFragment(G4Fragment *theNucleus)
static const double twopi
Definition: G4SIunits.hh:75
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:63
G4double Ratio(G4double A, G4double A11, G4double B1, G4double A00)
G4double SymmetricRatio(G4int A, G4double A11)
G4VLevelDensityParameter * theLevelDensityPtr
G4int FissionCharge(G4int A, G4int Z, G4double Af)
G4VFissionBarrier * theFissionBarrierPtr
G4bool operator==(const G4CompetitiveFission &right) const
const G4double x[NPOINTSGL]
#define A11
double G4double
Definition: G4Types.hh:76
G4double FissionKineticEnergy(G4int A, G4int Z, G4int Af1, G4int Zf1, G4int Af2, G4int Zf2, G4double U, G4double Tmax)
void SetLevelDensityParameter(G4VLevelDensityParameter *aLevelDensity)
G4double GetFissionBarrier(void) const
G4double GetMaximalKineticEnergy(void) const