def __init__(self,m_cfg_parser): """""" PythonPlot.__init__(self,m_cfg_parser) self.y_err = True self.maxpred = 0 self.colors = 'k' self.add_labels = {'coordinates':[[0.55,0.98]], 'text':['TTS (M=1000 GeV)']}
import whiteboard print " Initialize framework " alg = whiteboard.Whiteboard("userScripts/PyUser.ini") settings = alg.initialize() if settings.get('configuration','read_data') in ['True','true']: print " Run over files and events " alg.execute() if settings.get('configuration','plot_framework') == 'python': print " Make plots with Python! " from python_plot import PythonPlot pythonplot = PythonPlot(settings) #pythonplot.alpha = 1.0 #pythonplot.hist_type = 'stepfilled' #pythonplot.colors = 'red' #pythonplot.format = 'png' #pythonplot.dpi = 300 #pythonplot.y_label = 'Yield' #pythonplot.x_label = 'Energy' #pythonplot.hist_cmap = 'Greens' pythonplot.initialize() pythonplot.execute() # from lhtagger import LHTagger # lhplot = LHTagger(settings) # lhplot.initialize() # lhplot.execute()