Rework New
This commit is contained in:
parent
9ccedee74a
commit
7190613b3c
Binary file not shown.
Binary file not shown.
BIN
data_results/CompareLongSeedBDefault.root
Normal file
BIN
data_results/CompareLongSeedBDefault.root
Normal file
Binary file not shown.
BIN
data_results/CompareLongSeedBDefaultElectron.root
Normal file
BIN
data_results/CompareLongSeedBDefaultElectron.root
Normal file
Binary file not shown.
BIN
data_results/CompareMatchBDefaultElectron.root
Normal file
BIN
data_results/CompareMatchBDefaultElectron.root
Normal file
Binary file not shown.
@ -564,9 +564,9 @@ def PrCheckerEfficiency(
|
|||||||
)
|
)
|
||||||
axis.SetLabelSize(0)
|
axis.SetLabelSize(0)
|
||||||
axis.Draw()
|
axis.Draw()
|
||||||
canvas.RedrawAxis()
|
# canvas.RedrawAxis()
|
||||||
if savepdf and (1 == 0):
|
if savepdf and (1 == 0):
|
||||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
filestypes = ["pdf"] # , "pdf", "eps", "C", "ps", "tex"]
|
||||||
for ftype in filestypes:
|
for ftype in filestypes:
|
||||||
if not plot_electrons_only:
|
if not plot_electrons_only:
|
||||||
canvasName = tracker + "_" + cut + "_" + histo + "." + ftype
|
canvasName = tracker + "_" + cut + "_" + histo + "." + ftype
|
||||||
@ -639,7 +639,7 @@ def PrCheckerEfficiency(
|
|||||||
# latex.DrawLatex(0.7, 0.75, track_name)
|
# latex.DrawLatex(0.7, 0.75, track_name)
|
||||||
# canvas.PlaceLegend()
|
# canvas.PlaceLegend()
|
||||||
if savepdf and (1 == 0):
|
if savepdf and (1 == 0):
|
||||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
filestypes = ["pdf"] # , "pdf", "eps", "C", "ps", "tex"]
|
||||||
for ftype in filestypes:
|
for ftype in filestypes:
|
||||||
canvas.SaveAs(
|
canvas.SaveAs(
|
||||||
"checks/" + tracker + "_ghost_rate_" + histo + "." + ftype,
|
"checks/" + tracker + "_ghost_rate_" + histo + "." + ftype,
|
||||||
@ -865,7 +865,9 @@ def PrCheckerEfficiency(
|
|||||||
)
|
)
|
||||||
axis.SetLabelSize(0)
|
axis.SetLabelSize(0)
|
||||||
axis.Draw()
|
axis.Draw()
|
||||||
|
# canvas.Draw()
|
||||||
canvas.RedrawAxis()
|
canvas.RedrawAxis()
|
||||||
|
# canvas.PlaceLegend()
|
||||||
if savepdf:
|
if savepdf:
|
||||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
||||||
for ftype in filestypes:
|
for ftype in filestypes:
|
||||||
|
@ -7,12 +7,7 @@ def set_style(graph, color, marker, style):
|
|||||||
graph.SetMarkerColor(color)
|
graph.SetMarkerColor(color)
|
||||||
graph.SetMarkerSize(1.0)
|
graph.SetMarkerSize(1.0)
|
||||||
graph.SetMarkerStyle(marker)
|
graph.SetMarkerStyle(marker)
|
||||||
if (
|
if type(graph) == TH1F or type(graph) == TH1 or type(graph) == TH1D:
|
||||||
type(graph) == TH1F
|
|
||||||
or type(graph) == TH1
|
|
||||||
or type(graph) == TH1D
|
|
||||||
or type(graph) == TEfficiency
|
|
||||||
):
|
|
||||||
graph.SetFillColor(color)
|
graph.SetFillColor(color)
|
||||||
# graph.SetFillColorAlpha(color, 0.5)
|
# graph.SetFillColorAlpha(color, 0.5)
|
||||||
graph.SetFillStyle(style)
|
graph.SetFillStyle(style)
|
||||||
|
Loading…
Reference in New Issue
Block a user