Public Member Functions | |
def | __init__ |
def | createHtmlReport |
def | doPlots |
def | download |
Private Member Functions | |
def | _doPlots |
def | _doPlotsFastFull |
def | _doPlotsPileup |
def | _getDirectoryName |
def | _getSelectionName |
Private Attributes | |
_fastsimSamples | |
_fullsimSamples | |
_newBaseDir | |
_newFileModifier | |
_newRelease | |
_plotter | |
_plotterDrawArgs | |
_refRelease | |
_refRepository | |
_selectionName | |
Base class for Tracking/Vertex validation.
Definition at line 345 of file validation.py.
def validation.Validation.__init__ | ( | self, | |
fullsimSamples, | |||
fastsimSamples, | |||
refRelease, | |||
refRepository, | |||
newRelease, | |||
newRepository, | |||
newFileModifier = None , |
|||
selectionName = "" |
|||
) |
Constructor. Arguments: fullsimSamples -- List of Sample objects for FullSim samples (may be empty) fastsimSamples -- List of Sample objects for FastSim samples (may be empty) refRelease -- String for reference CMSSW release newRepository -- String for directory whete to put new files newRelease -- CMSSW release to be validated refRepository -- String for directory where reference root files are newFileModifier -- If given, a function to modify the names of the new files (function takes a string and returns a string) selectionName -- If given, use this string as the selection name (appended to GlobalTag for directory names)
Definition at line 347 of file validation.py.
Referenced by vertexPlots.VertexValidation._init__().
|
private |
Do the real plotting work for a given sample and DQM subfolder
Definition at line 502 of file validation.py.
References validation._copySubDir(), validation._getGlobalTag(), validation.Validation._newBaseDir, html.HtmlReport._newBaseDir, validation.Validation._newRelease, validation.Validation._plotterDrawArgs, validation.Validation._refRelease, validation.Validation._refRepository, validation._stripRelease(), join(), and python.multivaluedict.map().
|
private |
Do the real plotting work for FastSim vs. FullSim for a given algorithm, quality flag, and sample.
Definition at line 592 of file validation.py.
References validation._getGlobalTag(), validation.Validation._newBaseDir, html.HtmlReport._newBaseDir, validation.Validation._newRelease, validation.Validation._plotterDrawArgs, validation._stripRelease(), and python.multivaluedict.map().
|
private |
Do the real plotting work for Old vs. New pileup scenarios for a given algorithm, quality flag, and sample.
Definition at line 649 of file validation.py.
References validation.Validation._getDirectoryName(), validation._getGlobalTag(), validation.Validation._getSelectionName(), validation.Validation._newBaseDir, html.HtmlReport._newBaseDir, validation.Validation._newRelease, validation.Validation._plotterDrawArgs, validation._stripRelease(), and python.multivaluedict.map().
|
private |
Definition at line 376 of file validation.py.
Referenced by validation.Validation._doPlotsPileup().
|
private |
Definition at line 379 of file validation.py.
References validation.Validation._selectionName.
Referenced by validation.Validation._doPlotsPileup().
def validation.Validation.createHtmlReport | ( | self | ) |
Definition at line 430 of file validation.py.
References validation.Validation._newBaseDir, html.HtmlReport._newBaseDir, and validation.Validation._newRelease.
def validation.Validation.doPlots | ( | self, | |
plotter, | |||
plotterDrawArgs = {} , |
|||
limitSubFoldersOnlyTo = None , |
|||
htmlReport = html.HtmlReportDummy() , |
|||
doFastVsFull = True |
|||
) |
Create validation plots. Arguments: plotter -- plotting.Plotter object that does the plotting Keyword arguments: plotterDrawArgs -- Dictionary for additional arguments to Plotter.draw() (default: {}) limitSubFoldersOnlyTo -- If not None, should be a dictionary from string to an object. The string is the name of a PlotFolder, and the object is PlotFolder-type specific to limit the subfolders to be processed. In general case the object is a list of strings, but e.g. for track iteration plots it is a function taking the algo and quality as parameters. htmlReport -- Object returned by createHtmlReport(), in case HTML report generation is desired doFastVsFull -- Do FastSim vs. FullSim comparison? (default: True)
Definition at line 434 of file validation.py.
def validation.Validation.download | ( | self | ) |
Download DQM files. Requires grid certificate and asks your password for it.
Definition at line 382 of file validation.py.
References validation.Validation._fastsimSamples, validation.Validation._fullsimSamples, validation._getRelValUrl(), validation.Validation._newFileModifier, validation.Validation._newRelease, alcazmumu_cfi.filter, join(), and python.multivaluedict.map().
|
private |
Definition at line 368 of file validation.py.
Referenced by validation.Validation.download().
|
private |
Definition at line 367 of file validation.py.
Referenced by validation.Validation.download().
|
private |
Definition at line 372 of file validation.py.
Referenced by validation.Validation._doPlots(), validation.Validation._doPlotsFastFull(), validation.Validation._doPlotsPileup(), and validation.Validation.createHtmlReport().
|
private |
Definition at line 373 of file validation.py.
Referenced by validation.Validation.download().
|
private |
Definition at line 361 of file validation.py.
Referenced by validation.Validation._doPlots(), validation.Validation._doPlotsFastFull(), validation.Validation._doPlotsPileup(), validation.Validation.createHtmlReport(), and validation.Validation.download().
|
private |
Definition at line 446 of file validation.py.
|
private |
Definition at line 447 of file validation.py.
Referenced by validation.Validation._doPlots(), validation.SimpleValidation._doPlots(), validation.Validation._doPlotsFastFull(), and validation.Validation._doPlotsPileup().
|
private |
Definition at line 369 of file validation.py.
Referenced by validation.Validation._doPlots().
|
private |
Definition at line 370 of file validation.py.
Referenced by validation.Validation._doPlots().
|
private |
Definition at line 374 of file validation.py.
Referenced by validation.Validation._getSelectionName().