5 for key, value
in values.iteritems():
6 setattr(self, key, value)
8 raise Exception(
"Value %s is already used for a key %s, tried to re-add it for key %s" % (value, self.
_reverse[value], key))
26 undefAlgorithm = 0, ctf = 1,
27 duplicateMerge = 2, cosmics = 3,
31 detachedTripletStep = 7,
35 jetCoreRegionalStep = 11,
37 muonSeededStepInOut = 13,
38 muonSeededStepOutIn = 14,
39 outInEcalSeededConv = 15, inOutEcalSeededConv = 16,
41 standAloneMuon = 18, globalMuon = 19, cosmicStandAloneMuon = 20, cosmicGlobalMuon = 21,
43 highPtTripletStep = 22, lowPtQuadStep = 23, detachedQuadStep = 24,
44 reservedForUpgrades1 = 25, reservedForUpgrades2 = 26,
59 hiRegitMuInitialStep = 37,
60 hiRegitMuLowPtTripletStep = 38,
61 hiRegitMuPixelPairStep = 39,
62 hiRegitMuDetachedTripletStep = 40,
63 hiRegitMuMixedTripletStep = 41,
64 hiRegitMuPixelLessStep = 42,
65 hiRegitMuTobTecStep = 43,
66 hiRegitMuMuonSeededStepInOut = 44,
67 hiRegitMuMuonSeededStepOutIn = 45,
77 MAX_CONSECUTIVE_LOST_HITS = 3,
78 LOST_HIT_FRACTION = 4,
80 CHARGE_SIGNIFICANCE = 6,
82 MAX_CCC_LOST_HITS = 8,
83 NO_SEGMENTS_FOR_VALID_LAYERS = 9,
def __init__(self, values)