|
@@ -1,11 +1,12 @@
|
|
|
|
|
|
# coding: utf-8
|
|
# coding: utf-8
|
|
|
|
|
|
|
|
+import os
|
|
import sys
|
|
import sys
|
|
import matplotlib as mpl
|
|
import matplotlib as mpl
|
|
import matplotlib.pyplot as plt
|
|
import matplotlib.pyplot as plt
|
|
|
|
|
|
-sys.path.append("filval/python/")
|
|
|
|
|
|
+sys.path.append("../filval/python/")
|
|
from utils import ResultSet
|
|
from utils import ResultSet
|
|
from plotter import plot_histogram, plot_histogram2d
|
|
from plotter import plot_histogram, plot_histogram2d
|
|
mpl.rc('text', usetex=True)
|
|
mpl.rc('text', usetex=True)
|
|
@@ -16,6 +17,10 @@ mpl.rc('savefig', transparent=True)
|
|
# into memory and makes them available as attributes
|
|
# into memory and makes them available as attributes
|
|
rs = ResultSet("DY2LL", "/home/caleb/Sources/EGamma/build/output.root")
|
|
rs = ResultSet("DY2LL", "/home/caleb/Sources/EGamma/build/output.root")
|
|
|
|
|
|
|
|
+try:
|
|
|
|
+ os.mkdir('figures')
|
|
|
|
+except FileExistsError:
|
|
|
|
+ pass
|
|
|
|
|
|
scale = 0.85
|
|
scale = 0.85
|
|
plt.figure(figsize=(scale*10, scale*10))
|
|
plt.figure(figsize=(scale*10, scale*10))
|