MURE
Loading...
Searching...
No Matches
GammaSpectrum.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 _GammaSpectrum_
20#define _GammaSpectrum_
21
28using namespace std;
29
30#include <iosfwd>
31#include <string>
32#include <vector>
33
34#include "Spectrum.hxx"
35
36class Material;
37
39
46class GammaSpectrum : public Spectrum
47{
48 public:
49
51
60 GammaSpectrum(double Emin, double Emax, int NumberOfBins, bool log = false);
61
63
71 GammaSpectrum(vector < double > LowerEnergy, bool check = true);
72
74
82 GammaSpectrum(double *LowerEnergy, int NumberOfBins, bool check = true);
83
85
96 GammaSpectrum(string BinningFileName, bool check = true);
97
99
110 GammaSpectrum(int NumberOfBins, double a, double b, double c, bool check = true);
111
112 GammaSpectrum(const GammaSpectrum &spect);
113
115
126 GammaSpectrum *ReadENSDF(int Z, int A, int I, double NAtoms = 1, string DecayMode = "ABEI");
127
129 {
131 };
133 {
134 return fBecquerel;
135 };
136
137 protected:
138 double GetLevelEnergyOfIsomericTransition(int Z, int A, int I);
139 void ExtractDataFromLine(string Line, Material *TheParent, double NAtoms, int IDecayMode);
142 double fDecayConst;
145 double fNR;
147 double fEnergy;
148 double fIntensity;
153 static vector < string > *fBuffer;
154 static int fAread;
155};
156#endif
Header file for Spectrum class.
GammaSpectrum defines of gamma ray spectrum.
Definition GammaSpectrum.hxx:47
static vector< string > * fBuffer
Definition GammaSpectrum.hxx:153
double fNumberOfParticlesPerDecay
Definition GammaSpectrum.hxx:149
bool fIsomStateIsOk
Definition GammaSpectrum.hxx:151
double GetNumberOfParticlesPerDecay()
Definition GammaSpectrum.hxx:128
double fDecayConst
Decay constant.
Definition GammaSpectrum.hxx:142
double GetBecquerel()
Definition GammaSpectrum.hxx:132
double fIntensity
Intensity of the gamma.
Definition GammaSpectrum.hxx:148
void ExtractDataFromLine(string Line, Material *TheParent, double NAtoms, int IDecayMode)
Extract the wanted data (ie Energy and Intensity)from the readed ENSDF file.
Definition GammaSpectrum.cxx:541
double fBecquerel
Definition GammaSpectrum.hxx:150
bool fAllowToAdd
Allow a given gamma to be included in the spectrum.
Definition GammaSpectrum.hxx:140
double ** fEnergyLevelOfIsomericDaugthers
store the energy level of isomeric daugther
Definition GammaSpectrum.hxx:141
double GetLevelEnergyOfIsomericTransition(int Z, int A, int I)
Definition GammaSpectrum.cxx:679
GammaSpectrum * ReadENSDF(int Z, int A, int I, double NAtoms=1, string DecayMode="ABEI")
Definition GammaSpectrum.cxx:161
double fBranchingRatio
Branching Ratio.
Definition GammaSpectrum.hxx:144
double fRelativeIntensity
Relative Intensity of gamma line.
Definition GammaSpectrum.hxx:143
static int fAread
Definition GammaSpectrum.hxx:154
bool fLevelMatchingWithIsomericNuclei
Definition GammaSpectrum.hxx:152
double fEnergy
Energy of the gamma.
Definition GammaSpectrum.hxx:147
double fEofDecayLevel
Definition GammaSpectrum.hxx:146
double fNR
Normalization Factor.
Definition GammaSpectrum.hxx:145
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