MURE
Loading...
Searching...
No Matches
BetaSpectra.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 _BetaSpectra_
20#define _BetaSpectra_
21
26// GetBetaSpectrum(35, 90, 0, "JENDL", 100);
27#include <vector>
28#include <iostream>
29#include <string>
30#include <map>
31
32#include "MureHeaders.hxx"
33
34using namespace std;
35
36
39
46{
47 public:
48 BetaSpectra(); //constructor
49 ~BetaSpectra(); // destructor
50 void ReadAllBetaData();
51 void ReadBDB();
52 void ReadBDBN();
53 void ReadENDFB68();
54 void ReadJEFF31();
55 void ReadJENDL();
56 void ReadRUDSTAM();
57 vector < double > GetBetaSpectrum(int Z, int A, int I = 0, BaseNumber BN = UNDEFINED); // don't forget methods to read end points
58 //vector <double> GetBetaSpectrum(int Z, int A, int I=0, BaseNumber BN, int BinSize=100) {RebinSpectrum(GetBetaSpectrum(Z, A, I, BN), BinSize);}
59 vector < double > RebinSpectrum(vector < double > Spectrum, int BinSize);
60 //vector<double> AddSpectra(vector <double> Spectrum1, vector <double> Spectrum2);
61 //vector<double> AddSpectra(BetaCollector *BC); ????
62
63 // il faut coupler ca au nombre de noyaux maintenant
64 vector < double > GetNbFP(int Z, int A, int I = 0);
66
67 //vector<double> AddAllSpectra();
68
69 //on fait 2 possibilites ? celle d'avoir les spectres construits dans et en dehors de MURE ?
70
71
72
73 protected:
75 string fBDBname;
76 string fBDBNname;
79 string fJENDLname;
81 map < int, map < int, map < int, map < int, map < int, double > > > > > fBetaSpectra;
82 // Z A I Basenum SpecVal
83 map < int, map < int, map < int, map < int, double > > > > fBetaEndPoint;
84 map < int, int > fBinSize;
85
86 map < int, map < int, map < int, map < int, double > > > > fNbFP;
87 // Z A I time NbVal
88
89
90};
91#endif
BaseNumber
Definition BetaSpectra.hxx:37
@ BDB
Definition BetaSpectra.hxx:37
@ ENDF
Definition BetaSpectra.hxx:37
@ UNDEFINED
Definition BetaSpectra.hxx:37
@ JENDL
Definition BetaSpectra.hxx:37
@ RUDSTAM
Definition BetaSpectra.hxx:37
@ BDBN
Definition BetaSpectra.hxx:37
@ JEFF
Definition BetaSpectra.hxx:37
File including all pure MURE headers.
Define Beta spectra and reaction for anti-neutrinos studies.
Definition BetaSpectra.hxx:46
map< int, map< int, map< int, map< int, map< int, double > > > > > fBetaSpectra
All the beta spectra.
Definition BetaSpectra.hxx:81
vector< double > GetBetaSpectrum(int Z, int A, int I=0, BaseNumber BN=UNDEFINED)
Definition BetaSpectra.cxx:581
void ComputeNbFP()
void ReadENDFB68()
Definition BetaSpectra.cxx:251
void ReadBDB()
Definition BetaSpectra.cxx:65
map< int, map< int, map< int, map< int, double > > > > fNbFP
Number of fission products.
Definition BetaSpectra.hxx:86
void ReadJENDL()
Definition BetaSpectra.cxx:368
vector< double > GetNbFP(int Z, int A, int I=0)
string fBDBname
Definition BetaSpectra.hxx:75
string fENDFB68name
Definition BetaSpectra.hxx:77
void ReadRUDSTAM()
Definition BetaSpectra.cxx:507
bool fDataIsRead
Definition BetaSpectra.hxx:74
void ReadJEFF31()
map< int, map< int, map< int, map< int, double > > > > fBetaEndPoint
All the beta end points.
Definition BetaSpectra.hxx:83
string fRUDSTAMname
Definition BetaSpectra.hxx:80
void ReadAllBetaData()
Definition BetaSpectra.cxx:53
map< int, int > fBinSize
Bin size of database number N.
Definition BetaSpectra.hxx:84
BetaSpectra()
Definition BetaSpectra.cxx:39
vector< double > RebinSpectrum(vector< double > Spectrum, int BinSize)
Definition BetaSpectra.cxx:598
string fJEFF31name
Definition BetaSpectra.hxx:78
string fBDBNname
Definition BetaSpectra.hxx:76
string fJENDLname
Definition BetaSpectra.hxx:79
void ReadBDBN()
Definition BetaSpectra.cxx:170
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