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