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 94 of file matplotRender.py.
def matplotRender.matplotRender.__init__ | ( | self, | |
fig | |||
) |
Definition at line 95 of file matplotRender.py.
def matplotRender.matplotRender.drawHTTPstring | ( | self | ) |
Definition at line 796 of file matplotRender.py.
References matplotRender.matplotRender.__canvas, and matplotRender.matplotRender.__fig.
def matplotRender.matplotRender.drawInteractive | ( | self | ) |
Definition at line 807 of file matplotRender.py.
References matplotRender.matplotRender.__fig.
def matplotRender.matplotRender.drawPNG | ( | self, | |
filename | |||
) |
Definition at line 803 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 719 of file matplotRender.py.
References matplotRender.matplotRender.colormap, cmsPerfStripChart.dict, matplotRender.guessLumiUnit(), SiStripPI.max, and harvestTrackValidationPlots.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 575 of file matplotRender.py.
References mps_setup.append, matplotRender.matplotRender.colormap, cmsPerfStripChart.dict, objects.autophobj.float, matplotRender.guessInstLumiUnit(), createfilelist.int, list(), SiStripPI.max, min(), split, harvestTrackValidationPlots.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 432 of file matplotRender.py.
References mps_setup.append, matplotRender.matplotRender.colormap, objects.autophobj.float, matplotRender.guessLumiUnit(), createfilelist.int, list(), SiStripPI.max, min(), harvestTrackValidationPlots.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 203 of file matplotRender.py.
References mps_setup.append, matplotRender.matplotRender.colormap, cmsPerfStripChart.dict, objects.autophobj.float, matplotRender.guessLumiUnit(), createfilelist.int, list(), harvestTrackValidationPlots.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 104 of file matplotRender.py.
References mps_setup.append, matplotRender.matplotRender.colormap, cmsPerfStripChart.dict, objects.autophobj.float, matplotRender.guessLumiUnit(), createfilelist.int, list(), harvestTrackValidationPlots.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(), split, harvestTrackValidationPlots.str, and ComparisonHelper.zip().
|
private |
Definition at line 97 of file matplotRender.py.
Referenced by matplotRender.matplotRender.drawHTTPstring(), and matplotRender.matplotRender.drawPNG().
|
private |
Definition at line 96 of file matplotRender.py.
Referenced by matplotRender.matplotRender.drawHTTPstring(), matplotRender.matplotRender.drawInteractive(), and matplotRender.matplotRender.drawPNG().
matplotRender.matplotRender.colormap |
Definition at line 98 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().