def lorentz_type(self): ret = [ s_particle(part).spin_times_two() for part in self._ufo_vertex.particles ] ret.sort() ret = "".join([spin_dict[val] for val in ret]) return ret if not ret in translate.keys() else translate[ret]
def particles(self): return [s_particle(part) for part in self._ufo_vertex.particles]
def lorentz_type(self): ret = [s_particle(part).spin_times_two() for part in self._ufo_vertex.particles] ret.sort() ret = "".join([ spin_dict[val] for val in ret ]) return ret if not ret in translate.keys() else translate[ret]