Geant4_10
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 67983 2013-03-13 10:42:03Z 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 "G4ParticleTable.hh"
45 #include "G4IonTable.hh"
46 #include "Randomize.hh"
47 
48 //#define debug
49 
51 {
52 public:
53 
55  virtual ~G4CompetitiveFission();
56 
57 private:
59  const G4CompetitiveFission & operator=(const G4CompetitiveFission &right);
60  G4bool operator==(const G4CompetitiveFission &right) const;
61  G4bool operator!=(const G4CompetitiveFission &right) const;
62 
63 public:
64 
65  virtual G4FragmentVector * BreakUp(const G4Fragment &theNucleus);
66 
67  virtual G4double GetEmissionProbability(G4Fragment* theNucleus);
68 
69  inline void SetFissionBarrier(G4VFissionBarrier * aBarrier)
70  {
71  if (MyOwnFissionBarrier) delete theFissionBarrierPtr;
72  theFissionBarrierPtr = aBarrier;
73  MyOwnFissionBarrier = false;
74  }
75 
76  inline void SetEmissionStrategy(G4VEmissionProbability * aFissionProb)
77  {
78  if (MyOwnFissionProbability) delete theFissionProbabilityPtr;
79  theFissionProbabilityPtr = aFissionProb;
80  MyOwnFissionProbability = false;
81  }
82 
83 
85  {
86  if (MyOwnLevelDensity) delete theLevelDensityPtr;
87  theLevelDensityPtr = aLevelDensity;
88  MyOwnLevelDensity = false;
89  }
90 
91 
92  inline G4double GetFissionBarrier(void) const { return FissionBarrier; }
93 
94  inline G4double GetLevelDensityParameter(void) const { return LevelDensityParameter; }
95 
96  inline G4double GetMaximalKineticEnergy(void) const { return MaximalKineticEnergy; }
97 private:
98 
99  // Maximal Kinetic Energy that can be carried by fragment
100  G4double MaximalKineticEnergy;
101 
102 
103  // For Fission barrier
104  G4VFissionBarrier * theFissionBarrierPtr;
105  G4double FissionBarrier;
106  G4bool MyOwnFissionBarrier;
107 
108  // For Fission probability emission
109  G4VEmissionProbability * theFissionProbabilityPtr;
110  G4double FissionProbability;
111  G4bool MyOwnFissionProbability;
112 
113 
114  // For Level Density calculation
115  G4bool MyOwnLevelDensity;
116  G4VLevelDensityParameter * theLevelDensityPtr;
117  G4double LevelDensityParameter;
118 
119  // --------------------
120 
121  // Sample AtomicNumber of Fission products
122  G4int FissionAtomicNumber(G4int A, const G4FissionParameters & theParam);
123  G4double MassDistribution(G4double x, G4double A, const G4FissionParameters & theParam);
124 
125 
126  // Sample Charge of fission products
127  G4int FissionCharge(G4double A, G4double Z, G4double Af);
128 
129 
130  // Sample Kinetic energy of fission products
131  G4double FissionKineticEnergy(G4int A, G4int Z,
132  G4double Af1, G4double Zf1,
133  G4double Af2, G4double Zf2,
134  G4double U, G4double Tmax,
135  const G4FissionParameters & theParam);
136 
138  G4double SymmetricRatio(G4int A, G4double A11);
139  G4double AsymmetricRatio(G4int A, G4double A11);
140 
141  G4ThreeVector IsotropicVector(G4double Magnitude = 1.0);
142 
143 #ifdef debug
144  void CheckConservation(const G4Fragment & theInitialState,
145  G4FragmentVector * Result) const;
146 #endif
147 
148 };
149 
150 #endif
151 
152 
void SetFissionBarrier(G4VFissionBarrier *aBarrier)
#define A00
G4double GetLevelDensityParameter(void) const
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)
tuple x
Definition: test.py:50
int G4int
Definition: G4Types.hh:78
virtual G4FragmentVector * BreakUp(const G4Fragment &theNucleus)
void SetEmissionStrategy(G4VEmissionProbability *aFissionProb)
Float_t Z
Definition: plot.C:39
bool G4bool
Definition: G4Types.hh:79
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:64
#define A11
double G4double
Definition: G4Types.hh:76
void SetLevelDensityParameter(G4VLevelDensityParameter *aLevelDensity)
G4double GetFissionBarrier(void) const
G4double GetMaximalKineticEnergy(void) const