ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FermiFragmentsPoolVI.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4FermiFragmentsPoolVI.hh
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 
42 static const G4int maxZ = 9;
43 static const G4int maxA = 17;
44 
46 {
47 public:
48 
49  explicit G4FermiFragmentsPoolVI();
50 
52 
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 
63  inline const G4FermiDecayProbability* FermiDecayProbability() const;
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 
73 private:
74 
75  void Initialise();
76 
77  G4bool IsInThePool(G4int Z, G4int A, G4double exc) const;
78 
80  const G4FermiFragment* f2) const;
81 
83  const G4FermiFragment* f2) const;
84 
87 
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 
114 inline const G4FermiDecayProbability*
116 {
117  return &theDecay;
118 }
119 
121 {
122  return elim;
123 }
124 
126 {
127  return tolerance;
128 }
129 
130 #endif
131