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 */
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 */
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 */
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 */
86 ALL };
87
88 /** Sample a discretized Gaussian distribution (\p INT) or continuous (\p DOUBLE) */
91
92 /** ENDF format provides for 3 isomers - 1 ground state and 2 meta states */
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 */
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,
120 WARNING = 0x100,
121 DEBUG = 0x200,
122 PRINT_ALL = 0x3FF,
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
int G4int
Definition: G4Types.hh:85