Functions | |
def | bilogify (hist, lmin=None) |
def | set_palette (which="custom") |
def | draw_wires () |
Variables | |
stops = array('d',[ 0.00, 0.45, 0.50, 0.55, 1.00 ]) | |
reds = array('d',[ 0.00, 0.00, 1.00, 1.00, 0.51 ]) | |
greens = array('d',[ 0.00, 0.81, 1.00, 0.20, 0.00 ]) | |
blues = array('d',[ 0.51, 1.00, 1.00, 0.00, 0.00 ]) | |
fp = ROOT.TFile.Open("build/util/test_impactresponse.root") | |
string | outname = "test_impactresponse.pdf" |
c = ROOT.TCanvas() | |
limits | |
lmins | |
wline = ROOT.TLine() | |
hline = ROOT.TLine() | |
hist = fp.Get("h%s_%c" % (name, letter)) | |
lim = limits[name][iplane] | |
lminin = lmins[name][iplane] | |
lminout = bilogify(hist, lminin) | |
title = hist.GetTitle() | |
def plot_impactresponse.bilogify | ( | hist, | |
lmin = None |
|||
) |
Modify histogram so that it is rescaled in a "bilog" manner. Negative values are -log10(-z). An offset in log10 is returned and represents the 0.
Definition at line 6 of file plot_impactresponse.py.
def plot_impactresponse.draw_wires | ( | ) |
Definition at line 89 of file plot_impactresponse.py.
def plot_impactresponse.set_palette | ( | which = "custom" | ) |
Definition at line 57 of file plot_impactresponse.py.
plot_impactresponse.blues = array('d',[ 0.51, 1.00, 1.00, 0.00, 0.00 ]) |
Definition at line 52 of file plot_impactresponse.py.
plot_impactresponse.c = ROOT.TCanvas() |
Definition at line 70 of file plot_impactresponse.py.
plot_impactresponse.fp = ROOT.TFile.Open("build/util/test_impactresponse.root") |
Definition at line 64 of file plot_impactresponse.py.
plot_impactresponse.greens = array('d',[ 0.00, 0.81, 1.00, 0.20, 0.00 ]) |
Definition at line 51 of file plot_impactresponse.py.
plot_impactresponse.hist = fp.Get("h%s_%c" % (name, letter)) |
Definition at line 99 of file plot_impactresponse.py.
plot_impactresponse.hline = ROOT.TLine() |
Definition at line 86 of file plot_impactresponse.py.
Definition at line 105 of file plot_impactresponse.py.
plot_impactresponse.limits |
Definition at line 76 of file plot_impactresponse.py.
Definition at line 110 of file plot_impactresponse.py.
Definition at line 111 of file plot_impactresponse.py.
plot_impactresponse.lmins |
Definition at line 78 of file plot_impactresponse.py.
string plot_impactresponse.outname = "test_impactresponse.pdf" |
Definition at line 68 of file plot_impactresponse.py.
plot_impactresponse.reds = array('d',[ 0.00, 0.00, 1.00, 1.00, 0.51 ]) |
Definition at line 50 of file plot_impactresponse.py.
plot_impactresponse.stops = array('d',[ 0.00, 0.45, 0.50, 0.55, 1.00 ]) |
Definition at line 49 of file plot_impactresponse.py.
plot_impactresponse.title = hist.GetTitle() |
Definition at line 113 of file plot_impactresponse.py.
plot_impactresponse.wline = ROOT.TLine() |
Definition at line 82 of file plot_impactresponse.py.