Public Member Functions | |
def | __beautify__ (self, canvas, CMSextraLabel, eraLabel) |
def | __clean__ (self) |
def | __cleanSingle__ (self) |
def | __createArchitecture__ (self) |
def | __createSingleArchitecture__ (self) |
def | __defineObjects__ (self) |
def | __defineSingleObjects__ (self) |
def | __finalize__ (self) |
def | __fitGauss__ (self, hist) |
def | __getStat__ (self, hist, var) |
def | __init__ (self, args) |
def | __log__ (self, log_type="", text="") |
def | __setTHStyle__ (self, objects) |
def | addDATA (self, filename) |
def | addDirDATA (self, dataDir) |
def | addDirMC (self, mcDir) |
def | addMC (self, filename) |
def | plot (self) |
def | plotSingle (self) |
Public Attributes | |
args | |
cwd | |
dataDirs | |
dataFiles | |
fileBaseName | |
legendOffset | |
legendTextSize | |
maxEntriesPerColumn | |
mcFiles | |
MCobjects | |
objNameList | |
Open each file separately and get object groups. More... | |
objNameListMC | |
outputDir | |
segments | |
segmentTextOffset | |
statBoxTextSize | |
varsX | |
Set histogram labels, axis titles, line color, stat bar, etc. More... | |
Private Member Functions | |
def | _middleString (self, fullString) |
def | _replaceMulti (self, mainString, toBeReplaced, newString) |
def | _styledTPaveText (self, x1, y1, x2, y2, var) |
Definition at line 8 of file DMRplotter.py.
def DMRplotter.DMRplotter.__init__ | ( | self, | |
args | |||
) |
Definition at line 9 of file DMRplotter.py.
def DMRplotter.DMRplotter.__beautify__ | ( | self, | |
canvas, | |||
CMSextraLabel, | |||
eraLabel | |||
) |
Definition at line 692 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().
def DMRplotter.DMRplotter.__clean__ | ( | self | ) |
Definition at line 754 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), DMRplotter.DMRplotter.cwd, DMRplotter.DMRplotter.dataFiles, DMRplotter.DMRplotter.MCobjects, DMRplotter.DMRplotter.outputDir, Trend.outputDir, and PlotAlignmentValidation.outputDir.
def DMRplotter.DMRplotter.__cleanSingle__ | ( | self | ) |
Definition at line 740 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), DMRplotter.DMRplotter.cwd, DMRplotter.DMRplotter.outputDir, Trend.outputDir, and PlotAlignmentValidation.outputDir.
def DMRplotter.DMRplotter.__createArchitecture__ | ( | self | ) |
Definition at line 134 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), DMRplotter.DMRplotter.dataFiles, DMRplotter.DMRplotter.MCobjects, DMRplotter.DMRplotter.outputDir, Trend.outputDir, and PlotAlignmentValidation.outputDir.
Referenced by DMRplotter.DMRplotter.plot().
def DMRplotter.DMRplotter.__createSingleArchitecture__ | ( | self | ) |
Definition at line 100 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), DMRplotter.DMRplotter.args, DMRplotter.DMRplotter.dataDirs, DMRplotter.DMRplotter.outputDir, Trend.outputDir, and PlotAlignmentValidation.outputDir.
Referenced by DMRplotter.DMRplotter.plotSingle().
def DMRplotter.DMRplotter.__defineObjects__ | ( | self | ) |
Definition at line 304 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), DMRplotter.DMRplotter._middleString(), DMRplotter.DMRplotter._replaceMulti(), mps_setup.append, DMRplotter.DMRplotter.args, DMRplotter.DMRplotter.dataFiles, DMRplotter.DMRplotter.MCobjects, DMRplotter.DMRplotter.objNameList, DMRplotter.DMRplotter.objNameListMC, submitPVValidationJobs.split(), and str.
Referenced by DMRplotter.DMRplotter.plot().
def DMRplotter.DMRplotter.__defineSingleObjects__ | ( | self | ) |
Definition at line 158 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), DMRplotter.DMRplotter._replaceMulti(), mps_setup.append, DMRplotter.DMRplotter.args, DMRplotter.DMRplotter.dataFiles, DMRplotter.DMRplotter.mcFiles, DMRplotter.DMRplotter.objNameList, DMRplotter.DMRplotter.objNameListMC, submitPVValidationJobs.split(), and str.
Referenced by DMRplotter.DMRplotter.plotSingle().
def DMRplotter.DMRplotter.__finalize__ | ( | self | ) |
Definition at line 772 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), DMRplotter.DMRplotter.outputDir, Trend.outputDir, and PlotAlignmentValidation.outputDir.
Referenced by DMRplotter.DMRplotter.plot().
def DMRplotter.DMRplotter.__fitGauss__ | ( | self, | |
hist | |||
) |
Definition at line 464 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), and createfilelist.int.
Referenced by DMRplotter.DMRplotter.__getStat__().
def DMRplotter.DMRplotter.__getStat__ | ( | self, | |
hist, | |||
var | |||
) |
Definition at line 497 of file DMRplotter.py.
References DMRplotter.DMRplotter.__fitGauss__(), DMRplotter.DMRplotter.args, and str.
Referenced by DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().
def DMRplotter.DMRplotter.__log__ | ( | self, | |
log_type = "" , |
|||
text = "" |
|||
) |
Definition at line 28 of file DMRplotter.py.
References createfilelist.int, print(), and str.
Referenced by DMRplotter.DMRplotter.__clean__(), DMRplotter.DMRplotter.__cleanSingle__(), DMRplotter.DMRplotter.__createArchitecture__(), DMRplotter.DMRplotter.__createSingleArchitecture__(), DMRplotter.DMRplotter.__defineObjects__(), DMRplotter.DMRplotter.__defineSingleObjects__(), DMRplotter.DMRplotter.__finalize__(), DMRplotter.DMRplotter.__fitGauss__(), DMRplotter.DMRplotter.addDATA(), DMRplotter.DMRplotter.addDirDATA(), DMRplotter.DMRplotter.addDirMC(), DMRplotter.DMRplotter.addMC(), and DMRplotter.DMRplotter.plotSingle().
def DMRplotter.DMRplotter.__setTHStyle__ | ( | self, | |
objects | |||
) |
Definition at line 563 of file DMRplotter.py.
References DMRplotter.DMRplotter.args, DMRplotter.DMRplotter.legendTextSize, and DMRplotter.DMRplotter.varsX.
Referenced by DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().
|
private |
Definition at line 54 of file DMRplotter.py.
References join().
Referenced by DMRplotter.DMRplotter.__defineObjects__().
|
private |
Definition at line 65 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__defineObjects__(), and DMRplotter.DMRplotter.__defineSingleObjects__().
|
private |
Definition at line 76 of file DMRplotter.py.
References DMRplotter.DMRplotter.args, and DMRplotter.DMRplotter.statBoxTextSize.
Referenced by DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().
def DMRplotter.DMRplotter.addDATA | ( | self, | |
filename | |||
) |
Definition at line 784 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), mps_setup.append, DMRplotter.DMRplotter.dataFiles, DMRplotter.DMRplotter.fileBaseName, and str.
def DMRplotter.DMRplotter.addDirDATA | ( | self, | |
dataDir | |||
) |
Definition at line 797 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), mps_setup.append, DMRplotter.DMRplotter.args, DMRplotter.DMRplotter.dataDirs, and DMRplotter.DMRplotter.dataFiles.
def DMRplotter.DMRplotter.addDirMC | ( | self, | |
mcDir | |||
) |
Definition at line 816 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), mps_setup.append, DMRplotter.DMRplotter.fileBaseName, DMRplotter.DMRplotter.MCobjects, python.rootplot.root2matplotlib.replace(), and str.
def DMRplotter.DMRplotter.addMC | ( | self, | |
filename | |||
) |
Definition at line 834 of file DMRplotter.py.
References DMRplotter.DMRplotter.__log__(), mps_setup.append, DMRplotter.DMRplotter.fileBaseName, DMRplotter.DMRplotter.MCobjects, and str.
def DMRplotter.DMRplotter.plot | ( | self | ) |
Definition at line 968 of file DMRplotter.py.
References DMRplotter.DMRplotter.__beautify__(), DMRplotter.DMRplotter.__createArchitecture__(), DMRplotter.DMRplotter.__defineObjects__(), DMRplotter.DMRplotter.__finalize__(), DMRplotter.DMRplotter.__getStat__(), DMRplotter.DMRplotter.__setTHStyle__(), DMRplotter.DMRplotter._styledTPaveText(), DMRplotter.DMRplotter.args, DMRplotter.DMRplotter.legendOffset, DMRplotter.DMRplotter.maxEntriesPerColumn, DMRplotter.DMRplotter.objNameList, DMRplotter.DMRplotter.outputDir, Trend.outputDir, PlotAlignmentValidation.outputDir, DMRplotter.DMRplotter.segments, DMRplotter.DMRplotter.segmentTextOffset, and DMRplotter.DMRplotter.varsX.
def DMRplotter.DMRplotter.plotSingle | ( | self | ) |
Definition at line 847 of file DMRplotter.py.
References DMRplotter.DMRplotter.__beautify__(), DMRplotter.DMRplotter.__createSingleArchitecture__(), DMRplotter.DMRplotter.__defineSingleObjects__(), DMRplotter.DMRplotter.__getStat__(), DMRplotter.DMRplotter.__log__(), DMRplotter.DMRplotter.__setTHStyle__(), DMRplotter.DMRplotter._styledTPaveText(), DMRplotter.DMRplotter.args, DMRplotter.DMRplotter.legendOffset, DMRplotter.DMRplotter.maxEntriesPerColumn, DMRplotter.DMRplotter.objNameList, DMRplotter.DMRplotter.objNameListMC, DMRplotter.DMRplotter.outputDir, Trend.outputDir, PlotAlignmentValidation.outputDir, DMRplotter.DMRplotter.segments, DMRplotter.DMRplotter.segmentTextOffset, str, and DMRplotter.DMRplotter.varsX.
DMRplotter.DMRplotter.args |
Definition at line 10 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__createSingleArchitecture__(), DMRplotter.DMRplotter.__defineObjects__(), DMRplotter.DMRplotter.__defineSingleObjects__(), DMRplotter.DMRplotter.__getStat__(), tier0.ResponseError.__init__(), DMRplotter.DMRplotter.__setTHStyle__(), tier0.ResponseError.__str__(), DMRplotter.DMRplotter._styledTPaveText(), DMRplotter.DMRplotter.addDirDATA(), conddb_version_mgr.conddb_tool.connect(), o2olib.O2OTool.create(), o2olib.O2OTool.disable(), o2olib.O2OTool.dumpConf(), o2olib.O2OTool.enable(), conddb_version_mgr.conddb_tool.insert_boost_run(), o2olib.O2OTool.listConf(), esMonitoring.ElasticReport.make_report(), DMRplotter.DMRplotter.plot(), DMRplotter.DMRplotter.plotSingle(), o2olib.O2OTool.run(), o2olib.O2OTool.setConfig(), o2olib.O2OTool.setFrequent(), o2olib.O2OTool.setInterval(), conddb_version_mgr.conddb_tool.show_tag_boost_version(), and conddb_version_mgr.conddb_tool.update_tags().
DMRplotter.DMRplotter.cwd |
Definition at line 16 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__clean__(), and DMRplotter.DMRplotter.__cleanSingle__().
DMRplotter.DMRplotter.dataDirs |
Definition at line 12 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__createSingleArchitecture__(), and DMRplotter.DMRplotter.addDirDATA().
DMRplotter.DMRplotter.dataFiles |
Definition at line 11 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__clean__(), DMRplotter.DMRplotter.__createArchitecture__(), DMRplotter.DMRplotter.__defineObjects__(), DMRplotter.DMRplotter.__defineSingleObjects__(), DMRplotter.DMRplotter.addDATA(), and DMRplotter.DMRplotter.addDirDATA().
DMRplotter.DMRplotter.fileBaseName |
Definition at line 14 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.addDATA(), DMRplotter.DMRplotter.addDirMC(), and DMRplotter.DMRplotter.addMC().
DMRplotter.DMRplotter.legendOffset |
Definition at line 22 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().
DMRplotter.DMRplotter.legendTextSize |
Definition at line 23 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__setTHStyle__().
DMRplotter.DMRplotter.maxEntriesPerColumn |
Definition at line 26 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().
DMRplotter.DMRplotter.mcFiles |
Definition at line 13 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__defineSingleObjects__().
DMRplotter.DMRplotter.MCobjects |
Definition at line 18 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__clean__(), DMRplotter.DMRplotter.__createArchitecture__(), DMRplotter.DMRplotter.__defineObjects__(), DMRplotter.DMRplotter.addDirMC(), and DMRplotter.DMRplotter.addMC().
DMRplotter.DMRplotter.objNameList |
Open each file separately and get object groups.
Open result file and get information about objects stored inside.
In case that input validation objects were not given as an argument, it will retrieve those names from histogram names. Otherwise it will search for particular object names. Histograms are then stored for each module segment and each object.
Definition at line 17 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__defineObjects__(), DMRplotter.DMRplotter.__defineSingleObjects__(), DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().
DMRplotter.DMRplotter.objNameListMC |
Definition at line 19 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__defineObjects__(), DMRplotter.DMRplotter.__defineSingleObjects__(), and DMRplotter.DMRplotter.plotSingle().
DMRplotter.DMRplotter.outputDir |
Definition at line 15 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__clean__(), DMRplotter.DMRplotter.__cleanSingle__(), DMRplotter.DMRplotter.__createArchitecture__(), DMRplotter.DMRplotter.__createSingleArchitecture__(), DMRplotter.DMRplotter.__finalize__(), DMRplotter.DMRplotter.plot(), DMRplotter.DMRplotter.plotSingle(), and postprocessor.PostProcessor.run().
DMRplotter.DMRplotter.segments |
Definition at line 20 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().
DMRplotter.DMRplotter.segmentTextOffset |
Definition at line 25 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().
DMRplotter.DMRplotter.statBoxTextSize |
Definition at line 24 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter._styledTPaveText().
DMRplotter.DMRplotter.varsX |
Set histogram labels, axis titles, line color, stat bar, etc.
Definition at line 21 of file DMRplotter.py.
Referenced by DMRplotter.DMRplotter.__setTHStyle__(), DMRplotter.DMRplotter.plot(), and DMRplotter.DMRplotter.plotSingle().