Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
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

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

Definition at line 76 of file G4LLNLFission.cc.

References fe.

76  {
77  if (fe != 0) delete fe;
78  fe = new G4fissionEvent(*isotope, *time, *nubar, *eng);
79  }
G4fissionEvent * fe
void genspfissevt_ ( G4int isotope,
G4double time 
)

Definition at line 71 of file G4LLNLFission.cc.

References fe.

71  {
72  if (fe != 0) delete fe;
73  fe = new G4fissionEvent(*isotope, *time, -1., 0.);
74  }
G4fissionEvent * fe
G4double getnage_ ( G4int index)

Definition at line 129 of file G4LLNLFission.cc.

129  {
130  return (*fe).getNeutronAge(*index);
131  }
G4double getndircosu_ ( G4int index)

Definition at line 97 of file G4LLNLFission.cc.

Referenced by G4FissionLibrary::ApplyYourself().

97  {
98  return (*fe).getNeutronDircosu(*index);
99  }
G4double getndircosv_ ( G4int index)

Definition at line 101 of file G4LLNLFission.cc.

Referenced by G4FissionLibrary::ApplyYourself().

101  {
102  return (*fe).getNeutronDircosv(*index);
103  }
G4double getndircosw_ ( G4int index)

Definition at line 105 of file G4LLNLFission.cc.

Referenced by G4FissionLibrary::ApplyYourself().

105  {
106  return (*fe).getNeutronDircosw(*index);
107  }
G4double getneng_ ( G4int index)

Definition at line 89 of file G4LLNLFission.cc.

Referenced by G4FissionLibrary::ApplyYourself().

89  {
90  return (*fe).getNeutronEnergy(*index);
91  }
G4int getnnu_ ( )

Definition at line 81 of file G4LLNLFission.cc.

81  {
82  return (*fe).getNeutronNu();
83  }
G4double getnvel_ ( G4int index)

Definition at line 93 of file G4LLNLFission.cc.

93  {
94  return (*fe).getNeutronVelocity(*index);
95  }
G4double getpage_ ( G4int index)

Definition at line 133 of file G4LLNLFission.cc.

133  {
134  return (*fe).getPhotonAge(*index);
135  }
G4double getpdircosu_ ( G4int index)

Definition at line 117 of file G4LLNLFission.cc.

Referenced by G4FissionLibrary::ApplyYourself().

117  {
118  return (*fe).getPhotonDircosu(*index);
119  }
G4double getpdircosv_ ( G4int index)

Definition at line 121 of file G4LLNLFission.cc.

Referenced by G4FissionLibrary::ApplyYourself().

121  {
122  return (*fe).getPhotonDircosv(*index);
123  }
G4double getpdircosw_ ( G4int index)

Definition at line 125 of file G4LLNLFission.cc.

Referenced by G4FissionLibrary::ApplyYourself().

125  {
126  return (*fe).getPhotonDircosw(*index);
127  }
G4double getpeng_ ( G4int index)

Definition at line 109 of file G4LLNLFission.cc.

Referenced by G4FissionLibrary::ApplyYourself().

109  {
110  return (*fe).getPhotonEnergy(*index);
111  }
G4int getpnu_ ( )

Definition at line 85 of file G4LLNLFission.cc.

85  {
86  return (*fe).getPhotonNu();
87  }
G4double getpvel_ ( G4int index)

Definition at line 113 of file G4LLNLFission.cc.

113  {
114  return (*fe).getPhotonVelocity(*index);
115  }
G4double rngf2d ( void  )
void setcf252_ ( G4int ndist,
G4int neng 
)

Definition at line 185 of file G4LLNLFission.cc.

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

Definition at line 141 of file G4LLNLFission.cc.

141  {
142  (*fe).setCorrelationOption(*correlation);
143  }
void setdelay_ ( G4int delay)

Definition at line 137 of file G4LLNLFission.cc.

137  {
138  (*fe).setDelayOption(*delay);
139  }
void setnudist_ ( G4int nudist)

Definition at line 145 of file G4LLNLFission.cc.

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

Definition at line 205 of file G4LLNLFission.cc.

References G4fissionEvent::setRNGd().

205  {
206  G4fissionEvent::setRNGd(funcptr);
207  }
static void setRNGd(G4double(*funcptr)(void))
void setrngf_ ( G4float(*)(void funcptr)

Definition at line 201 of file G4LLNLFission.cc.

References G4fissionEvent::setRNGf().

201  {
202  G4fissionEvent::setRNGf(funcptr);
203  }
static void setRNGf(float(*funcptr)(void))

Variable Documentation

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