try:
    mc = [
        skey for skey in samples
        if skey != 'DATA' and not skey.startswith('Fake')
    ]
except NameError:
    mc = []
    cuts = {}
    nuisances = {}

    def makeMCDirectory(x=''):
        return ''


from LatinoAnalysis.Tools.HiggsXSection import HiggsXSection
HiggsXS = HiggsXSection()

################################ EXPERIMENTAL UNCERTAINTIES  #################################

#### Luminosity

nuisances['lumi_Uncorrelated'] = {
    'name': 'lumi_13TeV_2018',
    'type': 'lnN',
    'samples': dict((skey, '1.015') for skey in mc)
}

nuisances['lumi_XYFact'] = {
    'name': 'lumi_13TeV_XYFact',
    'type': 'lnN',
    'samples': dict((skey, '1.02') for skey in mc)