MURE
Loading...
Searching...
No Matches
AlphaSpectrum.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 _AlphaSpectrum_
20#define _AlphaSpectrum_
21
27#include <cmath>
28#include <vector>
29#include <iostream>
30#include <string>
31
32using namespace std;
33
34#include "Spectrum.hxx"
35
36class Material;
37
39
46class AlphaSpectrum : public Spectrum
47{
48 public:
49
51
60 AlphaSpectrum(double Emin, double Emax, int NumberOfBins, bool log = false);
61
63
70 AlphaSpectrum(vector < double > LowerEnergy);
71
73
80 AlphaSpectrum(double *LowerEnergy, int NumberOfBins);
81
83
93 AlphaSpectrum(string BinningFileName);
95
105 AlphaSpectrum(int NumberOfBins, double a, double b, double c);
106 AlphaSpectrum(const AlphaSpectrum &spect);
107
109
119 AlphaSpectrum *ReadENSDF(int Z, int A, int I, double NAtoms = 1);
120
121 protected:
122
123 void ExtractDataFromLine(string Line, Material *TheParent, double NAtoms);
124
126 double fDecayConst;
130 double fEnergy;
131 double fIntensity;
133
134};
135#endif
Header file for Spectrum class.
AlphaSpectrum contains a histogram of Alpha ray intensities.
Definition AlphaSpectrum.hxx:47
bool fAllowToAdd
Allow a given alpha to be included in the spectrum.
Definition AlphaSpectrum.hxx:125
double fEnergy
Energy.
Definition AlphaSpectrum.hxx:130
double fRelativeIntensity
Relative Intensity of beta.
Definition AlphaSpectrum.hxx:127
bool fIsomStateIsOk
Definition AlphaSpectrum.hxx:132
double fEofDecayLevel
Definition AlphaSpectrum.hxx:129
double fIntensity
Intensity.
Definition AlphaSpectrum.hxx:131
void ExtractDataFromLine(string Line, Material *TheParent, double NAtoms)
Extract the wanted data (ie Energy and Intensity)from the readed ENSDF file.
Definition AlphaSpectrum.cxx:239
double fDecayConst
Decay constant.
Definition AlphaSpectrum.hxx:126
AlphaSpectrum * ReadENSDF(int Z, int A, int I, double NAtoms=1)
Definition AlphaSpectrum.cxx:121
double fBranchingRatio
Branching Ratio.
Definition AlphaSpectrum.hxx:128
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