lines_to_write=["#ifndef RADIX_RADIXIO_{0}_HH_".format(header_def),"#define RADIX_RADIXIO_{0}_HH_".format(header_def),"#include <memory>","#include <string>","#include <unordered_map>","#include <utility>","#include <vector>","\nnamespace radix\n{\n","struct {0}\n{{".format(sname),"/**","* symbol","**/","int z;","/**","* atomic number","**/","int a;","/**","* metastable state","**/","int m;","/**","* The variable nLines, total number of photon lines in dataset","**/","int nLines;","/**","* The variable nBetas, total number of beta lines in dataset","**/","int nBetas;","/**","* The variable xgamEnergy, total energy of photons emitted by isotope","**/","float xgamEnergy;","/**","* The variable betaEnergy, total energy of betas emitted by isotope","**/","float betaEnergy;","/**","* The energies of each photon in dataset","**/","std::vector<float> photonEnergies;","/**","* The intensities of each photon in dataset","**/","std::vector<float> photonIntensities;","/**","* The maximum endpoint energies of each beta transition in dataset","**/","std::vector<float> betaEnergies;","/**","* The intensities of each beta in dataset","**/","std::vector<float> betaIntensities;","int zaid() { return z * 10000 + a * 10 + m;}","bool operator==(const {0}& rhs) const".format(sname),"{\nreturn (z == rhs.z && a == rhs.a && m == rhs.m);\n}","\n}}; // struct {0}\n".format(sname),"class {0}\n{{".format(cname)]