fixed compare root files
This commit is contained in:
parent
0e9349b1da
commit
6a286bfec7
Binary file not shown.
BIN
data_results/CompareEfficiencyBDefaultElectronResidual.root
Normal file
BIN
data_results/CompareEfficiencyBDefaultElectronResidual.root
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -126,7 +126,7 @@ def get_colors():
|
|||||||
def get_elec_colors():
|
def get_elec_colors():
|
||||||
return [
|
return [
|
||||||
kGray + 2,
|
kGray + 2,
|
||||||
kBlue - 4,
|
kBlue - 3,
|
||||||
kRed + 1,
|
kRed + 1,
|
||||||
kGreen + 1,
|
kGreen + 1,
|
||||||
kViolet,
|
kViolet,
|
||||||
@ -565,7 +565,7 @@ def PrCheckerEfficiency(
|
|||||||
axis.SetLabelSize(0)
|
axis.SetLabelSize(0)
|
||||||
axis.Draw()
|
axis.Draw()
|
||||||
canvas.RedrawAxis()
|
canvas.RedrawAxis()
|
||||||
if savepdf:
|
if savepdf and (1 == 0):
|
||||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
||||||
for ftype in filestypes:
|
for ftype in filestypes:
|
||||||
if not plot_electrons_only:
|
if not plot_electrons_only:
|
||||||
@ -638,7 +638,7 @@ def PrCheckerEfficiency(
|
|||||||
# track_name = names[tracker] + " tracks"
|
# track_name = names[tracker] + " tracks"
|
||||||
# latex.DrawLatex(0.7, 0.75, track_name)
|
# latex.DrawLatex(0.7, 0.75, track_name)
|
||||||
# canvas.PlaceLegend()
|
# canvas.PlaceLegend()
|
||||||
if savepdf:
|
if savepdf and (1 == 0):
|
||||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
||||||
for ftype in filestypes:
|
for ftype in filestypes:
|
||||||
canvas.SaveAs(
|
canvas.SaveAs(
|
||||||
@ -870,10 +870,10 @@ def PrCheckerEfficiency(
|
|||||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
||||||
for ftype in filestypes:
|
for ftype in filestypes:
|
||||||
if not plot_electrons_only:
|
if not plot_electrons_only:
|
||||||
canvasName = "Compare_" + cut + "_" + histo + "." + ftype
|
canvasName = "Compare_" + jcut + "_" + histo + "." + ftype
|
||||||
else:
|
else:
|
||||||
canvasName = (
|
canvasName = (
|
||||||
"Compare_Electrons_" + cut + "_" + histo + "." + ftype
|
"Compare_Electrons_" + jcut + "_" + histo + "." + ftype
|
||||||
)
|
)
|
||||||
canvas.SaveAs("checks/" + canvasName)
|
canvas.SaveAs("checks/" + canvasName)
|
||||||
# canvas.SetRightMargin(0.05)
|
# canvas.SetRightMargin(0.05)
|
||||||
@ -954,7 +954,7 @@ def PrCheckerEfficiency(
|
|||||||
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
filestypes = ["pdf"] # , "png", "eps", "C", "ps", "tex"]
|
||||||
for ftype in filestypes:
|
for ftype in filestypes:
|
||||||
canvas.SaveAs(
|
canvas.SaveAs(
|
||||||
"checks/" + tracker + "_ghost_rate_" + histo + "." + ftype,
|
"checks/" + name + "." + ftype,
|
||||||
)
|
)
|
||||||
canvas.Write()
|
canvas.Write()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user