@classmethod
def _get_raw_integration_smearing_method(cls, calc, **kwargs):
    """Return the smearing method name as string, as specified in the input parameters (if specified).

        If not 'smearing' is not
        specified, but 'occupations' == 'smearing', string with default
        value 'gaussian' is returned, as specified in
        http://www.quantum-espresso.org/wp-content/uploads/Doc/INPUT_PW.html
        """
    parameters = calc.inputs.parameters
    smearing = None
    try:
        smearing = parameters.get_dict()['SYSTEM']['smearing']
    except KeyError:
        pass
    if smearing is None:
        try:
            if parameters.get_dict()['SYSTEM']['occupations'] == 'smearing':
                smearing = 'gaussian'
        except KeyError:
            pass
    return smearing
