Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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//
27// FermiBreakUp de-excitation model
28// by V. Ivanchenko (July 2016)
29//
30
31#ifndef G4FermiFragmentsPoolVI_hh
32#define G4FermiFragmentsPoolVI_hh 1
33
34#include "globals.hh"
35#include "G4FermiFragment.hh"
36#include "G4FermiPair.hh"
37#include "G4FermiChannels.hh"
39
40#include <vector>
41
42static const G4int maxZ = 9;
43static const G4int maxA = 17;
44
46{
47public:
48
49 explicit G4FermiFragmentsPoolVI();
50
52
53 const G4FermiChannels* ClosestChannels(G4int Z, G4int A, G4double mass) const;
54
55 void DumpFragment(const G4FermiFragment*) const;
56
57 void Dump() const;
58
59 G4bool IsPhysical(G4int Z, G4int A) const;
60
61 G4bool HasChannels(G4int Z, G4int A, G4double exc) const;
62
64
65 inline G4int GetMaxZ() const;
66
67 inline G4int GetMaxA() const;
68
69 inline G4double GetEnergyLimit() const;
70
71 inline G4double GetTolerance() const;
72
73private:
74
75 void Initialise();
76
77 G4bool IsInThePool(G4int Z, G4int A, G4double exc) const;
78
79 G4bool IsInPhysPairs(const G4FermiFragment* f1,
80 const G4FermiFragment* f2) const;
81
82 G4bool IsInUnphysPairs(const G4FermiFragment* f1,
83 const G4FermiFragment* f2) const;
84
85 G4double tolerance;
86 G4double elim;
87
88 G4float timelim;
89 G4float elimf;
90
92
93 // pool
94 std::vector<const G4FermiFragment*> fragment_pool;
95
96 // lists of configurations sorted by A
97 std::vector<const G4FermiFragment*> list_f[maxA];
98 // list of channels for "stable" fragments
99 std::vector<G4FermiChannels*> list_c[maxA];
100 // pairs of stable fragments
101 std::vector<const G4FermiPair*> list_p[maxA];
102};
103
105{
106 return maxZ;
107}
108
110{
111 return maxA;
112}
113
114inline const G4FermiDecayProbability*
116{
117 return &theDecay;
118}
119
121{
122 return elim;
123}
124
126{
127 return tolerance;
128}
129
130#endif
131
double A(double temperature)
float G4float
Definition: G4Types.hh:84
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
int G4int
Definition: G4Types.hh:85
G4bool IsPhysical(G4int Z, G4int A) const
const G4FermiDecayProbability * FermiDecayProbability() const
G4bool HasChannels(G4int Z, G4int A, G4double exc) const
const G4FermiChannels * ClosestChannels(G4int Z, G4int A, G4double mass) const
void DumpFragment(const G4FermiFragment *) const