MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
BetaSpectra.hxx
Go to the documentation of this file.
1 #ifndef _BetaSpectra_
2 #define _BetaSpectra_
3 
8 // GetBetaSpectrum(35,90,0,"JENDL",100);
9 #include <math.h>
10 #include <vector>
11 #include <iostream>
12 #include <string>
13 
14 #include "MureHeaders.hxx"
15 using namespace std;
16 
17 
20 
27 {
28 public:
29  BetaSpectra(); //constructor
30  ~BetaSpectra(); // destructor
31  void ReadAllBetaData();
32  void ReadBDB();
33  void ReadBDBN();
34  void ReadENDFB68();
35  void ReadJEFF31();
36  void ReadJENDL();
37  void ReadRUDSTAM();
38  vector <double> GetBetaSpectrum(int Z,int A,int I=0, BaseNumber BN=UNDEFINED); // don't forget methods to read end points
39  //vector <double> GetBetaSpectrum(int Z,int A,int I=0, BaseNumber BN, int BinSize=100) {RebinSpectrum(GetBetaSpectrum(Z,A,I,BN), BinSize);}
40  vector <double> RebinSpectrum(vector <double> Spectrum, int BinSize);
41  //vector<double> AddSpectra(vector <double> Spectrum1,vector <double> Spectrum2);
42  //vector<double> AddSpectra(BetaCollector* BC); ????
43 
44 // il faut coupler ca au nombre de noyaux maintenant
45 vector<double> GetNbFP(int Z, int A, int I=0);
46 void ComputeNbFP();
47 
48 //vector<double> AddAllSpectra();
49 
50 //on fait 2 possibilites ? celle d'avoir les spectres construits dans et en dehors de MURE ?
51 
52 
53 
54 protected:
56  string fBDBname;
57  string fBDBNname;
58  string fENDFB68name;
59  string fJEFF31name;
60  string fJENDLname;
61  string fRUDSTAMname;
62  map<int ,map<int ,map<int ,map<int,map<int, double > > > > > fBetaSpectra;
63  // Z A I Basenum SpecVal
64  map<int ,map<int ,map<int ,map<int, double > > > > fBetaEndPoint;
65  map<int, int> fBinSize;
66 
67  map<int ,map<int ,map<int ,map<int, double > > > > fNbFP;
68  // Z A I time NbVal
69 
70 
71 };
72 #endif
string fBDBNname
Definition: BetaSpectra.hxx:57
Definition: BetaSpectra.hxx:18
string fJENDLname
Definition: BetaSpectra.hxx:60
map< int,map< int,map< int,map< int, double > > > > fNbFP
Number of fission products.
Definition: BetaSpectra.hxx:67
Define Beta spectra and reaction for anti-neutrinos studies.
Definition: BetaSpectra.hxx:26
string fRUDSTAMname
Definition: BetaSpectra.hxx:61
Definition: BetaSpectra.hxx:18
Base class to define spectra.
Definition: Spectrum.hxx:25
string fBDBname
Definition: BetaSpectra.hxx:56
Definition: BetaSpectra.hxx:18
map< int, int > fBinSize
Bin size of database number N.
Definition: BetaSpectra.hxx:65
Definition: BetaSpectra.hxx:18
File including all headers.
map< int,map< int,map< int,map< int, map< int, double > > > > > fBetaSpectra
All the beta spectra.
Definition: BetaSpectra.hxx:62
Definition: BetaSpectra.hxx:18
Definition: BetaSpectra.hxx:18
bool fDataIsRead
Definition: BetaSpectra.hxx:55
string fENDFB68name
Definition: BetaSpectra.hxx:58
string fJEFF31name
Definition: BetaSpectra.hxx:59
BaseNumber
Definition: BetaSpectra.hxx:18
Definition: BetaSpectra.hxx:18
map< int,map< int,map< int,map< int, double > > > > fBetaEndPoint
All the beta end points.
Definition: BetaSpectra.hxx:64

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