ra4_macros  bede988c286599a3a84b77a4d788ac0a971e89f9
Namespaces | Functions | Variables
rpv_sig_syst.py File Reference

Go to the source code of this file.

Namespaces

 rpv_sig_syst
 

Functions

def rpv_sig_syst.get_hist_with_overflow (file, histname)
 
def rpv_sig_syst.get_symmetrized_relative_errors (sysName, nominal, proc, sysFile, directory)
 
def rpv_sig_syst.set_palette_gray (ncontours=20)
 

Variables

tuple rpv_sig_syst.parser = argparse.ArgumentParser()
 
tuple rpv_sig_syst.args = parser.parse_args()
 
int rpv_sig_syst.GLUINOMASS = 1200
 
 rpv_sig_syst.infile = args.input
 
 rpv_sig_syst.one_pdf = False
 
 rpv_sig_syst.verbose = True
 
tuple rpv_sig_syst.nSyst = len(systList)
 
list rpv_sig_syst.binList = []
 
tuple rpv_sig_syst.sysFile = ROOT.TFile(infile,"read")
 
string rpv_sig_syst.proc = "signal_M"
 
list rpv_sig_syst.directory = ibin[0]
 
tuple rpv_sig_syst.nominal = get_hist_with_overflow(sysFile,(directory + "/" + proc))
 
tuple rpv_sig_syst.nbinsX = nominal.GetNbinsX()
 
tuple rpv_sig_syst.c = ROOT.TCanvas()
 
tuple rpv_sig_syst.leg = ROOT.TLegend(0.12,0.7,0.54,0.92)
 
tuple rpv_sig_syst.table = ROOT.TH2F("table_"+directory,"",nbinsX,-0.5,nbinsX-0.5,nSyst,0,nSyst)
 
list rpv_sig_syst.systHists_sym = []
 
list rpv_sig_syst.sysName = syst[0]
 
tuple rpv_sig_syst.systHist = ROOT.TH1F(directory+"_"+sysName+"_sym","",5,0,5)
 
tuple rpv_sig_syst.thisvar = get_symmetrized_relative_errors("w_pdf"+str(i),nominal,proc,sysFile,directory)
 
tuple rpv_sig_syst.tla = ROOT.TLatex()
 
string rpv_sig_syst.outname = "plots/sig_systs_all_m"
 
tuple rpv_sig_syst.c2 = ROOT.TCanvas()