Namespaces | Functions | Variables
antinufrac_test.py File Reference

Go to the source code of this file.

Namespaces

 antinufrac_test
 

Functions

def antinufrac_test.GetPercentile (histo, X)
 
def antinufrac_test.GetMedian (histo)
 
def antinufrac_test.GetMinimum (histo)
 

Variables

list antinufrac_test.hierarchies = ["nh","ih"]
 
list antinufrac_test.plotvars = ["cp_75thpercentile","mh_minimum"]
 
list antinufrac_test.tweaks = ["antinufrac"]
 
list antinufrac_test.amounts_varied = [0,10,25,50,75,90,100]
 
list antinufrac_test.baseline_medians = []
 
 antinufrac_test.mixing_param = plotvar[0:2]
 
 antinufrac_test.baseline_file = ROOT.TFile("/lbne/data/users/lblpwg_tools/FastMC_Data/outputs/ljf26/Sensitivity_Plots/ProtonP120GeV_"+hierarchy+"_"+mixing_param+"_histos.root");
 
list antinufrac_test.medians = [[],[],[]]
 
list antinufrac_test.histos = [[],[],[]]
 
list antinufrac_test.amounts_varied_good_files = []
 
 antinufrac_test.var = tweak+str(amount_varied)
 
string antinufrac_test.file_prefix = var+"_"
 
 antinufrac_test.t_file = ROOT.TFile("/lbne/data/users/lblpwg_tools/FastMC_Data/outputs/ljf26/Sensitivity_Plots/bug/"+file_prefix+"_histos.root");
 
list antinufrac_test.metrics = [[],[],[]]
 
string antinufrac_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 antinufrac_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 antinufrac_test.varfhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r2p4/QGSP_BERT/Nominal/200kA/flux/histos_g4lbne_v3r2p4_QGSP_BERT_Nominal_200kA_LBNEFD_fastmc.root"
 
string antinufrac_test.varrhcfile = "/lbne/data/users/ljf26/fluxfiles/g4lbne/v3r2p4/QGSP_BERT/Nominal/-200kA/flux/histos_g4lbne_v3r2p4_QGSP_BERT_Nominal_-200kA_LBNEFD_fastmc.root"
 
int antinufrac_test.power = 120
 
float antinufrac_test.antinufrac = 0.5
 
 antinufrac_test.c1 = ROOT.TCanvas(file_prefix);
 
list antinufrac_test.t_graphs = []
 
int antinufrac_test.mgraph = 0
 
list antinufrac_test.line_styles = [1,2,3]
 
list antinufrac_test.line_colors = [1,2,4]
 
 antinufrac_test.temp = ROOT.TGraph(len(amounts_varied_good_files),array.array('d',amounts_varied_good_files),array.array('d',medians[i]));
 
 antinufrac_test.leg = ROOT.TLegend(0.35,0.2,0.65,0.5);
 
 antinufrac_test.m_graph = ROOT.TGraph(len(amounts_varied_good_files),array.array('d',amounts_varied_good_files),array.array('d',metrics[i]));