Public Member Functions | |
def | __init__ (self, fig) |
def | drawHTTPstring (self) |
def | drawInteractive (self) |
def | drawPNG (self, filename) |
def | plotInst_RunLS (self, rawxdata, rawydata, nticks=6, textoutput=None) |
def | plotPeakPerday_Time (self, rawdata={}, resultlines=[], minTime=None, maxTime=None, nticks=6, withannotation=False, yscale='linear', referenceLabel='Delivered', labels=['Delivered'], textoutput=None) |
def | plotPerdayX_Time (self, rawdata={}, resultlines=[], minTime=None, maxTime=None, nticks=6, yscale='linear', withannotation=False, referenceLabel='Delivered', labels=['Delivered', Recorded, textoutput=None) |
def | plotSumX_Fill (self, rawdata={}, resultlines=[], minFill=None, maxFill=None, nticks=6, yscale='linear', withannotation=False, referenceLabel='Delivered', labels=['Delivered', Recorded, textoutput=None) |
def | plotSumX_Run (self, rawdata={}, resultlines=[], minRun=None, maxRun=None, nticks=6, yscale='linear', withannotation=False, referenceLabel='Delivered', labels=['Delivered', Recorded, textoutput=None) |
def | plotSumX_Time (self, rawdata={}, resultlines=[], minTime=None, maxTime=None, nticks=6, yscale='linear', withannotation=False, referenceLabel='Delivered', labels=['Delivered', Recorded, textoutput=None) |
Public Attributes | |
colormap | |
Private Attributes | |
__canvas | |
__fig | |
Definition at line 96 of file matplotRender.py.
def matplotRender.matplotRender.__init__ | ( | self, | |
fig | |||
) |
Definition at line 97 of file matplotRender.py.
def matplotRender.matplotRender.drawHTTPstring | ( | self | ) |
Definition at line 793 of file matplotRender.py.
References matplotRender.matplotRender.__canvas, and matplotRender.matplotRender.__fig.
def matplotRender.matplotRender.drawInteractive | ( | self | ) |
Definition at line 804 of file matplotRender.py.
References matplotRender.matplotRender.__fig, and edm.print().
def matplotRender.matplotRender.drawPNG | ( | self, | |
filename | |||
) |
Definition at line 800 of file matplotRender.py.
References matplotRender.matplotRender.__canvas, and matplotRender.matplotRender.__fig.
def matplotRender.matplotRender.plotInst_RunLS | ( | self, | |
rawxdata, | |||
rawydata, | |||
nticks = 6 , |
|||
textoutput = None |
|||
) |
Input: rawxdata [run,fill,starttime,stoptime,totalls,ncmsls] rawydata {label:[lumi]}
Definition at line 717 of file matplotRender.py.
References matplotRender.matplotRender.colormap, cmsPerfStripChart.dict, matplotRender.guessLumiUnit(), list(), SiStripPI.max, and str.
def matplotRender.matplotRender.plotPeakPerday_Time | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minTime = None , |
|||
maxTime = None , |
|||
nticks = 6 , |
|||
withannotation = False , |
|||
yscale = 'linear' , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered'] , |
|||
textoutput = None |
|||
) |
THIS PLOT IS DELIVERED ONLY Input: rawdata={'Delivered':[(day,run,ls,instlumi)]} resultlines=[[day,run,ls,maxinstlum],[]] minTime (python DateTime) : min *begin* time to draw: format %m/%d/%y %H:%M:%S maxTime (python DateTime): max *begin* time to draw %m/%d/%y %H:%M:%S withannotation: wheather the boundary points should be annotated referenceLabel: the one variable that decides the total unit and the plot x-axis range labels: labels of the variables to plot
Definition at line 574 of file matplotRender.py.
References mps_setup.append, matplotRender.matplotRender.colormap, cmsPerfStripChart.dict, objects.autophobj.float, matplotRender.guessInstLumiUnit(), createfilelist.int, list(), SiStripPI.max, min(), edm.print(), split, str, and ComparisonHelper.zip().
def matplotRender.matplotRender.plotPerdayX_Time | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minTime = None , |
|||
maxTime = None , |
|||
nticks = 6 , |
|||
yscale = 'linear' , |
|||
withannotation = False , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered' , |
|||
Recorded, | |||
textoutput = None |
|||
) |
Input: rawdata={'Delivered':[(day,begrun:ls,endrun:ls,lumi)],'Recorded':[(dayofyear,begrun:ls,endrun:ls,lumi)]} resultlines=[[day,begrun:ls,endrun:ls,deliveredperday,recordedperday],[]] minTime (python DateTime) : min *begin* time to draw: format %m/%d/%y %H:%M:%S maxTime (python DateTime): max *begin* time to draw %m/%d/%y %H:%M:%S withannotation: wheather the boundary points should be annotated referenceLabel: the one variable that decides the total unit and the plot x-axis range labels: labels of the variables to plot
Definition at line 431 of file matplotRender.py.
References mps_setup.append, matplotRender.matplotRender.colormap, objects.autophobj.float, matplotRender.guessLumiUnit(), createfilelist.int, list(), SiStripPI.max, min(), edm.print(), str, and ComparisonHelper.zip().
def matplotRender.matplotRender.plotSumX_Fill | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minFill = None , |
|||
maxFill = None , |
|||
nticks = 6 , |
|||
yscale = 'linear' , |
|||
withannotation = False , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered' , |
|||
Recorded, | |||
textoutput = None |
|||
) |
input: rawdata = {'Delivered':[(fill,runnumber,lumiperrun)],'Recorded':[(fill,runnumber,lumiperrun)]} resultlines = [[fillnumber,runnumber,dellumiperrun,reclumiperrun],[fillnumber,runnumber,dellumiperrun,reclumiperrun],] minFill : min fill to draw maxFill : max fill to draw yscale: linear,log or both withannotation: wheather the boundary points should be annotated textoutput: text output file name.
Definition at line 204 of file matplotRender.py.
References mps_setup.append, matplotRender.matplotRender.colormap, cmsPerfStripChart.dict, objects.autophobj.float, matplotRender.guessLumiUnit(), createfilelist.int, list(), edm.print(), str, and ComparisonHelper.zip().
def matplotRender.matplotRender.plotSumX_Run | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minRun = None , |
|||
maxRun = None , |
|||
nticks = 6 , |
|||
yscale = 'linear' , |
|||
withannotation = False , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered' , |
|||
Recorded, | |||
textoutput = None |
|||
) |
input: rawdata = {'Delivered':[(runnumber,lumiperrun),..],'Recorded':[(runnumber,lumiperrun),..]} resultlines = [[runnumber,dellumiperrun,reclumiperrun],[runnumber,dellumiperrun,reclumiperrun],] minRun : minimal runnumber required maxRun : max runnumber required yscale: linear,log or both withannotation: wheather the boundary points should be annotated referenceLabel: the one variable that decides the total unit and the plot x-axis range labels: labels of the variables to plot textoutput: text output file name.
Definition at line 106 of file matplotRender.py.
References mps_setup.append, matplotRender.matplotRender.colormap, cmsPerfStripChart.dict, objects.autophobj.float, matplotRender.guessLumiUnit(), createfilelist.int, list(), edm.print(), str, and ComparisonHelper.zip().
def matplotRender.matplotRender.plotSumX_Time | ( | self, | |
rawdata = {} , |
|||
resultlines = [] , |
|||
minTime = None , |
|||
maxTime = None , |
|||
nticks = 6 , |
|||
yscale = 'linear' , |
|||
withannotation = False , |
|||
referenceLabel = 'Delivered' , |
|||
labels = ['Delivered' , |
|||
Recorded, | |||
textoutput = None |
|||
) |
input: rawdata = {'Delivered':[(runnumber,starttimestamp,stoptimestamp,lumiperrun)],'Recorded':[(runnumber,starttimestamp,stoptimestamp,lumiperrun)]} resultlines = [[runnumber,starttimestampStr,stoptimestampStr,dellumiperrun,reclumiperrun],[runnumber,starttimestampStr,stoptimestampStr,dellumiperrun,reclumiperrun],] minTime (python DateTime) : min *begin* time to draw: format %m/%d/%y %H:%M:%S maxTime (python DateTime): max *begin* time to draw %m/%d/%y %H:%M:%S yscale: linear,log or both withannotation: wheather the boundary points should be annotated referenceLabel: the one variable that decides the total unit and the plot x-axis range labels: labels of the variables to plot
Definition at line 302 of file matplotRender.py.
References mps_setup.append, matplotRender.matplotRender.colormap, cmsPerfStripChart.dict, objects.autophobj.float, matplotRender.guessLumiUnit(), createfilelist.int, list(), edm.print(), split, str, and ComparisonHelper.zip().
|
private |
Definition at line 99 of file matplotRender.py.
Referenced by matplotRender.matplotRender.drawHTTPstring(), and matplotRender.matplotRender.drawPNG().
|
private |
Definition at line 98 of file matplotRender.py.
Referenced by matplotRender.matplotRender.drawHTTPstring(), matplotRender.matplotRender.drawInteractive(), and matplotRender.matplotRender.drawPNG().
matplotRender.matplotRender.colormap |
Definition at line 100 of file matplotRender.py.
Referenced by matplotRender.matplotRender.plotInst_RunLS(), matplotRender.matplotRender.plotPeakPerday_Time(), matplotRender.matplotRender.plotPerdayX_Time(), matplotRender.matplotRender.plotSumX_Fill(), matplotRender.matplotRender.plotSumX_Run(), and matplotRender.matplotRender.plotSumX_Time().