|
|
__init__(self,
title='NoName',
n_dimensions=2,
type=None,
x_axis_mode='LIN',
y_axis_mode='LOG',
bins=None)
Initializes an empty histogram, possibly specifying > a title >
a number of dimensions > a bin content |
source code
|
|
|
|
|
|
|
nice_string(self,
short=True)
Nice representation of this histogram. |
source code
|
|
|
|
alter_weights(self,
func)
Apply a given function to all bin weights. |
source code
|
|
|
|
__add__(self,
other)
Overload the plus function. |
source code
|
|
|
|
__sub__(self,
other)
Overload the subtraction function. |
source code
|
|
|
|
__mul__(self,
other)
Overload the multiplication function. |
source code
|
|
|
|
__div__(self,
other)
Overload the multiplication function. |
source code
|
|
|
|
__truediv__(self,
other)
Overload the multiplication function. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
MULTIPLY(wgtsA,
wgtsB)
Apply the multiplication to the weights of two bins. |
source code
|
|
|
|
DIVIDE(wgtsA,
wgtsB)
Apply the division to the weights of two bins. |
source code
|
|
|
|
OPERATION(wgtsA,
wgtsB,
wgt_operation,
stat_error_operation)
Apply the operation to the weights of two bins. |
source code
|
|
|
|
|
|
|
ADD(wgtsA,
wgtsB)
Implements the addition using OPERATION above. |
source code
|
|
|
|
SUBTRACT(wgtsA,
wgtsB)
Implements the subtraction using OPERATION above. |
source code
|
|
|
|
RESCALE(factor)
Implements the rescaling using SINGLEHISTO_OPERATION above. |
source code
|
|
|
|
OFFSET(offset)
Implements the offset using SINGLEBIN_OPERATION above. |
source code
|
|