Namespaces | Functions | Variables
optimization_test.py File Reference

Go to the source code of this file.

Namespaces

 optimization_test
 

Functions

def optimization_test.GetPercentile (histo, X)
 
def optimization_test.GetMinimum (histo)
 

Variables

list optimization_test.hierarchies = ["nh","ih"]
 
list optimization_test.plotvars = ["cp_75thpercentile","mh_minimum"]
 
 optimization_test.optimization = Optimizations.Optimization("CP_run3")
 
list optimization_test.amounts_varied = [177,3544,4177,6177,6911,7177,7862,8177,8186]
 
list optimization_test.baseline_medians = []
 
 optimization_test.mixing_param = plotvar[0:2]
 
 optimization_test.baseline_file = ROOT.TFile("/lbne/data/users/lblpwg_tools/FastMC_Data/outputs/ljf26/Sensitivity_Plots/ProtonP120GeV_"+hierarchy+"_"+mixing_param+"_histos.root");
 
list optimization_test.medians = [[],[],[]]
 
list optimization_test.histos = [[],[],[]]
 
list optimization_test.amounts_varied_good_files = []
 
string optimization_test.var = "Optimizations_CP_run3_"
 
string optimization_test.file_prefix = var+"_"
 
 optimization_test.t_file = ROOT.TFile("/lbne/data/users/lblpwg_tools/FastMC_Data/outputs/ljf26/Sensitivity_Plots/"+file_prefix+"_histos.root");
 
list optimization_test.metrics = [[],[],[]]
 
string optimization_test.nomfhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r2p4/QGSP_BERT/Nominal/200kA/flux/histos_g4lbne_v3r2p4_QGSP_BERT_Nominal_200kA_LBNEFD_fastmc.root"
 
string optimization_test.nomrhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r2p4/QGSP_BERT/Nominal/-200kA/flux/histos_g4lbne_v3r2p4_QGSP_BERT_Nominal_-200kA_LBNEFD_fastmc.root"
 
string optimization_test.varfhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r3p2/QGSP_BERT/Optimizations-CP_run3-"
 
string optimization_test.varrhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r3p2/QGSP_BERT/Optimizations-CP_run3-"
 
 optimization_test.energy = optimization.getEnergy(float(amounts_varied_good_files[var]),"")
 
float optimization_test.antinufrac = 0.5
 
string optimization_test.type = "cp"
 
 optimization_test.c1 = ROOT.TCanvas(file_prefix);
 
list optimization_test.t_graphs = []
 
int optimization_test.mgraph = 0
 
list optimization_test.line_styles = [1,2,3]
 
list optimization_test.line_colors = [1,2,4]
 
 optimization_test.temp = ROOT.TGraph(len(amounts_varied_good_files),array.array('d',amounts_varied_good_files),array.array('d',medians[i]));
 
 optimization_test.m_graph = ROOT.TGraph(len(amounts_varied_good_files),array.array('d',amounts_varied_good_files),array.array('d',metrics[i]));
 
 optimization_test.leg = ROOT.TLegend(0.4,0.2,0.6,0.4);