Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4DeexPrecoParameters.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: G4DeexPrecoParameters.hh 68028 2013-03-13 13:48:15Z gcosmo $
27 //
28 // 15.03.2016 V.Ivanchenko
29 //
30 // List of parameters of the pre-compound model
31 // and the deexcitation module
32 //
33 
34 #ifndef G4DeexPrecoParameters_h
35 #define G4DeexPrecoParameters_h 1
36 
37 #include "globals.hh"
38 #include "G4Threading.hh"
39 
41 {
45 };
46 
47 class G4StateManager;
48 
50 {
51 public:
52 
53  explicit G4DeexPrecoParameters();
54 
55  void SetDefaults();
56 
57  // printing
58  std::ostream& StreamInfo(std::ostream& os) const;
59  void Dump() const;
60  friend std::ostream& operator<< (std::ostream& os,
61  const G4DeexPrecoParameters&);
62 
63  // inline access methods
64 
65  inline G4double GetLevelDensity() const;
66 
67  inline G4double GetR0() const;
68 
69  inline G4double GetTransitionsR0() const;
70 
71  inline G4double GetFermiEnergy() const;
72 
73  inline G4double GetPrecoLowEnergy() const;
74 
75  inline G4double GetPhenoFactor() const;
76 
77  inline G4double GetMinExcitation() const;
78 
79  inline G4double GetMaxLifeTime() const;
80 
81  inline G4double GetMinExPerNucleounForMF() const;
82 
83  inline G4int GetMinZForPreco() const;
84 
85  inline G4int GetMinAForPreco() const;
86 
87  inline G4int GetPrecoModelType() const;
88 
89  inline G4int GetDeexModelType() const;
90 
91  inline G4bool NeverGoBack() const;
92 
93  inline G4bool UseSoftCutoff() const;
94 
95  inline G4bool UseCEM() const;
96 
97  inline G4bool UseGNASH() const;
98 
99  inline G4bool UseHETC() const;
100 
101  inline G4bool UseAngularGen() const;
102 
103  inline G4bool UseFilesNEW() const;
104 
105  inline G4bool CorrelatedGamma() const;
106 
107  inline G4bool StoreAllLevels() const;
108 
109  inline G4DeexChannelType GetDeexChannelsType() const;
110 
111  // Set methods
112 
114 
115  void SetR0(G4double);
116 
118 
119  void SetFermiEnergy(G4double);
120 
122 
123  void SetPhenoFactor(G4double);
124 
126 
127  void SetMaxLifeTime(G4double);
128 
130 
132 
133  void SetMinZForPreco(G4int);
134 
135  void SetMinAForPreco(G4int);
136 
137  void SetPrecoModelType(G4int);
138 
139  void SetDeexModelType(G4int);
140 
141  void SetNeverGoBack(G4bool);
142 
143  void SetUseSoftCutoff(G4bool);
144 
145  void SetUseCEM(G4bool);
146 
147  void SetUseGNASH(G4bool);
148 
149  void SetUseHETC(G4bool);
150 
151  void SetUseAngularGen(G4bool);
152 
153  void SetUseFilesNEW(G4bool);
154 
156 
158 
160 
161 private:
162 
163  G4bool IsLocked() const;
164 
165  G4DeexPrecoParameters(const G4DeexPrecoParameters & right) = delete;
166  const G4DeexPrecoParameters& operator=(const G4DeexPrecoParameters &right) = delete;
167  G4bool operator==(const G4DeexPrecoParameters &right) const = delete;
168  G4bool operator!=(const G4DeexPrecoParameters &right) const = delete;
169 
170  G4StateManager* fStateManager;
171 
172  // Level density parameter
173  G4double fLevelDensity;
174 
175  // Nuclear radius r0
176  G4double fR0;
177 
178  // Nuclear radius r0 for transitions
179  G4double fTransitionsR0;
180 
181  // Fermi energy level
182  G4double fFermiEnergy;
183 
184  // Low-energy excitation per nucleon limit
185  G4double fPrecoLowEnergy;
186 
187  // Preco phenomenological factor
188  G4double fPhenoFactor;
189 
190  // Excitation handler
191  G4double fMinExcitation;
192  G4double fMaxLifeTime;
193 
194  // Multi-fragmentation model
195  G4double fMinExPerNucleounForMF;
196 
197  // Preco model
198  G4int fMinZForPreco;
199  G4int fMinAForPreco;
200 
201  // Cross section type
202  G4int fPrecoType;
203  G4int fDeexType;
204 
205  // Preco flags
206  G4bool fNeverGoBack;
207  G4bool fUseSoftCutoff;
208  G4bool fUseCEM;
209  G4bool fUseGNASH;
210  G4bool fUseHETC;
211  G4bool fUseAngularGen;
212 
213  // Deex flags
214  G4bool fUseLongFiles;
215  G4bool fCorrelatedGamma;
216  G4bool fStoreAllLevels;
217 
218  // type of a set of e-exitation channels
219  G4DeexChannelType fDeexChannelType;
220 
221 #ifdef G4MULTITHREADED
222  static G4Mutex deexPrecoMutex;
223 #endif
224 };
225 
227 {
228  return fLevelDensity;
229 }
230 
232 {
233  return fR0;
234 }
235 
237 {
238  return fTransitionsR0;
239 }
240 
242 {
243  return fFermiEnergy;
244 }
245 
247 {
248  return fPrecoLowEnergy;
249 }
250 
252 {
253  return fPhenoFactor;
254 }
255 
257 {
258  return fMinExcitation;
259 }
260 
262 {
263  return fMaxLifeTime;
264 }
265 
267 {
268  return fMinExPerNucleounForMF;
269 }
270 
272 {
273  return fMinZForPreco;
274 }
275 
277 {
278  return fMinAForPreco;
279 }
280 
282 {
283  return fPrecoType;
284 }
285 
287 {
288  return fDeexType;
289 }
290 
292 {
293  return fNeverGoBack;
294 }
295 
297 {
298  return fUseSoftCutoff;
299 }
300 
302 {
303  return fUseCEM;
304 }
305 
307 {
308  return fUseGNASH;
309 }
310 
312 {
313  return fUseHETC;
314 }
315 
317 {
318  return fUseAngularGen;
319 }
320 
322 {
323  return fUseLongFiles;
324 }
325 
327 {
328  return fCorrelatedGamma;
329 }
330 
332 {
333  return fStoreAllLevels;
334 }
335 
337 {
338  return fDeexChannelType;
339 }
340 
341 #endif
void SetDeexChannelsType(G4DeexChannelType)
G4double GetPhenoFactor() const
G4DeexChannelType GetDeexChannelsType() const
G4double GetPrecoLowEnergy() const
G4double GetLevelDensity() const
int G4int
Definition: G4Types.hh:78
G4double GetMaxLifeTime() const
friend std::ostream & operator<<(std::ostream &os, const G4DeexPrecoParameters &)
G4double GetFermiEnergy() const
bool G4bool
Definition: G4Types.hh:79
G4int G4Mutex
Definition: G4Threading.hh:173
void SetMinExPerNucleounForMF(G4double)
void SetMinEForMultiFrag(G4double)
G4double GetMinExPerNucleounForMF() const
std::ostream & StreamInfo(std::ostream &os) const
double G4double
Definition: G4Types.hh:76
G4double GetTransitionsR0() const
G4double GetMinExcitation() const