Пример #1
0
def flows(h):
    bins = h.GetNbinsX()
    lib.combineBinContentAndError(h,binToContainCombo=1,binToBeKilled=0)
    lib.combineBinContentAndError(h,binToContainCombo=bins,binToBeKilled=bins+1)
Пример #2
0
def flows(h):
    nbins = h.GetNbinsX()
    lib.combineBinContentAndError(h,1,0)
    lib.combineBinContentAndError(h,nbins,nbins+1)