Public Member Functions | |
def | __init__ |
def | enter |
def | leave |
def | setLabel |
Public Attributes | |
filtersOnEndpaths | |
Private Attributes | |
__label | |
Static Private Attributes | |
list | _presetFilters = ["TriggerResultsFilter", "HLTPrescaler"] |
Definition at line 20 of file SequenceVisitors.py.
def SequenceVisitors::EndPathValidator::__init__ | ( | self | ) |
Definition at line 22 of file SequenceVisitors.py.
00022 : 00023 self.filtersOnEndpaths = [] 00024 self.__label = ''
def SequenceVisitors::EndPathValidator::enter | ( | self, | |
visitee | |||
) |
Definition at line 27 of file SequenceVisitors.py.
00028 : 00029 if isinstance(visitee,EDFilter): 00030 if (visitee.type_() in self._presetFilters): 00031 if (visitee.type_() not in self.filtersOnEndpaths): 00032 self.filtersOnEndpaths.append(visitee.type_()) 00033 if hasattr(visitee, "label_") and not isinstance(visitee,Sequence): 00034 if not visitee.hasLabel_(): raise ValueError("EndPath "+self.__label+"contains a module of type '"+visitee.type_()+"' which has no assigned label.\n Most likely the module was never added to the process or it got replaced before being inserted into the process.")
def SequenceVisitors::EndPathValidator::leave | ( | self, | |
visitee | |||
) |
Definition at line 35 of file SequenceVisitors.py.
def SequenceVisitors::EndPathValidator::setLabel | ( | self, | |
label | |||
) |
Definition at line 25 of file SequenceVisitors.py.
Definition at line 22 of file SequenceVisitors.py.
list SequenceVisitors::EndPathValidator::_presetFilters = ["TriggerResultsFilter", "HLTPrescaler"] [static, private] |
Definition at line 21 of file SequenceVisitors.py.
Definition at line 22 of file SequenceVisitors.py.