From 1fcfc5852e525f2d313ba56d8d55883d403439bd Mon Sep 17 00:00:00 2001 From: HELIOS_Mac Date: Sun, 28 Jul 2024 19:16:43 -0500 Subject: [PATCH] update the reactionConfig.txt for IAEA excited states list --- Armory/ClassReactionConfig.h | 5 ++--- working/reactionConfig.txt | 9 ++++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Armory/ClassReactionConfig.h b/Armory/ClassReactionConfig.h index c8e1f72..5a16f9a 100644 --- a/Armory/ClassReactionConfig.h +++ b/Armory/ClassReactionConfig.h @@ -226,10 +226,9 @@ inline bool ReactionConfig::LoadReactionConfig(TMacro * macro){ if( recoilLine == 6 ) recoil[ID].decayZ = atoi(str[0].c_str()); if( recoilLine > 6 && str.size() == 4) { + if( str[0].find('#') != std::string::npos) continue; if( str[0] == "IAEA"){ - - exList[ID].Clear(); - + recoil[ID].heavyA = beamA + targetA - recoil[ID].lightA; recoil[ID].heavyZ = beamZ + targetZ - recoil[ID].lightZ; printf(">>>>>>>>>>>>> Retrieving Ex data from IAEA website....\n"); diff --git a/working/reactionConfig.txt b/working/reactionConfig.txt index 0bb1ab1..caa4036 100644 --- a/working/reactionConfig.txt +++ b/working/reactionConfig.txt @@ -35,9 +35,12 @@ false //isDacay 14 //decayNucleus_Z #--- List of Ex of heavy recoil #---Ex relative_xsec SF sigma_in_MeV -0.000 1.0 1.0 0.01 -1.000 1.0 1.0 0.01 -2.000 1.0 1.0 0.01 +#--- for IAEA, 2nd col, can be : +, -. known, +all, -all, all +#0.000 1.0 1.0 0.01 +#1.000 1.0 1.0 0.01 +#2.000 1.0 1.0 0.01 +12.000 1.0 1.0 0.01 +IAEA + 10 0.01 #==================_reaction_for_2nd_Array_use_ony_when_2nd_array_used 3 //recoil_light_A