Commit ff884e86 authored by Lukas Maderer's avatar Lukas Maderer
Browse files

add modified notebooks to plot BDT output

parent 309ad790
......@@ -11,6 +11,7 @@ import sys, os
class PidPlotter:
### class that contains functions to produce plots of the PID stuff
def __init__(self, detector, cut=0.5):
self.detector = detector.upper()
if detector.upper()=="ORCA":
self.EMIN = 1
self.EMAX = 100
......@@ -191,7 +192,7 @@ class PidPlotter:
plt.step(ebins,np.multiply(100,np.insert(accuracies,0,accuracies[0])),label=score_name)
plt.grid()
plt.legend(loc='lower right')
plt.ylim(0,100)
plt.ylim(0,101)
plt.xlim(self.EMIN,self.EMAX)
plt.xscale('log')
plt.title("cut = %s"%(self.CUT))
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment