Geant4.10
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4.10.00.p01
source
processes
hadronic
models
neutron_hp
include
G4FFGEnumerations.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: G4FFGEnumerations.hh
28
* Author: B. Wendt (wendbryc@isu.edu)
29
*
30
* Created on June 6, 2011, 9:12 AM
31
*/
32
33
#ifndef G4FFGENUMAERATIONS_HH
34
#define G4FFGENUMAERATIONS_HH
35
36
/** G4FFGEnumerations is a namespace that contains all the enumerations that
37
* are used in the fission fragment generator code.
38
*/
39
namespace
G4FFGEnumerations
40
{
41
/** The two types of fission data available. Independent yields are taken
42
* directly from prompt fission products, while cumulative fission yields are
43
* taken some time after the fission event so that the products have had a
44
* moment to stabilize.
45
*/
46
enum
YieldType
{
INDEPENDENT
= 454,
47
CUMULATIVE
= 459 };
48
/** The first value of YieldType */
49
static
const
G4int
YieldTypeFirst =
INDEPENDENT
;
50
/** The last value of YieldType */
51
static
const
G4int
YieldTypeLast =
CUMULATIVE
;
52
53
/** Causes of fission.
54
* Currently only yields for spontaneous and neutron induced fission are
55
* included in the data libraries. Photon and gamma induced fission are
56
* included here only to provide potential forward compatibility.
57
* <b> G4FissionFragmentGenerator::G4SetCause() must be modified if the data
58
* sets are expanded to include photon and gamma induced fission. </b>
59
*/
60
enum
FissionCause
{
SPONTANEOUS
,
61
NEUTRON_INDUCED
,
62
PROTON_INDUCED
,
63
GAMMA_INDUCED
};
64
/** The first value of FissionCause */
65
static
const
G4int
FissionCauseFirst =
SPONTANEOUS
;
66
/** The last value of FissionCause.
67
* This is set to NEUTRON_INDUCED becuase neither PROTON_INDUCED
68
* nor GAMMA_INDUCED are currently supporded.
69
*/
70
static
const
G4int
FissionCauseLast =
NEUTRON_INDUCED
;
71
72
/** The possible fission sampling methods */
73
enum
FissionSamplingScheme
{
NORMAL
,
74
LIGHT_FRAGMENT
};
75
/** The first value of FissionSamplingScheme */
76
static
const
G4int
FissionSamplingSchemeFirst =
NORMAL
;
77
/** The last value of FissionSamplingScheme */
78
static
const
G4int
FissionSamplingSchemeLast =
LIGHT_FRAGMENT
;
79
80
/** Truncate the Gaussian distribution at 0 (\p POSITIVE) or sample all values
81
* (\p ALL)
82
*/
83
enum
GaussianRange
{
POSITIVE
,
84
ALL
};
85
86
/** Sample a discretized Gaussian distribution (\p INT) or continuous (\p DOUBLE) */
87
enum
GaussianReturnType
{
INT
,
88
DOUBLE
};
89
90
/** ENDF format provides for 3 isomers - 1 ground state and 2 meta states */
91
enum
MetaState
{
GROUND_STATE
,
92
META_1
,
93
META_2
};
94
/** The first value of MetaState */
95
static
const
G4int
MetaStateFirst =
GROUND_STATE
;
96
/** The last value of MetaState */
97
static
const
G4int
MetaStateLast =
META_2
;
98
99
/** These are the source shapes available */
100
enum
SourceType
{
RECTANGLE
,
101
CYLINDER
,
102
SPHERE
};
103
/** The first value of SourceType */
104
static
const
G4int
SourceTypeFirst =
RECTANGLE
;
105
/** The last value of SourceType */
106
static
const
G4int
SourceTypeLast =
SPHERE
;
107
108
/** These are the verbosity levels */
109
enum
Verbosity
{
SILENT
= 0x0,
110
UPDATES
= 0x1,
111
DAUGHTER_INFO
= 0x2,
112
NEUTRON_INFO
= 0x4,
113
GAMMA_INFO
= 0x8,
114
ALPHA_INFO
= 0x10,
115
MOMENTUM_INFO
= 0x20,
116
ENERGY_INFO
= 0x40,
117
EXTRAPOLATION_INTERPOLATION_INFO
= 0x80,
118
WARNING
= 0x100,
119
DEBUG
= 0x200,
120
PRINT_ALL
= 0x3FF,
121
REPRESS_FUNCTION_ENTER_LEAVE_MESSAGES
= 0x1000,
122
REPRESS_RANDOM_SAMPLING_MESSAGES
= 0x2000,
123
REPRESS_RECURSIVE_DEBUG_MESSAGES
= 0x4000,
124
REPRESS_DATA_STRUCTURE_DEBUG_MESSAGES
= 0x8000 };
125
/** This is the maximum value of Verbosity */
126
static
const
G4int
VerbosityLast = (
REPRESS_DATA_STRUCTURE_DEBUG_MESSAGES
<< 1) - 1;
127
}
128
129
#endif
/* G4FFGENUMAERATIONS_HH */
130
G4FFGEnumerations::MetaState
MetaState
Definition:
G4FFGEnumerations.hh:91
G4FFGEnumerations::EXTRAPOLATION_INTERPOLATION_INFO
Definition:
G4FFGEnumerations.hh:117
G4FFGEnumerations::PRINT_ALL
Definition:
G4FFGEnumerations.hh:120
G4FFGEnumerations::DEBUG
Definition:
G4FFGEnumerations.hh:119
G4FFGEnumerations::REPRESS_DATA_STRUCTURE_DEBUG_MESSAGES
Definition:
G4FFGEnumerations.hh:124
G4FFGEnumerations::CUMULATIVE
Definition:
G4FFGEnumerations.hh:47
G4FFGEnumerations::GAMMA_INFO
Definition:
G4FFGEnumerations.hh:113
G4FFGEnumerations::META_2
Definition:
G4FFGEnumerations.hh:93
G4FFGEnumerations::META_1
Definition:
G4FFGEnumerations.hh:92
G4FFGEnumerations::MOMENTUM_INFO
Definition:
G4FFGEnumerations.hh:115
G4FFGEnumerations::REPRESS_RANDOM_SAMPLING_MESSAGES
Definition:
G4FFGEnumerations.hh:122
G4FFGEnumerations::RECTANGLE
Definition:
G4FFGEnumerations.hh:100
G4FFGEnumerations::YieldType
YieldType
Definition:
G4FFGEnumerations.hh:46
G4int
int G4int
Definition:
G4Types.hh:78
G4FFGEnumerations::FissionCause
FissionCause
Definition:
G4FFGEnumerations.hh:60
G4FFGEnumerations::Verbosity
Verbosity
Definition:
G4FFGEnumerations.hh:109
G4FFGEnumerations::INT
Definition:
G4FFGEnumerations.hh:87
G4FFGEnumerations::GaussianReturnType
GaussianReturnType
Definition:
G4FFGEnumerations.hh:87
G4FFGEnumerations::SILENT
Definition:
G4FFGEnumerations.hh:109
G4FFGEnumerations::WARNING
Definition:
G4FFGEnumerations.hh:118
G4FFGEnumerations::ENERGY_INFO
Definition:
G4FFGEnumerations.hh:116
G4FFGEnumerations::DOUBLE
Definition:
G4FFGEnumerations.hh:88
G4FFGEnumerations::NORMAL
Definition:
G4FFGEnumerations.hh:73
G4FFGEnumerations::NEUTRON_INFO
Definition:
G4FFGEnumerations.hh:112
G4FFGEnumerations::CYLINDER
Definition:
G4FFGEnumerations.hh:101
G4FFGEnumerations::NEUTRON_INDUCED
Definition:
G4FFGEnumerations.hh:61
G4FFGEnumerations::DAUGHTER_INFO
Definition:
G4FFGEnumerations.hh:111
G4FFGEnumerations::REPRESS_RECURSIVE_DEBUG_MESSAGES
Definition:
G4FFGEnumerations.hh:123
G4FFGEnumerations::GaussianRange
GaussianRange
Definition:
G4FFGEnumerations.hh:83
G4FFGEnumerations::POSITIVE
Definition:
G4FFGEnumerations.hh:83
G4FFGEnumerations::LIGHT_FRAGMENT
Definition:
G4FFGEnumerations.hh:74
G4FFGEnumerations::GAMMA_INDUCED
Definition:
G4FFGEnumerations.hh:63
G4FFGEnumerations::ALL
Definition:
G4FFGEnumerations.hh:84
G4FFGEnumerations::SPHERE
Definition:
G4FFGEnumerations.hh:102
G4FFGEnumerations::FissionSamplingScheme
FissionSamplingScheme
Definition:
G4FFGEnumerations.hh:73
G4FFGEnumerations::SPONTANEOUS
Definition:
G4FFGEnumerations.hh:60
G4FFGEnumerations::GROUND_STATE
Definition:
G4FFGEnumerations.hh:91
G4FFGEnumerations::ALPHA_INFO
Definition:
G4FFGEnumerations.hh:114
G4FFGEnumerations::SourceType
SourceType
Definition:
G4FFGEnumerations.hh:100
G4FFGEnumerations::INDEPENDENT
Definition:
G4FFGEnumerations.hh:46
G4FFGEnumerations::PROTON_INDUCED
Definition:
G4FFGEnumerations.hh:62
G4FFGEnumerations::UPDATES
Definition:
G4FFGEnumerations.hh:110
G4FFGEnumerations::REPRESS_FUNCTION_ENTER_LEAVE_MESSAGES
Definition:
G4FFGEnumerations.hh:121
Generated on Wed Apr 30 2014 15:54:45 for Geant4.10 by
1.8.7