10 return repr(self.
value)
13 def __init__(self, inputGT = "", inputConnect = "", inputPfnPrefix = "", inputPfnPostfix = "", inputGTParams = []):
14 if inputGTParams == []:
16 localConnect = inputConnect
17 if localConnect ==
"":
19 localConnect = Configuration.StandardSequences.FrontierConditions_GlobalTag_cff.GlobalTag.connect.value()
23 if localGT
in aliases:
24 localGT = aliases[localGT]
25 if localGT.find(
"|") != -1
and localConnect.find(
"|") == -1:
27 connect = localConnect
28 for i
in range(1,len(localGT.split(
"|"))):
29 localConnect +=
"|"+connect
30 self.gtParams.append([localGT, localConnect, inputPfnPrefix, inputPfnPostfix])
36 raise GlobalTagBuilderException(
"Error: trying to add the same GT component type \""+other.gtParams[0][0].
split(
"_")[0]+
"\" twice. This is not supported.")
37 if len(other.gtParams) > 1:
40 tempGTParams.append(other.gtParams[0])
41 return GlobalTag(inputGTParams = tempGTParams)
46 tempGTParams[index] = other.gtParams[0]
47 return GlobalTag(inputGTParams = tempGTParams)
49 exceptionString =
"Error: replacement of GT "+other.gtParams[0][0]+
" not allowed. No matching prefix found in existing GT components. Available components are:\n"
51 exceptionString += comp[0] +
"\n"
54 """ Compares two input GTs to see if they have the same prefix. Returns the index in the internal list of GTs of the match
55 or -1 in case of no match. """
56 if inputGTParams[0][0].
find(
"_") == -1:
57 print "Invalid GT name. It does not contain an _, it cannot be used for replacements."
59 prefix = inputGTParams[0][0].
split(
"_")[0]
60 for i
in range(0, len(self.
gtParams)):
69 outputString += elem[index]
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
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