Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FermiFragmentsPoolVI.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: G4FermiFragmentsPoolVI.hh,v 1.5 2006-06-29 20:13:13 gunter Exp $
27 //
28 // FermiBreakUp de-excitation model
29 // by V. Ivanchenko (July 2016)
30 //
31 
32 #ifndef G4FermiFragmentsPoolVI_hh
33 #define G4FermiFragmentsPoolVI_hh 1
34 
35 #include "globals.hh"
36 #include "G4FermiFragment.hh"
37 #include "G4FermiPair.hh"
38 #include "G4FermiChannels.hh"
40 
41 #include <vector>
42 
44 {
45 public:
46 
47  explicit G4FermiFragmentsPoolVI();
48 
50 
51  const G4FermiChannels* ClosestChannels(G4int Z, G4int A, G4double mass) const;
52 
53  void DumpFragment(const G4FermiFragment*) const;
54 
55  void Dump() const;
56 
57  G4bool IsApplicable(G4int ZZ, G4int AA, G4double etot) const;
58 
59  inline const G4FermiDecayProbability* FermiDecayProbability() const;
60 
61  inline G4int GetMaxZ() const;
62 
63  inline G4int GetMaxA() const;
64 
65  inline G4double GetEnergyLimit() const;
66 
67  inline G4double GetTolerance() const;
68 
69 private:
70 
71  void Initialise();
72 
73  G4bool IsInThePool(G4int Z, G4int A, G4double exc) const;
74 
75  G4bool IsInPhysPairs(const G4FermiFragment* f1, const G4FermiFragment* f2,
76  G4double exc) const;
77 
78  G4bool IsInUnphysPairs(const G4FermiFragment* f1, const G4FermiFragment* f2,
79  G4double exc) const;
80 
81  G4int maxZ;
82  G4int maxA;
83  G4double tolerance;
84  G4double elim;
85  G4double elim_unstable;
86 
87  G4FermiDecayProbability theDecay;
88 
89  // pool
90  std::vector<const G4FermiFragment*> fragment_pool;
91  std::vector<const G4FermiFragment*> funstable;
92 
93  // lists of configurations sorted by A
94 
95  // "stable" fragments
96  std::vector<const G4FermiFragment*> list_f[17];
97  // list of channels for "stable" fragments
98  std::vector<G4FermiChannels*> list_c[17];
99  // pairs of stable fragments
100  std::vector<const G4FermiPair*> list_p[17];
101 
102  // "unstable" fragments
103  std::vector<const G4FermiFragment*> list_g[17];
104  // list of channels of stable and unstable fragments
105  std::vector<G4FermiChannels*> list_d[17];
106  // pairs of stable and unstable fragments
107  std::vector<const G4FermiPair*> list_u[17];
108 
109 };
110 
112 {
113  return maxZ;
114 }
115 
117 {
118  return maxA;
119 }
120 
121 inline const G4FermiDecayProbability*
123 {
124  return &theDecay;
125 }
126 
128 {
129  return elim;
130 }
131 
133 {
134  return tolerance;
135 }
136 
137 #endif
138 
void DumpFragment(const G4FermiFragment *) const
int G4int
Definition: G4Types.hh:78
const G4FermiChannels * ClosestChannels(G4int Z, G4int A, G4double mass) const
G4bool IsApplicable(G4int ZZ, G4int AA, G4double etot) const
double A(double temperature)
bool G4bool
Definition: G4Types.hh:79
const G4FermiDecayProbability * FermiDecayProbability() const
double G4double
Definition: G4Types.hh:76