ATLAS Offline Software
Classes | Functions
python.UnbinnedHist Namespace Reference

Classes

class  UnbinnedHist
 

Functions

def unbinned_hist (tree, expression, selection='', options='', hist=None, create_hist=False, **kwargs)
 
def group_eqbin (hist_list, bins=100, range=None, inplace=True)
 

Function Documentation

◆ group_eqbin()

def python.UnbinnedHist.group_eqbin (   hist_list,
  bins = 100,
  range = None,
  inplace = True 
)

Definition at line 39 of file UnbinnedHist.py.

39 def group_eqbin(hist_list, bins=100, range=None, inplace=True):
40  if not range:
41  lowerbound = min(hist.lowerbound() for hist in hist_list)
42  upperbound = max(hist.upperbound() for hist in hist_list)
43  range = (lowerbound, upperbound)
44  hist_list = [hist.refill(bins, range, inplace) for hist in hist_list]
45  if not inplace:
46  return hist_list
47 

◆ unbinned_hist()

def python.UnbinnedHist.unbinned_hist (   tree,
  expression,
  selection = '',
  options = '',
  hist = None,
  create_hist = False,
**  kwargs 
)

Definition at line 35 of file UnbinnedHist.py.

35 def unbinned_hist(tree, expression, selection='', options='', hist=None, create_hist=False, **kwargs):
36  obj = UnbinnedHist(tree, expression, selection, options, hist, create_hist, **kwargs)
37  obj.__class__ = UnbinnedHist
38  return obj
python.UnbinnedHist.unbinned_hist
def unbinned_hist(tree, expression, selection='', options='', hist=None, create_hist=False, **kwargs)
Definition: UnbinnedHist.py:35
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
min
constexpr double min()
Definition: ap_fixedTest.cxx:26
python.UnbinnedHist.group_eqbin
def group_eqbin(hist_list, bins=100, range=None, inplace=True)
Definition: UnbinnedHist.py:39