hh_file.write(" * The variable HALFL, physical half-life in seconds\n")
hh_file.write(" **/\n")
hh_file.write("float halflife;\n")
hh_file.write("/**\n")
hh_file.write(" * The variable Q(I) is the total amount of recoverable energy (MeV) per\ndisintegration released by radioactive decay. It does not include the energy\nof neutrinos emitted during beta decay transitions.\n")
hh_file.write(" **/\n")
hh_file.write("float energy;\n")
hh_file.write("/**\n")
hh_file.write(" * The variable ABUND(I) is the atom percent abundance of naturally occurring\nisotopes. It is read by ORIGEN-S for light-element nuclides but is ignored\nfor the actinide and fission-product nuclides.\n")
hh_file.write(" **/\n")
hh_file.write("float abundance;\n")
hh_file.write("/**\n")
hh_file.write(" * The variable FG(I) is the fraction of recoverable energy per disintegration\nthat comes from gamma and X rays. In the ORIGEN-S libraries this\nfraction includes the energy from all decay gamma and X rays and from all gamma rays\nassociated with spontaneous fission. Using an approximation for the combined\nspectra 11 of prompt and equilibrium fission-product gamma rays from\nspontaneous fission, a value of 12.56 MeV per spontaneous fission transition\nwas calculated for use in determining FG for any nuclide having a\nspontaneous fission fraction exceeding 10 . Note that the definition of FG\nis not the same as that for the original ORIGEN -7 libraries. In those\nlibraries, FG included only those photons with energies greater than 200\nkeV. In addition, 1 it included the bremsstrahlung radiation from beta\nparticles slowing down in a UO fuel matrix. 2 Bremsstrahlung radiation is\nnot included in the values of FG in the ORIGEN-S libraries, since the\nbremsstrahlung spectrum depends on the medium that contains the decaying\nnuclide. Neither is the energy from gamma rays accompanying (*,n) reactions\nincluded, since it too depends on the medium. \n")
hh_file.write(" **/\n")
hh_file.write("float photon_fraction;\n")
hh_file.write("/**\n")
hh_file.write(" * The variables WMPC(I) and AMPC(I) are the radioactivity concentration\nguides for continuous ingestion (from water) and inhalation (from air) in\nunrestricted areas, in units of curies per cubic meter (Ci m ). -3 The RCG\nvalues, as defined in the pre-1991 version of Part 10, Title 20, of the Code\nof Federal Regulations16 (10CFR20), specify the maximum permissible\nconcentrations of an isotope in soluble and insoluble forms, for both\ningestion and inhalation, and for occupational and unrestricted exposure.\nWhen the activity (in curies) of a given isotope is divided by WMPC (or\nAMPC) for that isotope, the result is the volume of water (or air) required\nto dilute that quantity of the isotope to its maximum permissible\nconcentration. The dilution volume is a measure of the radioactive toxicity\nof the nuclide for cases of direct ingestion or inhalation. The values of\nWMPC and AMPC are defined to be the smaller (i.e., more toxic) of the values\nfor soluble and insoluble forms of the isotope.\n")
hh_file.write(" **/\n")
hh_file.write("float wmpc;\n")
hh_file.write("/**\n")
hh_file.write(" * The variables WMPC(I) and AMPC(I) are the radioactivity concentration\nguides for continuous ingestion (from water) and inhalation (from air) in\nunrestricted areas, in units of curies per cubic meter (Ci m ). -3 The RCG\nvalues, as defined in the pre-1991 version of Part 10, Title 20, of the Code\nof Federal Regulations16 (10CFR20), specify the maximum permissible\nconcentrations of an isotope in soluble and insoluble forms, for both\ningestion and inhalation, and for occupational and unrestricted exposure.\nWhen the activity (in curies) of a given isotope is divided by WMPC (or\nAMPC) for that isotope, the result is the volume of water (or air) required\nto dilute that quantity of the isotope to its maximum permissible\nconcentration. The dilution volume is a measure of the radioactive toxicity\nof the nuclide for cases of direct ingestion or inhalation. The values of\nWMPC and AMPC are defined to be the smaller (i.e., more toxic) of the values\nfor soluble and insoluble forms of the isotope.\n")
hh_file.write(" **/\n")
hh_file.write("float ampc;\n")
hh_file.write("/**\n")
hh_file.write(" *<ol><li> FB: Fraction of decay transitions that take place by beta\n"
"(negatron) emission and lead to a product nuclide in the "
"ground state</li>\n"
"<li>FB1: Fraction of decay transitions that take place by beta "
"emission and\nlead to a product nuclide in an excited "
"(metastable) nuclear state</li>\n"
"<li>FP: Fraction of decay transitions that take place by positron "
"emission or\norbital electron capture and lead to a product "
"nuclide in the ground state</li>\n"
"<li>FP1: Fraction of decay transitions that take place by positron "
"emission or\norbital electron capture and lead to a product "
"nuclide in an excited nuclear\nstate</li>\n"
"<li>FA: Fraction of decay transitions that take place by "
"alpha particle\nemission</li>\n"
"<li>FT: Fraction of decay transitions that take place by "
"isomeric transition</li>\n"
"<li>FSF: Fraction of decay transitions that take place by "
"spontaneous fission</li>\n"
"<li>FN: Fraction of decay transitions that take place by the "
"emission of both a\nbeta particle and a neutron</li>\n</ol>\n");
hh_file.write(" **/\n")
hh_file.write("std::array<float,8> fractions;\n")
hh_file.write("int zaid() { return z * 10000 + a * 10 + m;}\n")