1 from builtins
import range
21 return "_".
join(object)
24 """ return top level objects from file, e.g. the event. 31 objects +=
list(content)
35 for object
in content2:
40 """ Make list of all properties """ 42 properties += [(
"Category",
"Object info",
"")]
43 properties += [(
"String",
"Label", object)]
49 configName=os.path.splitext(os.path.basename(accessor.configFile()))[0]
50 name =
"Input: " + configName
51 inputContent=accessor.inputEventContent()
52 self.
_eventContents += [(name, inputContent[0],
True, inputContent[1])]
56 output_content=self.
applyCommands(output_content,accessor.inputCommands())
57 self.
addContents(output_content,accessor.outputEventContent())
58 output_content=self.
applyCommands(output_content,accessor.outputCommands())
59 name =
"Output: " + configName
64 accessor.open(filename)
65 branches=[branch[0].
split(
"_")
for branch
in accessor.filteredBranches()]
66 name = os.path.splitext(os.path.basename(filename))[0]
71 for branch
in branches:
76 content += [(type,label,product,process)]
82 result=result
and (entry1[i]==entry2[i]
or entry1[i]==
"*" or entry2[i]==
"*")
86 return True in [self.
compareEntry(entry,c)
for c
in content]
90 if len(outputCommands)>0
and outputCommands[0]!=
"keep *":
91 for object
in content:
94 for object
in content:
96 for o
in outputCommands:
97 command, filter = o.split(
" ")
98 if len(filter.split(
"_")) > 1:
99 module = filter.split(
"_")[1]
100 product = filter.split(
"_")[2]
101 process = filter.split(
"_")[3]
106 for object
in content:
108 match = module.strip(
"*")
in object[1]
110 match = module == object[1]
112 match = match
and product.strip(
"*")
in object[2]
114 match = match
and product == object[2]
116 match = match
and process.strip(
"*")
in object[3]
118 match = match
and process == object[3]
120 keep[object] = command ==
"keep" 121 return [object
for object
in content
if keep[object]]
def children(self, object)
def eventContentsList(self)
def addContentFile(self, filename)
def addConfig(self, accessor)
def compareEntry(self, entry1, entry2)
def applyCommands(self, content, outputCommands)
def inContent(self, entry, content)
def addBranches(self, name, branches)
def addContents(self, content, content2)
def properties(self, object)
def topLevelObjects(self)
static std::string join(char **cmd)
def isContainer(self, object)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run