Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4LLNLFission.cc File Reference
#include "G4fissionEvent.hh"

Go to the source code of this file.

Functions

G4double rngf2d (void)
 
void genspfissevt_ (G4int *isotope, G4double *time)
 
void genfissevt_ (G4int *isotope, G4double *time, G4double *nubar, G4double *eng)
 
G4int getnnu_ ()
 
G4int getpnu_ ()
 
G4double getneng_ (G4int *index)
 
G4double getnvel_ (G4int *index)
 
G4double getndircosu_ (G4int *index)
 
G4double getndircosv_ (G4int *index)
 
G4double getndircosw_ (G4int *index)
 
G4double getpeng_ (G4int *index)
 
G4double getpvel_ (G4int *index)
 
G4double getpdircosu_ (G4int *index)
 
G4double getpdircosv_ (G4int *index)
 
G4double getpdircosw_ (G4int *index)
 
G4double getnage_ (G4int *index)
 
G4double getpage_ (G4int *index)
 
void setdelay_ (G4int *delay)
 
void setcorrel_ (G4int *correlation)
 
void setnudist_ (G4int *nudist)
 
void setcf252_ (G4int *ndist, G4int *neng)
 
void setrngf_ (G4float(*funcptr)(void))
 
void setrngd_ (G4double(*funcptr)(void))
 

Variables

G4fissionEventfe
 
G4float(* rngfptr )(void)
 
G4double(* rngdptr )(void)
 

Function Documentation

◆ genfissevt_()

void genfissevt_ ( G4int isotope,
G4double time,
G4double nubar,
G4double eng 
)

Definition at line 75 of file G4LLNLFission.cc.

75 {
76 if (fe != 0) delete fe;
77 fe = new G4fissionEvent(*isotope, *time, *nubar, *eng);
78 }
G4fissionEvent * fe

◆ genspfissevt_()

void genspfissevt_ ( G4int isotope,
G4double time 
)

Definition at line 70 of file G4LLNLFission.cc.

70 {
71 if (fe != 0) delete fe;
72 fe = new G4fissionEvent(*isotope, *time, -1., 0.);
73 }

◆ getnage_()

G4double getnage_ ( G4int index)

Definition at line 128 of file G4LLNLFission.cc.

128 {
129 return (*fe).getNeutronAge(*index);
130 }

◆ getndircosu_()

G4double getndircosu_ ( G4int index)

Definition at line 96 of file G4LLNLFission.cc.

96 {
97 return (*fe).getNeutronDircosu(*index);
98 }

◆ getndircosv_()

G4double getndircosv_ ( G4int index)

Definition at line 100 of file G4LLNLFission.cc.

100 {
101 return (*fe).getNeutronDircosv(*index);
102 }

◆ getndircosw_()

G4double getndircosw_ ( G4int index)

Definition at line 104 of file G4LLNLFission.cc.

104 {
105 return (*fe).getNeutronDircosw(*index);
106 }

◆ getneng_()

G4double getneng_ ( G4int index)

Definition at line 88 of file G4LLNLFission.cc.

88 {
89 return (*fe).getNeutronEnergy(*index);
90 }

◆ getnnu_()

G4int getnnu_ ( )

Definition at line 80 of file G4LLNLFission.cc.

80 {
81 return (*fe).getNeutronNu();
82 }

◆ getnvel_()

G4double getnvel_ ( G4int index)

Definition at line 92 of file G4LLNLFission.cc.

92 {
93 return (*fe).getNeutronVelocity(*index);
94 }

◆ getpage_()

G4double getpage_ ( G4int index)

Definition at line 132 of file G4LLNLFission.cc.

132 {
133 return (*fe).getPhotonAge(*index);
134 }

◆ getpdircosu_()

G4double getpdircosu_ ( G4int index)

Definition at line 116 of file G4LLNLFission.cc.

116 {
117 return (*fe).getPhotonDircosu(*index);
118 }

◆ getpdircosv_()

G4double getpdircosv_ ( G4int index)

Definition at line 120 of file G4LLNLFission.cc.

120 {
121 return (*fe).getPhotonDircosv(*index);
122 }

◆ getpdircosw_()

G4double getpdircosw_ ( G4int index)

Definition at line 124 of file G4LLNLFission.cc.

124 {
125 return (*fe).getPhotonDircosw(*index);
126 }

◆ getpeng_()

G4double getpeng_ ( G4int index)

Definition at line 108 of file G4LLNLFission.cc.

108 {
109 return (*fe).getPhotonEnergy(*index);
110 }

◆ getpnu_()

G4int getpnu_ ( )

Definition at line 84 of file G4LLNLFission.cc.

84 {
85 return (*fe).getPhotonNu();
86 }

◆ getpvel_()

G4double getpvel_ ( G4int index)

Definition at line 112 of file G4LLNLFission.cc.

112 {
113 return (*fe).getPhotonVelocity(*index);
114 }

◆ rngf2d()

G4double rngf2d ( void  )

◆ setcf252_()

void setcf252_ ( G4int ndist,
G4int neng 
)

Definition at line 184 of file G4LLNLFission.cc.

184 {
185/*
186 where the argument
187 *ndist is set to
188 0 to sample the spontaneous fission neutron multiplicity
189 using tabulated data from Spencer
190 1 to sample the spontaneous fission neutron multiplicity
191 using tabulated data from Boldeman
192 *neng is set to
193 0 to sample the Mannhart corrected Maxwellian spectrum
194 1 to sample the Madland-Nix theoretical spectrum
195 2 to sample the Froehner Watt spectrum
196*/
197 (*fe).setCf252Option(*ndist, *neng);
198 }

◆ setcorrel_()

void setcorrel_ ( G4int correlation)

Definition at line 140 of file G4LLNLFission.cc.

140 {
141 (*fe).setCorrelationOption(*correlation);
142 }

◆ setdelay_()

void setdelay_ ( G4int delay)

Definition at line 136 of file G4LLNLFission.cc.

136 {
137 (*fe).setDelayOption(*delay);
138 }

◆ setnudist_()

void setnudist_ ( G4int nudist)

Definition at line 144 of file G4LLNLFission.cc.

144 {
145/*
146 where the argument *nudist affects induced fissions only, it
147 is set to
148 0 for sampling Zucker and Holden probability distributions
149 for U-235,238 and Pu-239. Terrell for other isotopes.
150 1 same as above, but using Gwin, Spencer and Ingle
151 tabulated distributions for thermal energies for U-235.
152 Terrell for other isotopes.
153 2 for sampling fission-induced neutron multiplicity in
154 (a) U-232, U-234, U-236 and U-238 using Zucker and
155 Holden's tabulated data for U-238
156 (b) U-233 and U-235 using Zucker and Holden's tabulated
157 data for U-235
158 (c) Pu-239 and Pu-241 using Zucker and Holden's tabulated
159 data for Pu-239
160 The P(nu) distributions for *nudist=2 are given as a
161 function of the average number of neutrons from fission,
162 based on interpolation of the data from Zucker and Holden.
163 Terrell for other isotopes.
164 3 for sampling fission-induced neutron multiplicity in
165 (a) U-232, U-234, U-236 and U-238 using Zucker and
166 Holden's tabulated data for U-238
167 (b) U-233 and U-235 using Zucker and Holden's tabulated
168 data for U-235
169 (c) Pu-239 and Pu-241 using Zucker and Holden's tabulated
170 data for Pu-239
171 The Z&H tables have P(nu) distributions for 11 energies
172 (0 MeV through 10 MeV), along with their nubars. For
173 *nudist=3, we select the P(nu) distribution that has
174 a nubar closest either from above, or from below, to the
175 to the nubar entered for the induced fission, based on a
176 random number and fractional distances to the end of the
177 nubar interval thus formed.
178 Terrell for other isotopes.
179*/
180
181 (*fe).setNudistOption(*nudist);
182 }

◆ setrngd_()

void setrngd_ ( G4double(*)(void)  funcptr)

Definition at line 204 of file G4LLNLFission.cc.

204 {
206 }
static void setRNGd(G4double(*funcptr)(void))

◆ setrngf_()

void setrngf_ ( G4float(*)(void)  funcptr)

Definition at line 200 of file G4LLNLFission.cc.

200 {
202 }
static void setRNGf(float(*funcptr)(void))

Variable Documentation

◆ fe

◆ rngdptr

G4double(* rngdptr) (void) ( void  )
extern

◆ rngfptr

G4float(* rngfptr) (void) ( void  )
extern