5 for key, value
in values.items():
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 displacedGeneralStep = 25,
45 displacedRegionalStep = 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)