MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
GammaSpectrum.hxx
Go to the documentation of this file.
1 #ifndef _GammaSpectrum_
2 #define _GammaSpectrum_
3 
10 using namespace std;
11 
12 #include "MureHeaders.hxx"
13 
15 
22 class GammaSpectrum : public Spectrum
23 {
24  public:
25 
27 
36  GammaSpectrum(double Emin,double Emax,int NumberOfBins,bool log=false);
37 
39 
47  GammaSpectrum(vector<double> LowerEnergy,bool check=true);
48 
50 
58  GammaSpectrum(double* LowerEnergy,int NumberOfBins,bool check=true);
59 
61 
72  GammaSpectrum(string BinningFileName,bool check=true);
73 
75 
86  GammaSpectrum(int NumberOfBins,double a,double b,double c,bool check=true);
87 
88  GammaSpectrum(const GammaSpectrum &spect);
89 
91 
102  GammaSpectrum* ReadENSDF(int Z,int A,int I, double NAtoms=1, string DecayMode="ABEI");
103 
104 
105  protected:
106  double GetLevelEnergyOfIsomericTransition(int Z,int A,int I);
107  void ExtractDataFromLine(string Line, Material* TheParent, double NAtoms,int IDecayMode);
108  bool fAllowToAdd;
110  double fDecayConst;
113  double fNR;
115  double fEnergy;
116  double fIntensity;
119  static vector<string> *fBuffer;
120  static int fAread;
121 
122 
123 };
124 #endif
double fDecayConst
Decay constant.
Definition: GammaSpectrum.hxx:110
static int fAread
Definition: GammaSpectrum.hxx:120
double fRelativeIntensity
Relative Intensity of gamma line.
Definition: GammaSpectrum.hxx:111
Base class to define spectra.
Definition: Spectrum.hxx:25
bool fLevelMatchingWithIsomericNuclei
Definition: GammaSpectrum.hxx:118
bool fIsomStateIsOk
Definition: GammaSpectrum.hxx:117
double ** fEnergyLevelOfIsomericDaugthers
store the energy level of isomeric daugther
Definition: GammaSpectrum.hxx:109
GammaSpectrum defines of gamma ray spectrum.
Definition: GammaSpectrum.hxx:22
File including all headers.
double fIntensity
Intensity of the gamma.
Definition: GammaSpectrum.hxx:116
static vector< string > * fBuffer
Definition: GammaSpectrum.hxx:119
A Material constituing a Cell.
Definition: Material.hxx:53
double fEofDecayLevel
Definition: GammaSpectrum.hxx:114
double fEnergy
Energy of the gamma.
Definition: GammaSpectrum.hxx:115
bool fAllowToAdd
Allow a given gamma to be included in the spectrum.
Definition: GammaSpectrum.hxx:108
double fBranchingRatio
Branching Ratio.
Definition: GammaSpectrum.hxx:112
double fNR
Normalization Factor.
Definition: GammaSpectrum.hxx:113

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