def METHOD_NAME(self, lhablock):
    import cmath
    from .parameters import all_parameters
    from .particles import all_particles
    for parameter in all_parameters:
        exec("%s = %s" % (parameter.name, parameter.value))
    text = "##  Not dependent paramater.\n"
    text += "## Those values should be edited following analytical the \n"
    text += "## analytical expression. Some generator could simply ignore \n"
    text += "## those values and use the analytical expression\n"
    if lhablock == 'MASS':
        data = self.dep_mass
        prefix = " "
    else:
        data = self.dep_width
        prefix = "DECAY "
    for part, param in data:
        if isinstance(param.value, str):
            value = complex(eval(param.value)).real
        else:
            value = param.value
        text += """%s %s %f # %s : %s \n""" %(prefix, part.pdg_code, 
                    value, part.name, param.value)
    # If more than a particles has the same mass/width we need to write it here
    # as well
    if lhablock == 'MASS':
        arg = 'mass'
        done = [part for (part, param) in self.dep_mass]
    else:
        arg = 'width'
        done = [part for (part, param) in self.dep_width]
    for particle in all_particles:
        if particle.pdg_code <0:
            continue
        is_define = True
        if particle not in done:
            if getattr(particle, arg).lhacode[0] != particle.pdg_code:
                is_define = False                
        if  not is_define:
            value = float(particle.get(arg).value )
            name =  particle.get(arg).name 
            text += """%s %s %f # %s : %s \n""" %(prefix, particle.pdg_code, 
                    value, particle.name, name)
    self.fsock.write(text)    