Go to the source code of this file.
Namespaces | |
DoOptimization | |
Variables | |
DoOptimization.optname = sys.argv[1] | |
DoOptimization.optimization = Optimizations.Optimization(optname) | |
list | DoOptimization.configs = [] |
Identify completed configurations and merge histograms. More... | |
int | DoOptimization.config_iter = optimization.getLastGoodConfig()+1 |
int | DoOptimization.n_missing_configs = 0 |
string | DoOptimization.temp_histo_path = "/pnfs/dune/scratch/users/ljf26/fluxfiles/g4lbne/" |
list | DoOptimization.configs_to_merge = [] |
DoOptimization.fhc_files = glob.glob(config+"/*/flux/histos/histos_*_neutrino_*_"+optimization.detector_location_name+"_fastmc.root") | |
DoOptimization.rhc_files = glob.glob(config.replace("FHC","RHC")+"/*/flux/histos/histos_*_antineutrino_*_"+optimization.detector_location_name+"_fastmc.root") | |
DoOptimization.configuration_number = config.split("/")[len(config.split("/"))-1].split("-")[2] | |
DoOptimization.config = config.replace("/pnfs/dune/scratch",optimization.output_location) | |
DoOptimization.merged_file = glob.glob(config+"/*/flux/histos_*_"+optimization.detector_location_name+"_fastmc.root") | |
list | DoOptimization.configs_merged = [] |
Identify completed configurations that can be used for next generation. More... | |
int | DoOptimization.n_dirs_with_merged_histos = 0 |
DoOptimization.key | |
int | DoOptimization.n_good_configs_in_range = 0 |
Determine whether a new generation is ready to start. More... | |
int | DoOptimization.first_config = optimization.getLastGoodConfig()+1 |
DoOptimization.last_config = first_config+optimization.generation_size | |
DoOptimization.f = open(optimization.last_completed_config_file,"w") | |
Make Macro files for next generation. More... | |
bool | DoOptimization.resubmit_last_generation = False |
Submit g4lbne jobs for next generation. More... | |
DoOptimization.current_directory = os.getcwd() | |
DoOptimization.detx = str(0) | |
DoOptimization.dety = str(0) | |
DoOptimization.detz = str(0) | |
DoOptimization.theta_y = optimization.getParameterValue("OffAxisAngleY",i) | |