MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
BetaSpectrum.hxx
Go to the documentation of this file.
1 #ifndef _BetaSpectrum_
2 #define _BetaSpectrum_
3 
9 #include <complex>
10 #include <cmath>
11 #include <vector>
12 #include <iostream>
13 #include <string>
14 using namespace std;
15 
16 #include "MureHeaders.hxx"
17 
19 
26 class BetaSpectrum : public Spectrum
27 {
28  public:
29 
31 
40  BetaSpectrum(double Emin,double Emax,int NumberOfBins,bool log=false);
41 
43 
50  BetaSpectrum(vector<double> LowerEnergy);
51 
53 
60  BetaSpectrum(double* LowerEnergy,int NumberOfBins);
61 
63 
73  BetaSpectrum(string BinningFileName);
75 
85  BetaSpectrum(int NumberOfBins,double a, double b,double c);
86 
87  BetaSpectrum(const BetaSpectrum &spect);
88 
90 
100  BetaSpectrum* ReadENSDF(int Z,int A,int I,double NAtoms=1);
101 
102  protected:
103 
104  void ExtractDataFromLine(string Line,Material* TheParent,double NAtoms);
105 
106  double CalculateIntensity(int Zdaughter,double EndPointEnergy,double Energy);
107  void GetSpinParity(string sSpinParity,double & Spin,char & Parity);
108 
110 
119  complex<double> cgamma(const complex<double>& z,bool LOG=true) ;
120 
121  bool fAllowToAdd;
122  double fDecayConst;
125  double fNB;
126  double fEofDecayLevel;
127  double fEnergyLevel;
129  double fQvalue;
130  double fIntensity;
133  double fSpinParent;
135  double fSpinDaughter;
136 };
137 #endif
double fEofDecayLevel
Energy of the &quot;decaying level&quot; of the parent nucleus.
Definition: BetaSpectrum.hxx:126
double fQvalue
Beta Q-value for ground state to ground state transition.
Definition: BetaSpectrum.hxx:129
BetaSpectrum contains a histogram of Beta ray intensities.
Definition: BetaSpectrum.hxx:26
double fEnergyLevel
Energy level of the decaying nucleus.
Definition: BetaSpectrum.hxx:127
double fDecayConst
Decay constant.
Definition: BetaSpectrum.hxx:122
char fParityParent
The parity of the parent.
Definition: BetaSpectrum.hxx:132
Base class to define spectra.
Definition: Spectrum.hxx:25
double fBranchingRatio
Branching Ratio.
Definition: BetaSpectrum.hxx:124
char fParityDaughter
The parity of the daughter.
Definition: BetaSpectrum.hxx:134
File including all headers.
double fRelativeIntensity
Relative Intensity of beta.
Definition: BetaSpectrum.hxx:123
A Material constituing a Cell.
Definition: Material.hxx:53
bool fAllowToAdd
Allow a given beta to be included in the spectrum.
Definition: BetaSpectrum.hxx:121
double fSpinDaughter
The spin of the daughter.
Definition: BetaSpectrum.hxx:135
bool fIsomStateIsOk
True if the isomeric state is the wanted state according to the decay constant.
Definition: BetaSpectrum.hxx:131
double fIntensity
Intensity.
Definition: BetaSpectrum.hxx:130
double fEndPointEnergy
Maximum beta spectrum energy.
Definition: BetaSpectrum.hxx:128
double fNB
Normalization Factor.
Definition: BetaSpectrum.hxx:125
double fSpinParent
The spin of the parent.
Definition: BetaSpectrum.hxx:133

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014