Variables
makeScanPlots Namespace Reference

Variables

string physics_list = "QGSP_BERT"
 
string fitness_type = "cp"
 
 optimization_name = sys.argv[1]
 PARSE INPUT ARGUMENT #####. More...
 
 configuration = sys.argv[2]
 
 optimization = Optimizations.Optimization(optimization_name)
 
int n_scan_points = 30
 merge configs if need #### More...
 
list configs_already_merged = []
 
list configs_merged_now = []
 
list configs_not_finished = []
 
 lower_limit = optimization.parameter_lower_limits[par_iter]
 
 upper_limit = optimization.parameter_upper_limits[par_iter]
 
 scan_value = lower_limit+scan_iter*(upper_limit-lower_limit)/n_scan_points
 
string fhc_flux_dir = "/lbne/data/users/ljf26/fluxfiles/g4lbne/"
 
string rhc_flux_dir = "/lbne/data/users/ljf26/fluxfiles/g4lbne/"
 
 merged_file = glob.glob(fhc_flux_dir+"/*/flux/histos_*_LBNEFD_fastmc.root")
 
 temp_fhc_dir = fhc_flux_dir.replace("/lbne/data/users/","/pnfs/lbne/scratch/users/")
 
 temp_rhc_dir = rhc_flux_dir.replace("/lbne/data/users/","/pnfs/lbne/scratch/users/")
 
 fhc_files = glob.glob(temp_fhc_dir+"/neutrino/flux/histos/histos_*_neutrino_*_LBNEFD_fastmc.root")
 
 rhc_files = glob.glob(temp_rhc_dir+"/antineutrino/flux/histos/histos_*_antineutrino_*_LBNEFD_fastmc.root")
 
 par_name = optimization.parameter_names[par_iter]
 
list par_values = []
 
list fit_values = []
 
list zero_errors = []
 
list fit_errors = []
 
string macro_name_fhc = "Optimizations-"
 
string macro_name_rhc = "Optimizations-"
 
string nomfhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r2p4/"
 
string nomrhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r2p4/"
 
string varfhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/"
 
string varrhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/"
 
int rhcpower = 0
 
int fhcpower = 0
 
 power_iter = optimization.getParameterIndex("ProtonEnergy")
 
 antinufrac = optimization.getParameterValue("AntinuFraction",configuration)
 
 t_fitness = fitnesses[0]
 
 t_error = fiterrors[0]
 
 canv = ROOT.TCanvas("MyCanvas","MyCanvas")
 
 fitness_vs_par = ROOT.TGraphErrors(len(par_values),array('d',par_values),array('d',fit_values),array('d',zero_errors),array('d',fit_errors));
 
 optimized_value = optimization.getParameterValue(optimization.parameter_names[par_iter],configuration)
 
 my_line = ROOT.TLine(optimized_value,fitness_vs_par.GetMinimum(),optimized_value,fitness_vs_par.GetMaximum())
 

Variable Documentation

float makeScanPlots.antinufrac = optimization.getParameterValue("AntinuFraction",configuration)

Definition at line 133 of file makeScanPlots.py.

makeScanPlots.canv = ROOT.TCanvas("MyCanvas","MyCanvas")

Definition at line 177 of file makeScanPlots.py.

list makeScanPlots.configs_already_merged = []

Definition at line 25 of file makeScanPlots.py.

list makeScanPlots.configs_merged_now = []

Definition at line 26 of file makeScanPlots.py.

list makeScanPlots.configs_not_finished = []

Definition at line 27 of file makeScanPlots.py.

makeScanPlots.configuration = sys.argv[2]

Definition at line 17 of file makeScanPlots.py.

makeScanPlots.fhc_files = glob.glob(temp_fhc_dir+"/neutrino/flux/histos/histos_*_neutrino_*_LBNEFD_fastmc.root")

Definition at line 57 of file makeScanPlots.py.

string makeScanPlots.fhc_flux_dir = "/lbne/data/users/ljf26/fluxfiles/g4lbne/"

Definition at line 44 of file makeScanPlots.py.

makeScanPlots.fhcpower = 0

Definition at line 114 of file makeScanPlots.py.

list makeScanPlots.fit_errors = []

Definition at line 94 of file makeScanPlots.py.

list makeScanPlots.fit_values = []

Definition at line 92 of file makeScanPlots.py.

string makeScanPlots.fitness_type = "cp"

Definition at line 8 of file makeScanPlots.py.

makeScanPlots.fitness_vs_par = ROOT.TGraphErrors(len(par_values),array('d',par_values),array('d',fit_values),array('d',zero_errors),array('d',fit_errors));

Definition at line 186 of file makeScanPlots.py.

makeScanPlots.lower_limit = optimization.parameter_lower_limits[par_iter]

Definition at line 38 of file makeScanPlots.py.

string makeScanPlots.macro_name_fhc = "Optimizations-"

Definition at line 99 of file makeScanPlots.py.

string makeScanPlots.macro_name_rhc = "Optimizations-"

Definition at line 100 of file makeScanPlots.py.

makeScanPlots.merged_file = glob.glob(fhc_flux_dir+"/*/flux/histos_*_LBNEFD_fastmc.root")

Definition at line 50 of file makeScanPlots.py.

makeScanPlots.my_line = ROOT.TLine(optimized_value,fitness_vs_par.GetMinimum(),optimized_value,fitness_vs_par.GetMaximum())

Definition at line 204 of file makeScanPlots.py.

int makeScanPlots.n_scan_points = 30

merge configs if need ####

Definition at line 23 of file makeScanPlots.py.

string makeScanPlots.nomfhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r2p4/"

Definition at line 105 of file makeScanPlots.py.

string makeScanPlots.nomrhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r2p4/"

Definition at line 107 of file makeScanPlots.py.

makeScanPlots.optimization = Optimizations.Optimization(optimization_name)

Definition at line 19 of file makeScanPlots.py.

makeScanPlots.optimization_name = sys.argv[1]

PARSE INPUT ARGUMENT #####.

Definition at line 16 of file makeScanPlots.py.

makeScanPlots.optimized_value = optimization.getParameterValue(optimization.parameter_names[par_iter],configuration)

Definition at line 202 of file makeScanPlots.py.

makeScanPlots.par_name = optimization.parameter_names[par_iter]

Definition at line 86 of file makeScanPlots.py.

list makeScanPlots.par_values = []

Definition at line 91 of file makeScanPlots.py.

string makeScanPlots.physics_list = "QGSP_BERT"

Definition at line 5 of file makeScanPlots.py.

makeScanPlots.power_iter = optimization.getParameterIndex("ProtonEnergy")

Definition at line 118 of file makeScanPlots.py.

makeScanPlots.rhc_files = glob.glob(temp_rhc_dir+"/antineutrino/flux/histos/histos_*_antineutrino_*_LBNEFD_fastmc.root")

Definition at line 58 of file makeScanPlots.py.

string makeScanPlots.rhc_flux_dir = "/lbne/data/users/ljf26/fluxfiles/g4lbne/"

Definition at line 45 of file makeScanPlots.py.

makeScanPlots.rhcpower = 0

Definition at line 113 of file makeScanPlots.py.

makeScanPlots.scan_value = lower_limit+scan_iter*(upper_limit-lower_limit)/n_scan_points

Definition at line 43 of file makeScanPlots.py.

makeScanPlots.t_error = fiterrors[0]

Definition at line 144 of file makeScanPlots.py.

makeScanPlots.t_fitness = fitnesses[0]

Definition at line 143 of file makeScanPlots.py.

makeScanPlots.temp_fhc_dir = fhc_flux_dir.replace("/lbne/data/users/","/pnfs/lbne/scratch/users/")

Definition at line 54 of file makeScanPlots.py.

makeScanPlots.temp_rhc_dir = rhc_flux_dir.replace("/lbne/data/users/","/pnfs/lbne/scratch/users/")

Definition at line 55 of file makeScanPlots.py.

makeScanPlots.upper_limit = optimization.parameter_upper_limits[par_iter]

Definition at line 39 of file makeScanPlots.py.

string makeScanPlots.varfhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/"

Definition at line 109 of file makeScanPlots.py.

string makeScanPlots.varrhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/"

Definition at line 110 of file makeScanPlots.py.

list makeScanPlots.zero_errors = []

Definition at line 93 of file makeScanPlots.py.