20 from array
import array
25 """Context handler class to quiet errors in a 'with' statement"""
28 """Class constructor"""
33 """Enter the context"""
36 ROOT.gErrorIgnoreLevel = self.
levellevel
39 """Exit the context"""
40 ROOT.gErrorIgnoreLevel = self.
oldleveloldlevel
44 r_subsample = array(
'd', [
53 r_size = len(r_subsample)
54 rbins = np.array(r_subsample)
59 'IntermediateElectron',
63 'IntermediateKinLepton',
oldlevel
the previously set level to be ignored
def __exit__(self, type, value, traceback)
def __init__(self, level=ROOT.kInfo+1)