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 12 of file ntuplePlotting.py.
def ntuplePlotting.draw | ( | name, | |
histos, | |||
styles = _defaultStyles , |
|||
legendLabels = [] , |
|||
kwargs | |||
) |
Definition at line 24 of file ntuplePlotting.py.
References plotting._createCanvas(), plotting._modifyPadForRatio(), drawSingle(), createfilelist.int, and reco.zip().
Referenced by SiPixelRecHitQuality::Packing.setProbabilityQ(), and SiPixelRecHitQuality::Packing.setProbabilityXY().
def ntuplePlotting.drawMany | ( | name, | |
histoDicts, | |||
styles = _defaultStyles , |
|||
opts = {} , |
|||
ncolumns = 4 |
|||
) |
Definition at line 125 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 87 of file ntuplePlotting.py.
References plotting._calculateRatios(), and plotting._findBounds().
Referenced by draw(), and drawMany().
def ntuplePlotting.saveHistograms | ( | tdirectory, | |
histos | |||
) |
Definition at line 8 of file ntuplePlotting.py.
|
private |
Definition at line 20 of file ntuplePlotting.py.
|
private |
Definition at line 22 of file ntuplePlotting.py.