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