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 210 of file __init__.py.
References join(), and list().
212 """Calls FWLite's getByLabel. Called:
213 getByLabel (moduleLabel, handle)
214 getByLabel (moduleLabel, productInstanceLabel, handle),
215 getByLabel (moduleLabel, productInstanceLabel, processLabel, handle),
217 getByLabel ( (mL, pIL,pL), handle)
220 if length < 2
or length > 4:
222 raise RuntimeError,
"Incorrect number of arguments"
224 argsList = list (args)
225 handle = argsList.pop()
226 if len(argsList)==1
and \
227 ( isinstance (argsList[0], tuple)
or
228 isinstance (argsList[0], list) ) :
229 if len (argsList) > 3:
230 raise RuntimeError,
"getByLabel Error: label tuple has too " \
231 "many arguments '%s'" % argsList[0]
232 argsList =
list(argsList[0])
233 while len(argsList) < 3:
235 (moduleLabel, productInstanceLabel, processLabel) = argsList
236 labelString =
"'" +
"', '".
join(argsList) +
"'"
237 if not handle._wrapper :
238 handle._resetWrapper()
239 handle._setStatus ( self._lumi.getByLabel( handle._typeInfoGetter(),
241 productInstanceLabel,
243 handle._addressOf() ),
245 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