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.Draw()
|
||||
canvas.RedrawAxis()
|
||||
# canvas.RedrawAxis()
|
||||
if savepdf and (1 == 0):
|
||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
||||
filestypes = ["pdf"] # , "pdf", "eps", "C", "ps", "tex"]
|
||||
for ftype in filestypes:
|
||||
if not plot_electrons_only:
|
||||
canvasName = tracker + "_" + cut + "_" + histo + "." + ftype
|
||||
@ -639,7 +639,7 @@ def PrCheckerEfficiency(
|
||||
# latex.DrawLatex(0.7, 0.75, track_name)
|
||||
# canvas.PlaceLegend()
|
||||
if savepdf and (1 == 0):
|
||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
||||
filestypes = ["pdf"] # , "pdf", "eps", "C", "ps", "tex"]
|
||||
for ftype in filestypes:
|
||||
canvas.SaveAs(
|
||||
"checks/" + tracker + "_ghost_rate_" + histo + "." + ftype,
|
||||
@ -865,7 +865,9 @@ def PrCheckerEfficiency(
|
||||
)
|
||||
axis.SetLabelSize(0)
|
||||
axis.Draw()
|
||||
# canvas.Draw()
|
||||
canvas.RedrawAxis()
|
||||
# canvas.PlaceLegend()
|
||||
if savepdf:
|
||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
||||
for ftype in filestypes:
|
||||
|
@ -7,12 +7,7 @@ def set_style(graph, color, marker, style):
|
||||
graph.SetMarkerColor(color)
|
||||
graph.SetMarkerSize(1.0)
|
||||
graph.SetMarkerStyle(marker)
|
||||
if (
|
||||
type(graph) == TH1F
|
||||
or type(graph) == TH1
|
||||
or type(graph) == TH1D
|
||||
or type(graph) == TEfficiency
|
||||
):
|
||||
if type(graph) == TH1F or type(graph) == TH1 or type(graph) == TH1D:
|
||||
graph.SetFillColor(color)
|
||||
# graph.SetFillColorAlpha(color, 0.5)
|
||||
graph.SetFillStyle(style)
|
||||
|
Loading…
Reference in New Issue
Block a user