Functions | |
def | applyStyle |
def | draw |
def | drawMany |
def | drawSingle |
def | saveHistograms |
Variables | |
list | _defaultStyles = [(lambda c, m: (lambda h: applyStyle(h, c, m)))(color, ms) for color, ms in itertools.izip(plotting._plotStylesColor, plotting._plotStylesMarker)] |
float | _ratioFactor = 1.25 |
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(), and ComparisonHelper.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(), bitset_utilities.append(), drawSingle(), 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.
list ntuplePlotting._defaultStyles = [(lambda c, m: (lambda h: applyStyle(h, c, m)))(color, ms) for color, ms in itertools.izip(plotting._plotStylesColor, plotting._plotStylesMarker)] |
Definition at line 20 of file ntuplePlotting.py.
float ntuplePlotting._ratioFactor = 1.25 |
Definition at line 22 of file ntuplePlotting.py.