Calls FWLite's getByLabel. Called:
getByLabel (moduleLabel, handle)
getByLabel (moduleLabel, productInstanceLabel, handle),
getByLabel (moduleLabel, productInstanceLabel, processLabel, handle),
or
getByLabel ( (mL, pIL,pL), handle)
Definition at line 204 of file __init__.py.
References join(), and list().
206 """Calls FWLite's getByLabel. Called:
207 getByLabel (moduleLabel, handle)
208 getByLabel (moduleLabel, productInstanceLabel, handle),
209 getByLabel (moduleLabel, productInstanceLabel, processLabel, handle),
211 getByLabel ( (mL, pIL,pL), handle)
214 if length < 2
or length > 4:
216 raise RuntimeError,
"Incorrect number of arguments"
218 argsList = list (args)
219 handle = argsList.pop()
220 if len(argsList)==1
and \
221 ( isinstance (argsList[0], tuple)
or
222 isinstance (argsList[0], list) ) :
223 if len (argsList) > 3:
224 raise RuntimeError,
"getByLabel Error: label tuple has too " \
225 "many arguments '%s'" % argsList[0]
226 argsList =
list(argsList[0])
227 while len(argsList) < 3:
229 (moduleLabel, productInstanceLabel, processLabel) = argsList
230 labelString =
"'" +
"', '".
join(argsList) +
"'"
231 handle._setStatus ( self._lumi.getByLabel( handle._typeInfoGetter(),
233 productInstanceLabel,
235 handle._addressOf() ),
237 return handle.isValid()
static std::string join(char **cmd)
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