Geant4
11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FFGDefaultValues.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
/*
27
* File: G4FFGDefaultValues.hh
28
* Author: B. Wendt (
[email protected]
)
29
*
30
* Created on August 10, 2012, 17:03
31
*/
32
33
#ifndef G4FFGDEFAULTVALUES_HH
34
#define G4FFGDEFAULTVALUES_HH
35
36
//#include "G4SystemOfUnits.hh" bad, use instead:
37
#include <
CLHEP/Units/SystemOfUnits.h
>
38
// and use constants with namespace, see below e.g. eV becomes CLHEP::eV
39
#include "
G4ThreeVector.hh
"
40
41
#include "
G4FFGEnumerations.hh
"
42
43
/** G4FFGDefaultValues is a one-stop shop for storing the default values to
44
* variables that configure how the fission fragment generator code is
45
* initialized.
46
*/
47
namespace
G4FFGDefaultValues
48
{
49
// Global
50
/** The energy of thermal neutrons */
51
static
const
G4double
ThermalNeutronEnergy = 0.0253 * CLHEP::eV;
52
53
// Verbosity
54
#ifdef G4DEBUG_VERBOSE
55
/** Verbosity for the entire package */
56
static
const
G4int
Verbosity =
G4FFGEnumerations::PRINT_ALL
;
// | G4FFGEnumerations::REPRESS_FUNCTION_ENTER_LEAVE_MESSAGES;
57
#else
/* G4DEBUG_VERBOSE */
58
/** Verbosity for the entire package */
59
static
const
G4FFGEnumerations::Verbosity
Verbosity =
G4FFGEnumerations::SILENT
;
60
#endif
/* G4DEBUG_VERBOSE */
61
62
// Fission Parameters
63
/** Default Isotope */
64
static
const
G4int
Isotope = 92238;
65
/** Default meta state */
66
static
const
G4FFGEnumerations::MetaState
MetaState =
G4FFGEnumerations::GROUND_STATE
;
67
/** Default fission cause */
68
static
const
G4FFGEnumerations::FissionCause
FissionCause =
G4FFGEnumerations::SPONTANEOUS
;
69
/** Default incident energy */
70
static
const
G4double
IncidentEnergy = ThermalNeutronEnergy / CLHEP::eV;
71
/** Default incident energy unit */
72
static
const
char
IncidentEnergyUnit[] =
"eV"
;
73
/** Default yield type */
74
static
const
G4FFGEnumerations::YieldType
YieldType =
G4FFGEnumerations::INDEPENDENT
;
75
/** Default sampling scheme */
76
static
const
G4FFGEnumerations::FissionSamplingScheme
SamplingScheme =
G4FFGEnumerations::NORMAL
;
77
/** Default probabilility of a ternary fission */
78
static
const
G4double
TernaryProbability = 0;
79
/** Default alpha production in a ternary fission */
80
static
const
G4double
AlphaProduction = 0;
81
/** Default mean gamma energy for gamma sampling */
82
static
const
G4double
MeanGammaEnergy = 800 * CLHEP::keV;
83
84
// Event Parameters
85
/** Default event time */
86
static
const
G4double
EventTime = 0;
87
/** Default event time units */
88
static
const
char
EventTimeUnit[] =
"ns"
;
89
90
// Source Description
91
/** Default source center */
92
static
const
G4ThreeVector
SourceCenter(0, 0, 0);
93
/** Default source depth */
94
static
const
G4double
SourceDepth = 1;
95
/** Default source rectangle Height */
96
static
const
G4double
SourceHeight = 1;
97
/** Default source radius */
98
static
const
G4double
SourceRadius = 1;
99
/** Default source rectangle Width */
100
static
const
G4double
SourceWidth = 1;
101
/** Default event time units */
102
static
const
char
SourceDimensionUnit[] =
"cm"
;
103
/** Default source type */
104
static
const
G4FFGEnumerations::SourceType
SourceType =
G4FFGEnumerations::SPHERE
;
105
106
// Messenger
107
/** Default command directory */
108
static
const
char
UICommandDirectory[] =
"/process/hadronic/ffgupga"
;
109
110
// Data
111
/** ENDF data tape location, reference against \p G4HPNEUTRONDATA */
112
static
const
char
ENDFFissionDataLocation[] =
"/Fission/FF/"
;
113
}
114
115
#endif
/** G4FFGDEFAULTVALUES_HH */
116
117
G4FFGEnumerations.hh
G4ThreeVector.hh
G4double
double G4double
Definition:
G4Types.hh:83
G4int
int G4int
Definition:
G4Types.hh:85
SystemOfUnits.h
CLHEP::Hep3Vector
Definition:
ThreeVector.h:36
G4FFGDefaultValues
Definition:
G4FFGDefaultValues.hh:48
G4FFGEnumerations::FissionCause
FissionCause
Definition:
G4FFGEnumerations.hh:62
G4FFGEnumerations::SPONTANEOUS
@ SPONTANEOUS
Definition:
G4FFGEnumerations.hh:62
G4FFGEnumerations::SourceType
SourceType
Definition:
G4FFGEnumerations.hh:102
G4FFGEnumerations::SPHERE
@ SPHERE
Definition:
G4FFGEnumerations.hh:104
G4FFGEnumerations::FissionSamplingScheme
FissionSamplingScheme
Definition:
G4FFGEnumerations.hh:75
G4FFGEnumerations::NORMAL
@ NORMAL
Definition:
G4FFGEnumerations.hh:75
G4FFGEnumerations::Verbosity
Verbosity
Definition:
G4FFGEnumerations.hh:111
G4FFGEnumerations::PRINT_ALL
@ PRINT_ALL
Definition:
G4FFGEnumerations.hh:122
G4FFGEnumerations::SILENT
@ SILENT
Definition:
G4FFGEnumerations.hh:111
G4FFGEnumerations::MetaState
MetaState
Definition:
G4FFGEnumerations.hh:93
G4FFGEnumerations::GROUND_STATE
@ GROUND_STATE
Definition:
G4FFGEnumerations.hh:93
G4FFGEnumerations::YieldType
YieldType
Definition:
G4FFGEnumerations.hh:48
G4FFGEnumerations::INDEPENDENT
@ INDEPENDENT
Definition:
G4FFGEnumerations.hh:48
geant4-v11.1.1
source
processes
hadronic
models
particle_hp
include
G4FFGDefaultValues.hh
Generated by
1.9.6