source: trunk/source/processes/hadronic/models/de_excitation/fission/include/G4CompetitiveFission.hh @ 1347

Last change on this file since 1347 was 1347, checked in by garnier, 13 years ago

geant4 tag 9.4

File size: 5.2 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: G4CompetitiveFission.hh,v 1.5 2010/11/17 20:22:46 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-04-ref-00 $
29//
30// Hadronic Process: Nuclear De-excitations
31// by V. Lara (Oct 1998)
32
33#ifndef G4CompetitiveFission_h
34#define G4CompetitiveFission_h 1
35
36#include "G4VEvaporationChannel.hh"
37#include "G4Fragment.hh"
38#include "G4VFissionBarrier.hh"
39#include "G4FissionBarrier.hh"
40#include "G4VEmissionProbability.hh"
41#include "G4FissionProbability.hh"
42#include "G4VLevelDensityParameter.hh"
43#include "G4FissionLevelDensityParameter.hh"
44#include "G4FissionParameters.hh"
45#include "G4ParticleTable.hh"
46#include "G4IonTable.hh"
47#include "Randomize.hh"
48
49//#define debug
50
51class G4CompetitiveFission : public G4VEvaporationChannel
52{
53public:
54 
55  G4CompetitiveFission();
56  virtual ~G4CompetitiveFission();
57
58private:
59  G4CompetitiveFission(const G4CompetitiveFission &right);
60  const G4CompetitiveFission & operator=(const G4CompetitiveFission &right);
61  G4bool operator==(const G4CompetitiveFission &right) const;
62  G4bool operator!=(const G4CompetitiveFission &right) const;
63
64public:
65  G4FragmentVector * BreakUp(const G4Fragment &theNucleus);
66
67  void Initialize(const G4Fragment & fragment);
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
84  inline void SetLevelDensityParameter(G4VLevelDensityParameter * aLevelDensity)
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 GetEmissionProbability(void) const { return FissionProbability; }
95
96  inline G4double GetLevelDensityParameter(void) const { return LevelDensityParameter; }
97
98  inline G4double GetMaximalKineticEnergy(void) const { return MaximalKineticEnergy; }
99private:
100
101  // Maximal Kinetic Energy that can be carried by fragment
102  G4double MaximalKineticEnergy;
103
104
105  // For Fission barrier
106  G4VFissionBarrier * theFissionBarrierPtr;
107  G4double FissionBarrier;
108  G4bool MyOwnFissionBarrier;
109
110  // For Fission probability emission
111  G4VEmissionProbability * theFissionProbabilityPtr;
112  G4double FissionProbability;
113  G4bool MyOwnFissionProbability;
114
115
116  // For Level Density calculation
117  G4bool MyOwnLevelDensity;
118  G4VLevelDensityParameter * theLevelDensityPtr;
119  G4double LevelDensityParameter;
120
121  //  --------------------
122
123  // Sample AtomicNumber of Fission products
124  G4int FissionAtomicNumber(G4int A, const G4FissionParameters & theParam);
125  G4double MassDistribution(G4double x, G4double A, const G4FissionParameters & theParam);
126
127
128  // Sample Charge of fission products
129  G4int FissionCharge(G4double A, G4double Z, G4double Af);
130
131
132  // Sample Kinetic energy of fission products
133  G4double FissionKineticEnergy(G4int A, G4int Z,
134                                G4double Af1, G4double Zf1,
135                                G4double Af2, G4double Zf2,
136                                G4double U, G4double Tmax,
137                                const G4FissionParameters & theParam);
138   
139  G4double Ratio(G4double A, G4double A11, G4double B1, G4double A00);
140  G4double SymmetricRatio(G4int A, G4double A11);
141  G4double AsymmetricRatio(G4int A, G4double A11);
142
143  G4ThreeVector IsotropicVector(G4double Magnitude = 1.0);
144
145#ifdef debug
146  void CheckConservation(const G4Fragment & theInitialState,
147                         G4FragmentVector * Result) const;
148#endif
149
150};
151
152#endif
153
154
Note: See TracBrowser for help on using the repository browser.