Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4DeexPrecoParameters Class Reference

#include <G4DeexPrecoParameters.hh>

Public Member Functions

 G4DeexPrecoParameters ()
 
void SetDefaults ()
 
std::ostream & StreamInfo (std::ostream &os) const
 
void Dump () const
 
G4double GetLevelDensity () const
 
G4double GetR0 () const
 
G4double GetTransitionsR0 () const
 
G4double GetFermiEnergy () const
 
G4double GetPrecoLowEnergy () const
 
G4double GetPhenoFactor () const
 
G4double GetMinExcitation () const
 
G4double GetMaxLifeTime () const
 
G4double GetMinExPerNucleounForMF () const
 
G4int GetMinZForPreco () const
 
G4int GetMinAForPreco () const
 
G4int GetPrecoModelType () const
 
G4int GetDeexModelType () const
 
G4bool NeverGoBack () const
 
G4bool UseSoftCutoff () const
 
G4bool UseCEM () const
 
G4bool UseGNASH () const
 
G4bool UseHETC () const
 
G4bool UseAngularGen () const
 
G4bool UseFilesNEW () const
 
G4bool CorrelatedGamma () const
 
G4bool StoreAllLevels () const
 
G4DeexChannelType GetDeexChannelsType () const
 
void SetLevelDensity (G4double)
 
void SetR0 (G4double)
 
void SetTransitionsR0 (G4double)
 
void SetFermiEnergy (G4double)
 
void SetPrecoLowEnergy (G4double)
 
void SetPhenoFactor (G4double)
 
void SetMinExcitation (G4double)
 
void SetMaxLifeTime (G4double)
 
void SetMinExPerNucleounForMF (G4double)
 
void SetMinEForMultiFrag (G4double)
 
void SetMinZForPreco (G4int)
 
void SetMinAForPreco (G4int)
 
void SetPrecoModelType (G4int)
 
void SetDeexModelType (G4int)
 
void SetNeverGoBack (G4bool)
 
void SetUseSoftCutoff (G4bool)
 
void SetUseCEM (G4bool)
 
void SetUseGNASH (G4bool)
 
void SetUseHETC (G4bool)
 
void SetUseAngularGen (G4bool)
 
void SetUseFilesNEW (G4bool)
 
void SetCorrelatedGamma (G4bool)
 
void SetStoreAllLevels (G4bool)
 
void SetDeexChannelsType (G4DeexChannelType)
 

Friends

std::ostream & operator<< (std::ostream &os, const G4DeexPrecoParameters &)
 

Detailed Description

Definition at line 49 of file G4DeexPrecoParameters.hh.

Constructor & Destructor Documentation

G4DeexPrecoParameters::G4DeexPrecoParameters ( )
explicit

Definition at line 43 of file G4DeexPrecoParameters.cc.

44 {
45  fStateManager = G4StateManager::GetStateManager();
46  SetDefaults();
47 }
static G4StateManager * GetStateManager()

Here is the call graph for this function:

Member Function Documentation

G4bool G4DeexPrecoParameters::CorrelatedGamma ( ) const
inline

Definition at line 326 of file G4DeexPrecoParameters.hh.

327 {
328  return fCorrelatedGamma;
329 }

Here is the caller graph for this function:

void G4DeexPrecoParameters::Dump ( ) const

Definition at line 242 of file G4DeexPrecoParameters.cc.

243 {
245 }
G4GLOB_DLL std::ostream G4cout
G4bool IsMasterThread()
Definition: G4Threading.cc:146
std::ostream & StreamInfo(std::ostream &os) const

Here is the call graph for this function:

Here is the caller graph for this function:

G4DeexChannelType G4DeexPrecoParameters::GetDeexChannelsType ( ) const
inline

Definition at line 336 of file G4DeexPrecoParameters.hh.

337 {
338  return fDeexChannelType;
339 }

Here is the caller graph for this function:

G4int G4DeexPrecoParameters::GetDeexModelType ( ) const
inline

Definition at line 286 of file G4DeexPrecoParameters.hh.

287 {
288  return fDeexType;
289 }

Here is the caller graph for this function:

G4double G4DeexPrecoParameters::GetFermiEnergy ( ) const
inline

Definition at line 241 of file G4DeexPrecoParameters.hh.

242 {
243  return fFermiEnergy;
244 }

Here is the caller graph for this function:

G4double G4DeexPrecoParameters::GetLevelDensity ( ) const
inline

Definition at line 226 of file G4DeexPrecoParameters.hh.

227 {
228  return fLevelDensity;
229 }

Here is the caller graph for this function:

G4double G4DeexPrecoParameters::GetMaxLifeTime ( ) const
inline

Definition at line 261 of file G4DeexPrecoParameters.hh.

262 {
263  return fMaxLifeTime;
264 }

Here is the caller graph for this function:

G4int G4DeexPrecoParameters::GetMinAForPreco ( ) const
inline

Definition at line 276 of file G4DeexPrecoParameters.hh.

277 {
278  return fMinAForPreco;
279 }

Here is the caller graph for this function:

G4double G4DeexPrecoParameters::GetMinExcitation ( ) const
inline

Definition at line 256 of file G4DeexPrecoParameters.hh.

257 {
258  return fMinExcitation;
259 }

Here is the caller graph for this function:

G4double G4DeexPrecoParameters::GetMinExPerNucleounForMF ( ) const
inline

Definition at line 266 of file G4DeexPrecoParameters.hh.

267 {
268  return fMinExPerNucleounForMF;
269 }
G4int G4DeexPrecoParameters::GetMinZForPreco ( ) const
inline

Definition at line 271 of file G4DeexPrecoParameters.hh.

272 {
273  return fMinZForPreco;
274 }

Here is the caller graph for this function:

G4double G4DeexPrecoParameters::GetPhenoFactor ( ) const
inline

Definition at line 251 of file G4DeexPrecoParameters.hh.

252 {
253  return fPhenoFactor;
254 }
G4double G4DeexPrecoParameters::GetPrecoLowEnergy ( ) const
inline

Definition at line 246 of file G4DeexPrecoParameters.hh.

247 {
248  return fPrecoLowEnergy;
249 }

Here is the caller graph for this function:

G4int G4DeexPrecoParameters::GetPrecoModelType ( ) const
inline

Definition at line 281 of file G4DeexPrecoParameters.hh.

282 {
283  return fPrecoType;
284 }

Here is the caller graph for this function:

G4double G4DeexPrecoParameters::GetR0 ( ) const
inline

Definition at line 231 of file G4DeexPrecoParameters.hh.

232 {
233  return fR0;
234 }

Here is the caller graph for this function:

G4double G4DeexPrecoParameters::GetTransitionsR0 ( ) const
inline

Definition at line 236 of file G4DeexPrecoParameters.hh.

237 {
238  return fTransitionsR0;
239 }

Here is the caller graph for this function:

G4bool G4DeexPrecoParameters::NeverGoBack ( ) const
inline

Definition at line 291 of file G4DeexPrecoParameters.hh.

292 {
293  return fNeverGoBack;
294 }

Here is the caller graph for this function:

void G4DeexPrecoParameters::SetCorrelatedGamma ( G4bool  val)

Definition at line 202 of file G4DeexPrecoParameters.cc.

203 {
204  if(IsLocked()) { return; }
205  fCorrelatedGamma = val;
206 }
void G4DeexPrecoParameters::SetDeexChannelsType ( G4DeexChannelType  val)

Definition at line 214 of file G4DeexPrecoParameters.cc.

215 {
216  if(IsLocked()) { return; }
217  fDeexChannelType = val;
218 }
void G4DeexPrecoParameters::SetDeexModelType ( G4int  n)

Definition at line 154 of file G4DeexPrecoParameters.cc.

155 {
156  if(IsLocked()) { return; }
157  fDeexType = n;
158 }
void G4DeexPrecoParameters::SetDefaults ( )

Definition at line 49 of file G4DeexPrecoParameters.cc.

50 {
51 #ifdef G4MULTITHREADED
52  G4MUTEXLOCK(&G4DeexPrecoParameters::deexPrecoMutex);
53 #endif
54  fLevelDensity = 0.10/CLHEP::MeV;
55  fR0 = 1.5*CLHEP::fermi;
56  fTransitionsR0 = 0.6*CLHEP::fermi;
57  fFermiEnergy = 35.0*CLHEP::MeV;
58  fPrecoLowEnergy = 0.1*CLHEP::MeV;
59  fPhenoFactor = 1.0;
60  fMinExcitation = 10*CLHEP::eV;
61  fMaxLifeTime = 1.0*CLHEP::microsecond;
62  fMinExPerNucleounForMF = 100*CLHEP::GeV;
63  fMinZForPreco = 3;
64  fMinAForPreco = 5;
65  fPrecoType = 3;
66  fDeexType = 3;
67  fNeverGoBack = false;
68  fUseSoftCutoff = false;
69  fUseCEM = true;
70  fUseGNASH = false;
71  fUseHETC = false;
72  fUseAngularGen = false;
73  fUseLongFiles = true;
74  fCorrelatedGamma = false;
75  fStoreAllLevels = false;
76  fDeexChannelType = fEvaporation;
77 #ifdef G4MULTITHREADED
78  G4MUTEXUNLOCK(&G4DeexPrecoParameters::deexPrecoMutex);
79 #endif
80 }
#define G4MUTEXUNLOCK
Definition: G4Threading.hh:180
static constexpr double MeV
#define G4MUTEXLOCK
Definition: G4Threading.hh:179
static constexpr double eV
static constexpr double GeV
static constexpr double microsecond
static constexpr double fermi
Definition: SystemOfUnits.h:83

Here is the caller graph for this function:

void G4DeexPrecoParameters::SetFermiEnergy ( G4double  val)

Definition at line 100 of file G4DeexPrecoParameters.cc.

101 {
102  if(IsLocked()) { return; }
103  fFermiEnergy = val;
104 }
void G4DeexPrecoParameters::SetLevelDensity ( G4double  val)

Definition at line 82 of file G4DeexPrecoParameters.cc.

83 {
84  if(IsLocked()) { return; }
85  fLevelDensity = val/CLHEP::MeV;
86 }
static constexpr double MeV
void G4DeexPrecoParameters::SetMaxLifeTime ( G4double  val)

Definition at line 124 of file G4DeexPrecoParameters.cc.

125 {
126  if(IsLocked()) { return; }
127  fMaxLifeTime = val;
128 }
void G4DeexPrecoParameters::SetMinAForPreco ( G4int  n)

Definition at line 142 of file G4DeexPrecoParameters.cc.

143 {
144  if(IsLocked()) { return; }
145  fMinAForPreco = n;
146 }
void G4DeexPrecoParameters::SetMinEForMultiFrag ( G4double  )
void G4DeexPrecoParameters::SetMinExcitation ( G4double  val)

Definition at line 118 of file G4DeexPrecoParameters.cc.

119 {
120  if(IsLocked()) { return; }
121  fMinExcitation = val;
122 }
void G4DeexPrecoParameters::SetMinExPerNucleounForMF ( G4double  val)

Definition at line 130 of file G4DeexPrecoParameters.cc.

131 {
132  if(IsLocked()) { return; }
133  fMinExPerNucleounForMF = val;
134 }
void G4DeexPrecoParameters::SetMinZForPreco ( G4int  n)

Definition at line 136 of file G4DeexPrecoParameters.cc.

137 {
138  if(IsLocked()) { return; }
139  fMinZForPreco = n;
140 }
void G4DeexPrecoParameters::SetNeverGoBack ( G4bool  val)

Definition at line 160 of file G4DeexPrecoParameters.cc.

161 {
162  if(IsLocked()) { return; }
163  fNeverGoBack = val;
164 }
void G4DeexPrecoParameters::SetPhenoFactor ( G4double  val)

Definition at line 112 of file G4DeexPrecoParameters.cc.

113 {
114  if(IsLocked()) { return; }
115  fPhenoFactor = val;
116 }
void G4DeexPrecoParameters::SetPrecoLowEnergy ( G4double  val)

Definition at line 106 of file G4DeexPrecoParameters.cc.

107 {
108  if(IsLocked()) { return; }
109  fPrecoLowEnergy = val;
110 }
void G4DeexPrecoParameters::SetPrecoModelType ( G4int  n)

Definition at line 148 of file G4DeexPrecoParameters.cc.

149 {
150  if(IsLocked()) { return; }
151  fPrecoType = n;
152 }
void G4DeexPrecoParameters::SetR0 ( G4double  val)

Definition at line 88 of file G4DeexPrecoParameters.cc.

89 {
90  if(IsLocked()) { return; }
91  fR0 = val;
92 }
void G4DeexPrecoParameters::SetStoreAllLevels ( G4bool  val)

Definition at line 208 of file G4DeexPrecoParameters.cc.

209 {
210  if(IsLocked()) { return; }
211  fStoreAllLevels = val;
212 }

Here is the caller graph for this function:

void G4DeexPrecoParameters::SetTransitionsR0 ( G4double  val)

Definition at line 94 of file G4DeexPrecoParameters.cc.

95 {
96  if(IsLocked()) { return; }
97  fTransitionsR0 = val;
98 }
void G4DeexPrecoParameters::SetUseAngularGen ( G4bool  val)

Definition at line 190 of file G4DeexPrecoParameters.cc.

191 {
192  if(IsLocked()) { return; }
193  fUseAngularGen = val;
194 }
void G4DeexPrecoParameters::SetUseCEM ( G4bool  val)

Definition at line 172 of file G4DeexPrecoParameters.cc.

173 {
174  if(IsLocked()) { return; }
175  fUseCEM = val;
176 }
void G4DeexPrecoParameters::SetUseFilesNEW ( G4bool  val)

Definition at line 196 of file G4DeexPrecoParameters.cc.

197 {
198  if(IsLocked()) { return; }
199  fUseLongFiles = val;
200 }

Here is the caller graph for this function:

void G4DeexPrecoParameters::SetUseGNASH ( G4bool  val)

Definition at line 178 of file G4DeexPrecoParameters.cc.

179 {
180  if(IsLocked()) { return; }
181  fUseGNASH = val;
182 }
void G4DeexPrecoParameters::SetUseHETC ( G4bool  val)

Definition at line 184 of file G4DeexPrecoParameters.cc.

185 {
186  if(IsLocked()) { return; }
187  fUseHETC = val;
188 }
void G4DeexPrecoParameters::SetUseSoftCutoff ( G4bool  val)

Definition at line 166 of file G4DeexPrecoParameters.cc.

167 {
168  if(IsLocked()) { return; }
169  fUseSoftCutoff = val;
170 }
G4bool G4DeexPrecoParameters::StoreAllLevels ( ) const
inline

Definition at line 331 of file G4DeexPrecoParameters.hh.

332 {
333  return fStoreAllLevels;
334 }

Here is the caller graph for this function:

std::ostream & G4DeexPrecoParameters::StreamInfo ( std::ostream &  os) const

Definition at line 220 of file G4DeexPrecoParameters.cc.

221 {
222  G4int prec = os.precision(5);
223  os << "=======================================================================" << "\n";
224  os << "====== Pre-compound/De-excitation Physics Parameters ========" << "\n";
225  os << "=======================================================================" << "\n";
226  os << "Type of pre-compound inverse x-section " << fPrecoType << "\n";
227  os << "Type of de-excitation inverse x-section " << fDeexType << "\n";
228  os << "Min excitation energy (keV) "
229  << fMinExcitation/CLHEP::keV << "\n";
230  os << "Level density (1/MeV) "
231  << fLevelDensity*CLHEP::MeV << "\n";
232  os << "Time limit for long lived isomeres (ns) "
233  << fMaxLifeTime/CLHEP::ns << "\n";
234  os << "Use new data files " << fUseLongFiles << "\n";
235  os << "Use complete data files " << fStoreAllLevels << "\n";
236  os << "Correlated gamma emission flag " << fCorrelatedGamma << "\n";
237  os << "=======================================================================" << "\n";
238  os.precision(prec);
239  return os;
240 }
static constexpr double keV
static constexpr double ns
int G4int
Definition: G4Types.hh:78
static const double prec
Definition: RanecuEngine.cc:58
static constexpr double MeV

Here is the caller graph for this function:

G4bool G4DeexPrecoParameters::UseAngularGen ( ) const
inline

Definition at line 316 of file G4DeexPrecoParameters.hh.

317 {
318  return fUseAngularGen;
319 }
G4bool G4DeexPrecoParameters::UseCEM ( ) const
inline

Definition at line 301 of file G4DeexPrecoParameters.hh.

302 {
303  return fUseCEM;
304 }

Here is the caller graph for this function:

G4bool G4DeexPrecoParameters::UseFilesNEW ( ) const
inline

Definition at line 321 of file G4DeexPrecoParameters.hh.

322 {
323  return fUseLongFiles;
324 }

Here is the caller graph for this function:

G4bool G4DeexPrecoParameters::UseGNASH ( ) const
inline

Definition at line 306 of file G4DeexPrecoParameters.hh.

307 {
308  return fUseGNASH;
309 }

Here is the caller graph for this function:

G4bool G4DeexPrecoParameters::UseHETC ( ) const
inline

Definition at line 311 of file G4DeexPrecoParameters.hh.

312 {
313  return fUseHETC;
314 }

Here is the caller graph for this function:

G4bool G4DeexPrecoParameters::UseSoftCutoff ( ) const
inline

Definition at line 296 of file G4DeexPrecoParameters.hh.

297 {
298  return fUseSoftCutoff;
299 }

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4DeexPrecoParameters par 
)
friend

Definition at line 247 of file G4DeexPrecoParameters.cc.

248 {
249  return par.StreamInfo(os);
250 }
std::ostream & StreamInfo(std::ostream &os) const

The documentation for this class was generated from the following files: