19#ifndef _NeutronSpectrum_
20#define _NeutronSpectrum_
58 AlphaNTabs(
int AlphaNumberOfBins = 8000,
double Alpha_eVPerBin = 1e3);
269 NeutronSpectrum(
double Emin,
double Emax,
int NumberOfBins,
bool log =
false);
404 string FindXSFile(
int level,
int TargetNumber);
415 double EnergyRangeFraction(
double NeutronEmin,
double NeutronEmax,
double LowerBinEnergyBound,
double UpperBinEnergyBound);
Header file for AlphaSpectrum class.
Header file for Spectrum class.
AlphaNTabs contains.
Definition NeutronSpectrum.hxx:48
Spectrum ** fSpectra
a neutron spectrum per target, alpha and level of X
Definition NeutronSpectrum.hxx:242
int GetAlphaNumberOfBins()
Definition NeutronSpectrum.hxx:224
void SetSpectrum(int AlphaBin, Spectrum *spectrum)
Get the number of level available.
Definition NeutronSpectrum.hxx:207
double GetNeutronEmax(int target, int level, int AlphaBin)
Set the maximum neutron energy.
Definition NeutronSpectrum.hxx:151
void SetNeutronEmin(int target, int level, int AlphaBin, double value)
Get the maximum neutron energy.
Definition NeutronSpectrum.hxx:136
int * fLevelSize
number of level available for the X daughter of Target(alpha, n)X
Definition NeutronSpectrum.hxx:236
double GetStopPower(int AlphaBin)
Set the stopping power for alpha in UOx.
Definition NeutronSpectrum.hxx:68
double fAlpha_eVperBin
calibration of the energy bins
Definition NeutronSpectrum.hxx:235
double ** fXSectTot
alpha total XS on O-17 and O-18
Definition NeutronSpectrum.hxx:238
double GetAlphaCalibration()
Definition NeutronSpectrum.hxx:228
void SetStopPower(int AlphaBin, double Value)
Get the total (alpha, n) cross section on target.
Definition NeutronSpectrum.hxx:80
Spectrum * GetSpectrum(int AlphaBin)
Definition NeutronSpectrum.hxx:203
void SetBranchingLevel(int target, int level, int AlphaBin, double value)
Definition NeutronSpectrum.hxx:198
double GetBranchingLevel(int target, int level, int AlphaBin)
Set the branching ratio to produce X.
Definition NeutronSpectrum.hxx:182
double *** fBranchingLevel
prodcution ratio for a given level of X divided by the total
Definition NeutronSpectrum.hxx:241
double GetXSectTot(int target, int AlphaBin)
Set the total (alpha, n) cross section on target.
Definition NeutronSpectrum.hxx:92
double * fStopPower
alpha stopping power
Definition NeutronSpectrum.hxx:237
double *** fNeutronEmax
maximum neutron energy produced by (alpha, n) for a given target, Ealpha and X level
Definition NeutronSpectrum.hxx:240
~AlphaNTabs()
destructor
Definition NeutronSpectrum.cxx:1125
double GetNeutronEmin(int target, int level, int AlphaBin)
Set the minimum neutron energy.
Definition NeutronSpectrum.hxx:120
void InitAlphaNTabs()
creates and inits all arrays
Definition NeutronSpectrum.cxx:1150
void SetNeutronEmax(int target, int level, int AlphaBin, double value)
Get the branching ratio to produce X.
Definition NeutronSpectrum.hxx:167
double *** fNeutronEmin
minimum neutron energy produced by (alpha, n) for a given target, Ealpha and X level
Definition NeutronSpectrum.hxx:239
void SetXSectTot(int target, int AlphaBin, double value)
Get the minimum neutron energy.
Definition NeutronSpectrum.hxx:105
int fAlphaNumberOfBins
Number of bin ofthe alpha spectra.
Definition NeutronSpectrum.hxx:234
int GetLevelSize(int TargetNumber)
Definition NeutronSpectrum.hxx:219
AlphaSpectrum contains a histogram of Alpha ray intensities.
Definition AlphaSpectrum.hxx:47
A Material constituing a Cell.
Definition Material.hxx:83
NeutronSpectrum contains a histogram of Neutron intensities.
Definition NeutronSpectrum.hxx:257
string FindXSFile(int level, int TargetNumber)
Retrun the fraction of (NeutronEmax-NeutronEmin) for a energy bin.
Definition NeutronSpectrum.cxx:829
double fEnergy
Neutron Energy.
Definition NeutronSpectrum.hxx:424
double CalculateNeutronEnergy(string MinOrMax, int level, int TargetNumber, double EnergyAlpha)
Definition NeutronSpectrum.cxx:664
NeutronSpectrum * ReadENSDF(int Z, int A, int I, double NAtoms=1)
Read Spontaneous Fission Data and fill the Neutron Spectrum.
Definition NeutronSpectrum.cxx:891
bool fIsomStateIsOk
Definition NeutronSpectrum.hxx:426
double CalculateSFSpectra(double Param_a, double Param_b, double Energy)
With a Watt fission spectrum.
Definition NeutronSpectrum.cxx:192
double FindSigmaAlphaN(int level, int TargetNumber, double Energy)
Definition NeutronSpectrum.cxx:850
NeutronSpectrum * AddAlphaNSpectra(Material *Waste, double WasteVolume, double UO2Density=- 1)
Definition NeutronSpectrum.cxx:371
NeutronSpectrum * BuildAlphaNSpectra(AlphaSpectrum *AS, double *OxygenDensity, double UO2Density)
Definition NeutronSpectrum.cxx:203
double CalculateStoppingPower(double Energy, double UO2Density)
Calculates alpha stopping power @ Energy in UOx.
Definition NeutronSpectrum.cxx:779
bool fAllowToAdd
Allow a given Neutron from B-N to be included in the spectrum.
Definition NeutronSpectrum.hxx:419
static AlphaNTabs * fTabs
Array for (alpha, n) reactions: the same for all NeutronSpectrum.
Definition NeutronSpectrum.hxx:427
static double fAlpha_eVPerBin
calibration for the fTabs
Definition NeutronSpectrum.hxx:429
NeutronSpectrum * ReadSFDATA(int Z, int A, int I, double NAtoms=1)
Definition NeutronSpectrum.cxx:130
void SetAlphaNumberOfBins(int nbins)
set number of bin for (alpha, n) reactions.
Definition NeutronSpectrum.hxx:356
double EnergyRangeFraction(double NeutronEmin, double NeutronEmax, double LowerBinEnergyBound, double UpperBinEnergyBound)
Definition NeutronSpectrum.cxx:486
double LevelBranchingFraction(int level, int TargetNumber, double Energy)
Find XS (alpha, n) file.
Definition NeutronSpectrum.cxx:603
double fIntensity
Intensity.
Definition NeutronSpectrum.hxx:425
double fRelativeIntensity
Relative Intensity of beta.
Definition NeutronSpectrum.hxx:421
double fEofDecayLevel
Definition NeutronSpectrum.hxx:423
double fBranchingRatio
Branching Ratio.
Definition NeutronSpectrum.hxx:422
void SetAlpha_eVPerBin(double eV_bin)
Definition NeutronSpectrum.hxx:370
double ProductNuclideLevelBranchingFraction(int level, int TargetNumber, double Energy)
Definition NeutronSpectrum.cxx:583
void ExtractDataFromLine(string Line, Material *TheParent, double NAtoms)
Extract Energy and Intensity from ENSDF file.
Definition NeutronSpectrum.cxx:1022
double fDecayConst
Decay constant.
Definition NeutronSpectrum.hxx:420
static int fAlphaNumberOfBins
bin number of the fTabs
Definition NeutronSpectrum.hxx:428
Base class to define spectra.
Definition Spectrum.hxx:50
the namespace of the Standard C++