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: G4VPreCompoundFragment.hh,v 1.10 2009/02/10 16:01:37 vnivanch Exp $ |
---|
28 | // GEANT4 tag $Name: geant4-09-02-ref-02 $ |
---|
29 | // |
---|
30 | // J. M. Quesada (August 2008). |
---|
31 | // Based on previous work by V. Lara |
---|
32 | // |
---|
33 | // Modif (03 September 2008) by J. M. Quesada for external choice of inverse |
---|
34 | // cross section option |
---|
35 | // JMQ (06 September 2008) Also external choice has been added for: |
---|
36 | // - superimposed Coulomb barrier (if useSICB=true) |
---|
37 | |
---|
38 | #ifndef G4VPreCompoundFragment_h |
---|
39 | #define G4VPreCompoundFragment_h 1 |
---|
40 | |
---|
41 | #include "G4ios.hh" |
---|
42 | #include <iomanip> |
---|
43 | #include "G4ParticleTable.hh" |
---|
44 | #include "G4IonTable.hh" |
---|
45 | #include "G4Fragment.hh" |
---|
46 | #include "G4VCoulombBarrier.hh" |
---|
47 | |
---|
48 | class G4ReactionProduct; |
---|
49 | |
---|
50 | class G4VPreCompoundFragment |
---|
51 | { |
---|
52 | // ============================ |
---|
53 | // Constructors and destructor |
---|
54 | // ============================ |
---|
55 | |
---|
56 | protected: |
---|
57 | // default constructor |
---|
58 | G4VPreCompoundFragment() {}; |
---|
59 | |
---|
60 | public: |
---|
61 | // copy constructor |
---|
62 | G4VPreCompoundFragment(const G4VPreCompoundFragment &right); |
---|
63 | |
---|
64 | // constructor |
---|
65 | G4VPreCompoundFragment(const G4double anA, const G4double aZ, |
---|
66 | G4VCoulombBarrier * aCoulombBarrier, |
---|
67 | const G4String & aName); |
---|
68 | |
---|
69 | |
---|
70 | virtual ~G4VPreCompoundFragment(); |
---|
71 | |
---|
72 | // ========== |
---|
73 | // operators |
---|
74 | // ========== |
---|
75 | |
---|
76 | const G4VPreCompoundFragment& |
---|
77 | operator= (const G4VPreCompoundFragment &right); |
---|
78 | |
---|
79 | G4int operator==(const G4VPreCompoundFragment &right) const; |
---|
80 | |
---|
81 | G4int operator!=(const G4VPreCompoundFragment &right) const; |
---|
82 | |
---|
83 | friend std::ostream& |
---|
84 | operator<<(std::ostream&, const G4VPreCompoundFragment*); |
---|
85 | friend std::ostream& |
---|
86 | operator<<(std::ostream&, const G4VPreCompoundFragment&); |
---|
87 | |
---|
88 | // ===================== |
---|
89 | // Pure Virtual methods |
---|
90 | // ===================== |
---|
91 | virtual G4ReactionProduct * GetReactionProduct() const = 0; |
---|
92 | |
---|
93 | // Initialization method |
---|
94 | void Initialize(const G4Fragment & aFragment); |
---|
95 | |
---|
96 | // Methods for calculating the emission probability |
---|
97 | // ------------------------------------------------ |
---|
98 | |
---|
99 | // Calculates the total (integrated over kinetic energy) emission |
---|
100 | // probability of a fragment |
---|
101 | virtual G4double CalcEmissionProbability(const G4Fragment & aFragment) = 0; |
---|
102 | |
---|
103 | virtual G4double GetKineticEnergy(const G4Fragment & aFragment) = 0; |
---|
104 | |
---|
105 | public: |
---|
106 | inline G4double GetA() const; |
---|
107 | |
---|
108 | inline G4double GetZ() const; |
---|
109 | |
---|
110 | inline G4double GetRestA() const; |
---|
111 | |
---|
112 | inline G4double GetRestZ() const; |
---|
113 | |
---|
114 | inline G4double GetCoulombBarrier() const; |
---|
115 | |
---|
116 | inline G4double GetBindingEnergy() const; |
---|
117 | |
---|
118 | inline G4double GetMaximalKineticEnergy() const; |
---|
119 | |
---|
120 | inline G4double GetEnergyThreshold() const; |
---|
121 | |
---|
122 | inline G4double GetEmissionProbability() const; |
---|
123 | |
---|
124 | inline G4double GetNuclearMass() const; |
---|
125 | |
---|
126 | inline G4double GetRestNuclearMass() const; |
---|
127 | |
---|
128 | inline G4double GetReducedMass() const; |
---|
129 | |
---|
130 | inline const G4LorentzVector GetMomentum() const; |
---|
131 | |
---|
132 | inline void SetMomentum(const G4LorentzVector & value); |
---|
133 | |
---|
134 | inline void SetFragmentName(const G4String& aName); |
---|
135 | |
---|
136 | inline const G4String GetName() const; |
---|
137 | |
---|
138 | inline void ResetStage(); |
---|
139 | |
---|
140 | inline G4int GetStage() const; |
---|
141 | |
---|
142 | inline void IncrementStage(); |
---|
143 | |
---|
144 | //for inverse cross section choice |
---|
145 | inline void SetOPTxs(G4int); |
---|
146 | //for superimposed Coulomb Barrier for inverse cross sections |
---|
147 | inline void UseSICB(G4bool); |
---|
148 | |
---|
149 | |
---|
150 | |
---|
151 | // ============= |
---|
152 | // Data members |
---|
153 | // ============= |
---|
154 | |
---|
155 | |
---|
156 | private: |
---|
157 | |
---|
158 | G4double theA; |
---|
159 | |
---|
160 | G4double theZ; |
---|
161 | private: |
---|
162 | |
---|
163 | G4double theRestNucleusA; |
---|
164 | |
---|
165 | G4double theRestNucleusZ; |
---|
166 | protected: |
---|
167 | G4double theCoulombBarrier; |
---|
168 | private: |
---|
169 | G4VCoulombBarrier * theCoulombBarrierPtr; |
---|
170 | |
---|
171 | G4double theBindingEnergy; |
---|
172 | |
---|
173 | G4double theMaximalKineticEnergy; |
---|
174 | |
---|
175 | protected: |
---|
176 | G4double theEmissionProbability; |
---|
177 | private: |
---|
178 | G4LorentzVector theMomentum; |
---|
179 | |
---|
180 | G4String theFragmentName; |
---|
181 | |
---|
182 | G4int theStage; |
---|
183 | |
---|
184 | protected: |
---|
185 | //for inverse cross section choice |
---|
186 | G4int OPTxs; |
---|
187 | //for superimposed Coulomb Barrier for inverse cross sections |
---|
188 | G4bool useSICB; |
---|
189 | }; |
---|
190 | |
---|
191 | #include "G4VPreCompoundFragment.icc" |
---|
192 | |
---|
193 | #endif |
---|