Commit 2637b971 authored by Erik Asbjørn Mikkelsen Jensen's avatar Erik Asbjørn Mikkelsen Jensen
Browse files

small improvements

parent f8094350
......@@ -58,22 +58,18 @@ int main() {
indD = a->GetEntryNumberWithIndex(A, Z - 1);
if (indP != -1 && indD != -1) { // we can get the mass excesses of both the Parent and the Daughter nuclei
QEC_calc = 1;
QEC_err_calc = 1;
QEC_calc = 1; QEC_err_calc = 1;
a->GetEntry(indP);
if (ME.ME_est == 1) {
QEC_est = 1;
QEC_err_est = 1;
QEC_est = 1; QEC_err_est = 1;
}
MEP = ME.ME;
MEP_err = ME_err.ME_err;
a->GetEntry(indD);
if (ME.ME_est == 1) {
QEC_est = 1;
QEC_err_est = 1;
QEC_est = 1; QEC_err_est = 1;
} else { // if neither of the ME's were estimates (ME_est = 0) then QEC is not an estimate (QEC_est = 0)
QEC_est = 0;
QEC_err_est = 0;
QEC_est = 0; QEC_err_est = 0;
}
MED = ME.ME;
MED_err = ME_err.ME_err;
......@@ -93,7 +89,7 @@ int main() {
QEC_err = NAN;
QEC_err_est = 0;
QEC_err_calc = 0;
qec.QEC = QEC;
qec.QEC_est = QEC_est;
qec.QEC_calc = QEC_calc;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment