Functions | |
def | applyStyle (h, color, markerStyle) |
def | draw (name, histos, styles=_defaultStyles, legendLabels=[], **kwargs) |
def | drawMany (name, histoDicts, styles=_defaultStyles, opts={}, ncolumns=4) |
def | drawSingle (pad, histos, styles=_defaultStyles, nrows=1, xtitle=None, ytitle=None, drawOpt="HIST", legendDx=0, legendDy=0, legendDw=0, legendDh=0, xmin=None, ymin=0, xmax=None, ymax=None, xlog=False, ylog=False, xgrid=True, ygrid=True, ratio=False, ratioYmin=0.5, ratioYmax=1.5, ratioYTitle=plotting._ratioYTitle, ratioFactor=1.25) |
def | saveHistograms (tdirectory, histos) |
Variables | |
_defaultStyles | |
_ratioFactor | |
def ntuplePlotting.applyStyle | ( | h, | |
color, | |||
markerStyle | |||
) |
Definition at line 13 of file ntuplePlotting.py.
def ntuplePlotting.draw | ( | name, | |
histos, | |||
styles = _defaultStyles , |
|||
legendLabels = [] , |
|||
** | kwargs | ||
) |
Definition at line 25 of file ntuplePlotting.py.
References plotting._createCanvas(), plotting._modifyPadForRatio(), drawSingle(), createfilelist.int, and ComparisonHelper.zip().
Referenced by SiPixelRecHitQuality::Packing.setProbabilityQ(), SiPixelRecHitQuality::Packing.setProbabilityXY(), and examples::TrackAnalysisAlgorithm.terminate().
def ntuplePlotting.drawMany | ( | name, | |
histoDicts, | |||
styles = _defaultStyles , |
|||
opts = {} , |
|||
ncolumns = 4 |
|||
) |
Definition at line 126 of file ntuplePlotting.py.
References plotting._createCanvas(), plotting._modifyPadForRatio(), mps_setup.append, drawSingle(), createfilelist.int, relativeConstraints.keys, and SiStripPI.max.
def ntuplePlotting.drawSingle | ( | pad, | |
histos, | |||
styles = _defaultStyles , |
|||
nrows = 1 , |
|||
xtitle = None , |
|||
ytitle = None , |
|||
drawOpt = "HIST" , |
|||
legendDx = 0 , |
|||
legendDy = 0 , |
|||
legendDw = 0 , |
|||
legendDh = 0 , |
|||
xmin = None , |
|||
ymin = 0 , |
|||
xmax = None , |
|||
ymax = None , |
|||
xlog = False , |
|||
ylog = False , |
|||
xgrid = True , |
|||
ygrid = True , |
|||
ratio = False , |
|||
ratioYmin = 0.5 , |
|||
ratioYmax = 1.5 , |
|||
ratioYTitle = plotting._ratioYTitle , |
|||
ratioFactor = 1.25 |
|||
) |
Definition at line 81 of file ntuplePlotting.py.
References plotting._calculateRatios(), and plotting._findBounds().
Referenced by draw(), and drawMany().
def ntuplePlotting.saveHistograms | ( | tdirectory, | |
histos | |||
) |
Definition at line 9 of file ntuplePlotting.py.
|
private |
Definition at line 21 of file ntuplePlotting.py.
|
private |
Definition at line 23 of file ntuplePlotting.py.