Geant4  10.02
G4PhotonEvaporation.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 // $Id: G4PhotonEvaporation.hh 94485 2015-11-19 08:32:53Z gcosmo $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 class file
31 //
32 // CERN, Geneva, Switzerland
33 //
34 // File name: G4PhotonEvaporation
35 //
36 // Author: Vladimir Ivantchenko
37 //
38 // Creation date: 22 October 2015
39 //
40 //Modifications:
41 //
42 //
43 // -------------------------------------------------------------------
44 //
45 // This is a new class which has different design and uses different data
46 // structure than the old one
47 //
48 
49 #ifndef G4PHOTONEVAPORATION_HH
50 #define G4PHOTONEVAPORATION_HH 1
51 
52 #include "globals.hh"
53 #include "G4VEvaporationChannel.hh"
54 #include "G4NuclearLevelData.hh"
55 #include "G4LevelManager.hh"
56 #include "G4Fragment.hh"
57 
58 const G4int MAXDEPOINT = 10;
59 const G4int MAXGRDATA = 300;
60 
61 class G4E1Probability;
62 class G4GammaTransition;
63 
65 
66 public:
67 
69 
70  virtual ~G4PhotonEvaporation();
71 
72  // one photon or e- emission
73  virtual G4Fragment* EmittedFragment(G4Fragment* theNucleus);
74 
75  // returns "false", emitted gamma and e- are added to the results
76  virtual G4bool
77  BreakUpChain(G4FragmentVector* theResult, G4Fragment* theNucleus);
78 
79  // emitted gamma and e- are added to the results
80  virtual G4FragmentVector* BreakUpFragment(G4Fragment* theNucleus);
81 
82  // emitted gamma, e-, and residual fragment are added to the results
83  virtual G4FragmentVector* BreakUp(const G4Fragment& theNucleus);
84 
85  // emitted gamma, e-, and residual fragment are added to the results
86  virtual G4FragmentVector* BreakItUp(const G4Fragment& theNucleus);
87 
88  // compute emission probability for both continum and discrete cases
89  // must be called before any method above
90  virtual G4double GetEmissionProbability(G4Fragment* theNucleus);
91 
93 
95 
97 
99 
100  virtual void SetICM(G4bool);
101 
102  virtual void RDMForced (G4bool);
103 
104  inline void SetVerboseLevel(G4int verbose);
105 
106  inline G4int GetVacantShellNumber() const;
107 
108 private:
109 
111 
112  inline void InitialiseLevelManager(G4int Z, G4int A);
113 
115  const G4PhotonEvaporation & operator = (const G4PhotonEvaporation & right);
116 
120 
127  size_t fIndex;
128 
131 
133 
141 
145 };
146 
148 {
149  fVerbose = verbose;
150 }
151 
152 inline void
154 {
155  if(Z != theZ || A != theA) {
156  theZ = Z;
157  theA = A;
158  fIndex = 0;
160  fLevelEnergyMax = 0.0;
161  if(fLevelManager) {
163  }
164  }
165 }
166 
168 {
169  return vShellNumber;
170 }
171 
172 #endif
virtual void SetICM(G4bool)
virtual G4bool BreakUpChain(G4FragmentVector *theResult, G4Fragment *theNucleus)
void SetMaxHalfLife(G4double)
virtual G4FragmentVector * BreakItUp(const G4Fragment &theNucleus)
G4GammaTransition * fTransition
const G4int MAXGRDATA
static G4float GREnergy[MAXGRDATA]
virtual G4double GetUpperLevelEnergy(G4int Z, G4int A)
const G4int MAXDEPOINT
virtual void RDMForced(G4bool)
const G4LevelManager * GetLevelManager(G4int Z, G4int A)
float G4float
Definition: G4Types.hh:77
virtual G4double GetFinalLevelEnergy(G4int Z, G4int A, G4double energy)
static G4float GRWidth[MAXGRDATA]
G4double fCummProbability[MAXDEPOINT]
G4PhotonEvaporation(G4GammaTransition *ptr=0)
const G4LevelManager * fLevelManager
int G4int
Definition: G4Types.hh:78
virtual G4FragmentVector * BreakUp(const G4Fragment &theNucleus)
double A(double temperature)
bool G4bool
Definition: G4Types.hh:79
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:63
virtual G4double GetEmissionProbability(G4Fragment *theNucleus)
void SetGammaTransition(G4GammaTransition *)
G4int GetVacantShellNumber() const
G4double energy(const ThreeVector &p, const G4double m)
G4Fragment * GenerateGamma(G4Fragment *nucleus)
G4NuclearLevelData * fNuclearLevelData
const G4PhotonEvaporation & operator=(const G4PhotonEvaporation &right)
virtual G4Fragment * EmittedFragment(G4Fragment *theNucleus)
virtual G4FragmentVector * BreakUpFragment(G4Fragment *theNucleus)
double G4double
Definition: G4Types.hh:76
void InitialiseLevelManager(G4int Z, G4int A)
G4float MaxLevelEnergy() const
void SetVerboseLevel(G4int verbose)