MURE
Loading...
Searching...
No Matches
BetaSpectrum.hxx
Go to the documentation of this file.
1/*
2 This file is part of MURE,
3 Copyright (C) 2007-2021 MURE developers.
4
5 MURE is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 MURE is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with MURE. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef _BetaSpectrum_
20#define _BetaSpectrum_
21
27#include <complex>
28#include <cmath>
29#include <vector>
30#include <iostream>
31#include <string>
32
33using namespace std;
34
35#include "Spectrum.hxx"
36
37class Material;
38
40
47class BetaSpectrum : public Spectrum
48{
49 public:
50
52
61 BetaSpectrum(double Emin, double Emax, int NumberOfBins, bool log = false);
62
64
71 BetaSpectrum(vector < double > LowerEnergy);
72
74
81 BetaSpectrum(double *LowerEnergy, int NumberOfBins);
82
84
94 BetaSpectrum(string BinningFileName);
96
106 BetaSpectrum(int NumberOfBins, double a, double b, double c);
107
108 BetaSpectrum(const BetaSpectrum &spect);
109
111
121 BetaSpectrum *ReadENSDF(int Z, int A, int I, double NAtoms = 1);
122
123 protected:
124
125 void ExtractDataFromLine(string Line, Material *TheParent, double NAtoms);
126
127 double CalculateIntensity(int Zdaughter, double EndPointEnergy, double Energy);
128 void GetSpinParity(string sSpinParity, double &Spin, char &Parity);
129
131
140 complex < double > cgamma(const complex < double > &z, bool LOG = true) ;
141
143 double fDecayConst;
146 double fNB;
150 double fQvalue;
151 double fIntensity;
154 double fSpinParent;
157};
158#endif
Header file for Spectrum class.
BetaSpectrum contains a histogram of Beta ray intensities.
Definition BetaSpectrum.hxx:48
double fIntensity
Intensity.
Definition BetaSpectrum.hxx:151
bool fIsomStateIsOk
True if the isomeric state is the wanted state according to the decay constant.
Definition BetaSpectrum.hxx:152
complex< double > cgamma(const complex< double > &z, bool LOG=true)
Definition BetaSpectrum.cxx:470
BetaSpectrum * ReadENSDF(int Z, int A, int I, double NAtoms=1)
Definition BetaSpectrum.cxx:143
bool fAllowToAdd
Allow a given beta to be included in the spectrum.
Definition BetaSpectrum.hxx:142
char fParityParent
The parity of the parent.
Definition BetaSpectrum.hxx:153
double fSpinDaughter
The spin of the daughter.
Definition BetaSpectrum.hxx:156
double fEndPointEnergy
Maximum beta spectrum energy.
Definition BetaSpectrum.hxx:149
double fNB
Normalization Factor.
Definition BetaSpectrum.hxx:146
double fRelativeIntensity
Relative Intensity of beta.
Definition BetaSpectrum.hxx:144
double fSpinParent
The spin of the parent.
Definition BetaSpectrum.hxx:154
void GetSpinParity(string sSpinParity, double &Spin, char &Parity)
Get the spin and the parity of a given state.
Definition BetaSpectrum.cxx:612
double fQvalue
Beta Q-value for ground state to ground state transition.
Definition BetaSpectrum.hxx:150
void ExtractDataFromLine(string Line, Material *TheParent, double NAtoms)
Extract Energy and Intensity from ENSDF file.
Definition BetaSpectrum.cxx:299
double fDecayConst
Decay constant.
Definition BetaSpectrum.hxx:143
double fEnergyLevel
Energy level of the decaying nucleus.
Definition BetaSpectrum.hxx:148
double fBranchingRatio
Branching Ratio.
Definition BetaSpectrum.hxx:145
char fParityDaughter
The parity of the daughter.
Definition BetaSpectrum.hxx:155
double fEofDecayLevel
Energy of the "decaying level" of the parent nucleus.
Definition BetaSpectrum.hxx:147
double CalculateIntensity(int Zdaughter, double EndPointEnergy, double Energy)
Definition BetaSpectrum.cxx:526
A Material constituing a Cell.
Definition Material.hxx:83
Base class to define spectra.
Definition Spectrum.hxx:50
the namespace of the Standard C++

MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024