MURE
Loading...
Searching...
No Matches
FissionProduct.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 _FissionProduct_
20#define _FissionProduct_
21
27#include <fstream> // for std
28
29using namespace std;
30
32
40{
41 public:
45
51 FissionProduct(int aZ, int aA, int aI, double aYield);
53
59 void Set(int aZ, int aA, int aI, double aYield);
60
61 double Yield()
62 {
63 return fYield;
64 }
65 int A()
66 {
67 return fA;
68 }
69 int Z()
70 {
71 return fZ;
72 }
73 int I()
74 {
75 return fI;
76 }
77
78 private:
79 int fZ;
80 int fA;
81 int fI;
82 double fYield;
83
84};
85#endif
A Fission Product ZAI with its yield.
Definition FissionProduct.hxx:40
double Yield()
Definition FissionProduct.hxx:61
FissionProduct()
default constructor
Definition FissionProduct.cxx:22
int fZ
number of protons
Definition FissionProduct.hxx:79
int fI
Isomeric state (Ground State, ith excited)
Definition FissionProduct.hxx:81
int Z()
Definition FissionProduct.hxx:69
void Set(int aZ, int aA, int aI, double aYield)
Set to a FP its values.
Definition FissionProduct.cxx:37
int fA
number of nucleons (A=0 means natural isotopes)
Definition FissionProduct.hxx:80
double fYield
yield for that FP
Definition FissionProduct.hxx:82
int A()
Definition FissionProduct.hxx:65
int I()
Definition FissionProduct.hxx:73
the namespace of the Standard C++

MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024