6 ROOT.gSystem.Load(
"libFWCoreFWLite.so");
7 ROOT.gSystem.Load(
"libDataFormatsFWLite.so");
8 ROOT.FWLiteEnabler.enable()
39 if isinstance(things_to_mask, str)
or isinstance(things_to_mask, int):
41 elif not isinstance(things_to_mask, list):
42 raise Exception(
'InvalidType',
'getCutFlowResultMasking only accepts (lists of) strings or ints!')
44 if isinstance(things_to_mask, list):
46 if len(things_to_mask) <= 0:
48 if isinstance(things_to_mask[0], str):
49 vect = ROOT.std.vector(
'std::string')()
50 elif isinstance(things_to_mask[0], int):
51 vect = ROOT.std.vector(
'unsigned int')()
53 raise Exception(
'InvalidType',
'getCutFlowResultMasking only accepts (lists of) strings or ints!')
55 for item
in things_to_mask:
def __init__(self, instance)
def getNameAtIndex(self, idx)
def getCutResultByIndex(self, idx)
def getCutFlowResultMasking(self, things_to_mask)
def getCutResultByName(self, name)
def getValueCutUpon(self, idx_or_name)
def isCutMasked(self, idx_or_name)