20 return "_".
join(object)
23 """ return top level objects from file, e.g. the event. 30 objects +=
list(content)
34 for object
in content2:
39 """ Make list of all properties """ 41 properties += [(
"Category",
"Object info",
"")]
42 properties += [(
"String",
"Label", object)]
48 configName=os.path.splitext(os.path.basename(accessor.configFile()))[0]
49 name =
"Input: " + configName
50 inputContent=accessor.inputEventContent()
51 self.
_eventContents += [(name, inputContent[0],
True, inputContent[1])]
55 output_content=self.
applyCommands(output_content,accessor.inputCommands())
56 self.
addContents(output_content,accessor.outputEventContent())
57 output_content=self.
applyCommands(output_content,accessor.outputCommands())
58 name =
"Output: " + configName
63 accessor.open(filename)
64 branches=[branch[0].
split(
"_")
for branch
in accessor.filteredBranches()]
65 name = os.path.splitext(os.path.basename(filename))[0]
70 for branch
in branches:
75 content += [(type,label,product,process)]
81 result=result
and (entry1[i]==entry2[i]
or entry1[i]==
"*" or entry2[i]==
"*")
85 return True in [self.
compareEntry(entry,c)
for c
in content]
89 if len(outputCommands)>0
and outputCommands[0]!=
"keep *":
90 for object
in content:
93 for object
in content:
95 for o
in outputCommands:
96 command, filter = o.split(
" ")
97 if len(filter.split(
"_")) > 1:
98 module = filter.split(
"_")[1]
99 product = filter.split(
"_")[2]
100 process = filter.split(
"_")[3]
105 for object
in content:
107 match = module.strip(
"*")
in object[1]
109 match = module == object[1]
111 match = match
and product.strip(
"*")
in object[2]
113 match = match
and product == object[2]
115 match = match
and process.strip(
"*")
in object[3]
117 match = match
and process == object[3]
119 keep[object] = command ==
"keep" 120 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