Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:19:27

0001 {
0002 // For Flexi source
0003 // eventually convert from ASCII output files to ROOT files
0004 /*
0005 gROOT->ProcessLine(".L convert.C");
0006 ReadASCII("EnergyDeposition_Flexi_livermore.out", "brachytherapy_Flexi_livermore.root");
0007 ReadASCII("EnergyDeposition_Flexi_penelope.out", "brachytherapy_Flexi_penelope.root");
0008 ReadASCII("EnergyDeposition_Flexi_opt0.out", "brachytherapy_Flexi_opt0.root");
0009 ReadASCII("EnergyDeposition_Flexi_opt3.out", "brachytherapy_Flexi_opt3.root");
0010 ReadASCII("EnergyDeposition_Flexi_opt4.out", "brachytherapy_Flexi_opt4.root");
0011 */
0012 
0013 // g(r) is calculated from the root files 
0014 gROOT->ProcessLine(".L TG43_relative_dose.C");
0015 Read("Flexi", "livermore");
0016 Read("Flexi", "penelope");
0017 Read("Flexi", "opt0");
0018 Read("Flexi", "opt3");
0019 Read("Flexi", "opt4");
0020 //gROOT->ProcessLine(".x compare.C");
0021 // or...
0022 // plot all results with the alternative EM physics constructors
0023 gROOT->ProcessLine(".x compare_all.C");
0024 // use compare.C when only one physics approach is used
0025 
0026 // For Oncura source
0027 /*gROOT->ProcessLine(".L TG43_relative_dose.C");
0028 Read("Oncura", "livermore");
0029 Read("Oncura", "penelope");
0030 Read("Oncura", "opt0");
0031 Read("Oncura", "opt3");
0032 Read("Oncura", "opt4");
0033 gROOT->ProcessLine(".x compare_6711.C");
0034 //or ...
0035 // gROOT->ProcessLine(".x compare_6711_all.C");
0036 */
0037 }
0038