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