21 from array
import array
26 """Context handler class to quiet errors in a 'with' statement"""
29 """Class constructor"""
34 """Enter the context"""
37 ROOT.gErrorIgnoreLevel = self.
levellevel
40 """Exit the context"""
41 ROOT.gErrorIgnoreLevel = self.
oldleveloldlevel
45 r_subsample = array(
'd', [
54 r_size = len(r_subsample)
55 rbins = np.array(r_subsample)
60 'IntermediateElectron',
64 'IntermediateKinLepton',
oldlevel
the previously set level to be ignored
def __exit__(self, type, value, traceback)
def __init__(self, level=ROOT.kInfo+1)