Definition at line 10 of file VIDCutFlowResult.py.
def VIDCutFlowResult.VIDCutFlowResult.__init__ |
( |
|
self, |
|
|
|
instance |
|
) |
| |
def VIDCutFlowResult.VIDCutFlowResult.cutFlowName |
( |
|
self | ) |
|
def VIDCutFlowResult.VIDCutFlowResult.cutFlowPassed |
( |
|
self | ) |
|
def VIDCutFlowResult.VIDCutFlowResult.cutFlowSize |
( |
|
self | ) |
|
def VIDCutFlowResult.VIDCutFlowResult.getCutFlowResultMasking |
( |
|
self, |
|
|
|
things_to_mask |
|
) |
| |
Definition at line 38 of file VIDCutFlowResult.py.
39 if isinstance(things_to_mask, str)
or isinstance(things_to_mask, int):
40 return VIDCutFlowResult(self.__instance.getCutFlowResultMasking(things_to_mask))
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:
65
def getCutFlowResultMasking(self, things_to_mask)
def VIDCutFlowResult.VIDCutFlowResult.getCutResultByIndex |
( |
|
self, |
|
|
|
idx |
|
) |
| |
Definition at line 26 of file VIDCutFlowResult.py.
27 return self.__instance.getCutResultByIndex(idx)
def getCutResultByIndex(self, idx)
def VIDCutFlowResult.VIDCutFlowResult.getCutResultByName |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 29 of file VIDCutFlowResult.py.
30 return self.__instance.getCutResultByName(name)
def getCutResultByName(self, name)
def VIDCutFlowResult.VIDCutFlowResult.getNameAtIndex |
( |
|
self, |
|
|
|
idx |
|
) |
| |
Definition at line 23 of file VIDCutFlowResult.py.
24 return self.__instance.getNameAtIndex(idx)
def getNameAtIndex(self, idx)
def VIDCutFlowResult.VIDCutFlowResult.getValueCutUpon |
( |
|
self, |
|
|
|
idx_or_name |
|
) |
| |
Definition at line 35 of file VIDCutFlowResult.py.
36 return self.__instance.getValueCutUpon(idx_or_name)
def getValueCutUpon(self, idx_or_name)
def VIDCutFlowResult.VIDCutFlowResult.isCutMasked |
( |
|
self, |
|
|
|
idx_or_name |
|
) |
| |
Definition at line 32 of file VIDCutFlowResult.py.
33 return self.__instance.isCutMasked(idx_or_name)
def isCutMasked(self, idx_or_name)
VIDCutFlowResult.VIDCutFlowResult.__instance |
|
private |