This code creates a simulated atomic beam fluoresence (ABF) spectrum using an input file and the ROOT framework.
The main program is: megacube_file_opt_cu_bug_CS.C An example input file is: baseline_megacube_file_input.txt
When running in the ROOT framework, add a plus sign to compile the code. Use ROOT version 6.+