1 #ifndef _NeutronSpectrum_
2 #define _NeutronSpectrum_
35 AlphaNTabs(
int AlphaNumberOfBins=8000,
double Alpha_eVPerBin=1e3);
54 void SetStopPower(
int AlphaBin,
double Value){fStopPower[AlphaBin]=Value ;}
63 double GetXSectTot(
int target,
int AlphaBin){
return fXSectTot[target][AlphaBin] ;}
73 void SetXSectTot(
int target,
int AlphaBin,
double value){fXSectTot[target][AlphaBin]=value;}
85 double GetNeutronEmin(
int target,
int level ,
int AlphaBin){
return fNeutronEmin[target][level][AlphaBin] ;}
98 void SetNeutronEmin(
int target,
int level ,
int AlphaBin,
double value){fNeutronEmin[target][level][AlphaBin]=value;}
110 double GetNeutronEmax(
int target,
int level ,
int AlphaBin){
return fNeutronEmax[target][level][AlphaBin] ;}
123 void SetNeutronEmax(
int target,
int level ,
int AlphaBin,
double value){fNeutronEmax[target][level][AlphaBin]=value;}
135 double GetBranchingLevel(
int target,
int level ,
int AlphaBin){
return fBranchingLevel[target][level][AlphaBin] ;}
148 void SetBranchingLevel(
int target,
int level ,
int AlphaBin,
double value){fBranchingLevel[target][level][AlphaBin]=value;}
150 Spectrum* GetSpectrum(
int AlphaBin){
return fSpectra[AlphaBin] ;}
151 void SetSpectrum(
int AlphaBin,
Spectrum* spectrum){fSpectra[AlphaBin]=spectrum;}
160 int GetLevelSize(
int TargetNumber){
return fLevelSize[TargetNumber];}
162 int GetAlphaNumberOfBins(){
return fAlphaNumberOfBins;}
163 double GetAlphaCalibration(){
return fAlpha_eVperBin;}
166 int fAlphaNumberOfBins;
167 double fAlpha_eVperBin;
171 double ***fNeutronEmin;
172 double ***fNeutronEmax;
173 double ***fBranchingLevel;
175 void InitAlphaNTabs();
201 NeutronSpectrum(
double Emin,
double Emax,
int NumberOfBins,
bool log=
false);
277 NeutronSpectrum* AddAlphaNSpectra(
int Z,
int A,
int I,
double NAtoms,
double UO2Density=10.4);
278 NeutronSpectrum* AddAlphaNSpectra(
int Z,
int A,
int I,
double NAtoms,
double *OxygenDensity,
double UO2Density=10.4);
301 double CalculateSFSpectra(
double Param_a,
double Param_b,
double Energy);
317 double CalculateNeutronEnergy(
string MinOrMax,
int level ,
int TargetNumber,
double EnergyAlpha);
318 double CalculateStoppingPower(
double Energy,
double UO2Density);
319 double FindSigmaAlphaN(
int level,
int TargetNumber,
double Energy);
320 double ProductNuclideLevelBranchingFraction(
int level ,
int TargetNumber,
double Energy);
321 double LevelBranchingFraction(
int level ,
int TargetNumber,
double Energy);
331 string FindXSFile(
int level,
int TargetNumber);
342 double EnergyRangeFraction(
double NeutronEmin,
double NeutronEmax,
double LowerBinEnergyBound,
double UpperBinEnergyBound);
344 void ExtractDataFromLine(
string Line,
Material* TheParent,
double NAtoms);
AlphaNTabs contains.
Definition: NeutronSpectrum.hxx:24
NeutronSpectrum contains a histogram of Neutron intensities.
Definition: NeutronSpectrum.hxx:188
double fBranchingRatio
Branching Ratio.
Definition: NeutronSpectrum.hxx:349
double fEofDecayLevel
Definition: NeutronSpectrum.hxx:350
bool fIsomStateIsOk
Definition: NeutronSpectrum.hxx:353
void SetAlpha_eVPerBin(double eV_bin)
Definition: NeutronSpectrum.hxx:299
double fDecayConst
Decay constant.
Definition: NeutronSpectrum.hxx:347
static double fAlpha_eVPerBin
calibration for the fTabs
Definition: NeutronSpectrum.hxx:356
Base class to define spectra.
Definition: Spectrum.hxx:25
double fEnergy
Neutron Energy.
Definition: NeutronSpectrum.hxx:351
double fRelativeIntensity
Relative Intensity of beta.
Definition: NeutronSpectrum.hxx:348
static AlphaNTabs * fTabs
Array for (alpha,n) reactions: the same for all NeutronSpectrum.
Definition: NeutronSpectrum.hxx:354
void SetStopPower(int AlphaBin, double Value)
Set the stopping power in UOx @ energy AlphaBin*evPerChan.
Definition: NeutronSpectrum.hxx:54
double GetStopPower(int AlphaBin)
Set the stopping power for alpha in UOx.
Definition: NeutronSpectrum.hxx:45
double fIntensity
Intensity.
Definition: NeutronSpectrum.hxx:352
void SetAlphaNumberOfBins(int nbins)
set number of bin for (alpha,n) reactions.
Definition: NeutronSpectrum.hxx:288
static int fAlphaNumberOfBins
bin number of the fTabs
Definition: NeutronSpectrum.hxx:355
A Material constituing a Cell.
Definition: Material.hxx:53
bool fAllowToAdd
Allow a given Neutron from B-N to be included in the spectrum.
Definition: NeutronSpectrum.hxx:346
AlphaSpectrum contains a histogram of Alpha ray intensities.
Definition: AlphaSpectrum.hxx:25