Namespaces | Functions | Variables
drawSensitivitySummaries.py File Reference

Go to the source code of this file.

Namespaces

 drawSensitivitySummaries
 

Functions

def drawSensitivitySummaries.GetMedian (histo)
 
def drawSensitivitySummaries.GetPercentile (histo, X)
 
def drawSensitivitySummaries.GetPercentileCheck (histo, X)
 
def drawSensitivitySummaries.GetFractionAtMoreThanXSigma (histo, X)
 
def drawSensitivitySummaries.GetMinimum (histo)
 

Variables

bool drawSensitivitySummaries.use_realistic_powers = True
 
int drawSensitivitySummaries.sigma = 3
 
list drawSensitivitySummaries.energies = [20,30,40,50,60,70,80,90,100,120,130]
 
 drawSensitivitySummaries.energies_array = array.array('d',energies)
 
list drawSensitivitySummaries.nh_cp_medians = [[],[],[]]
 
list drawSensitivitySummaries.ih_cp_medians = [[],[],[]]
 
list drawSensitivitySummaries.nh_cp_75thpercentiles = [[],[],[]]
 
list drawSensitivitySummaries.ih_cp_75thpercentiles = [[],[],[]]
 
list drawSensitivitySummaries.nh_cp_3sigmafracs = [[],[],[]]
 
list drawSensitivitySummaries.ih_cp_3sigmafracs = [[],[],[]]
 
list drawSensitivitySummaries.nh_cp_5sigmafracs = [[],[],[]]
 
list drawSensitivitySummaries.ih_cp_5sigmafracs = [[],[],[]]
 
list drawSensitivitySummaries.nh_mh_minimums = [[],[],[]]
 
list drawSensitivitySummaries.ih_mh_minimums = [[],[],[]]
 
 drawSensitivitySummaries.nh_cp_file = ROOT.TFile("/lbne/data/users/lblpwg_tools/FastMC_Data/outputs/ljf26/Sensitivity_Plots/ProtonP"+str(energy)+"GeV_nh_cp_histos.root");
 
 drawSensitivitySummaries.ih_cp_file = ROOT.TFile("/lbne/data/users/lblpwg_tools/FastMC_Data/outputs/ljf26/Sensitivity_Plots/ProtonP"+str(energy)+"GeV_ih_cp_histos.root");
 
 drawSensitivitySummaries.nh_mh_file = ROOT.TFile("/lbne/data/users/lblpwg_tools/FastMC_Data/outputs/ljf26/Sensitivity_Plots/ProtonP"+str(energy)+"GeV_nh_mh_histos.root");
 
 drawSensitivitySummaries.ih_mh_file = ROOT.TFile("/lbne/data/users/lblpwg_tools/FastMC_Data/outputs/ljf26/Sensitivity_Plots/ProtonP"+str(energy)+"GeV_ih_mh_histos.root");
 
 drawSensitivitySummaries.c_nh_cp_m = ROOT.TCanvas("nh_cp_m");
 
 drawSensitivitySummaries.c_ih_cp_m = ROOT.TCanvas("ih_cp_m");
 
 drawSensitivitySummaries.c_nh_cp_p = ROOT.TCanvas("nh_cp_p");
 
 drawSensitivitySummaries.c_ih_cp_p = ROOT.TCanvas("ih_cp_p");
 
 drawSensitivitySummaries.c_nh_cp_3 = ROOT.TCanvas("nh_cp_3");
 
 drawSensitivitySummaries.c_ih_cp_3 = ROOT.TCanvas("ih_cp_3");
 
 drawSensitivitySummaries.c_nh_cp_5 = ROOT.TCanvas("nh_cp_5");
 
 drawSensitivitySummaries.c_ih_cp_5 = ROOT.TCanvas("ih_cp_5");
 
 drawSensitivitySummaries.c_nh_mh = ROOT.TCanvas("nh_mh");
 
 drawSensitivitySummaries.c_ih_mh = ROOT.TCanvas("ih_mh");
 
list drawSensitivitySummaries.nh_cp_mgraphs = []
 
list drawSensitivitySummaries.ih_cp_mgraphs = []
 
list drawSensitivitySummaries.nh_cp_pgraphs = []
 
list drawSensitivitySummaries.ih_cp_pgraphs = []
 
list drawSensitivitySummaries.nh_cp_3graphs = []
 
list drawSensitivitySummaries.ih_cp_3graphs = []
 
list drawSensitivitySummaries.nh_cp_5graphs = []
 
list drawSensitivitySummaries.ih_cp_5graphs = []
 
list drawSensitivitySummaries.nh_mh_mgraphs = []
 
list drawSensitivitySummaries.ih_mh_mgraphs = []
 
list drawSensitivitySummaries.line_styles = [1,2,3]
 
list drawSensitivitySummaries.line_colors = [1,2,4]
 
 drawSensitivitySummaries.temp = ROOT.TGraph(len(energies),energies_array,array.array('d',nh_cp_medians[i]));
 
 drawSensitivitySummaries.leg = ROOT.TLegend(0.45,0.2,0.85,0.45);