xsdict = {
    ## https://twiki.cern.ch/twiki/bin/view/LHCPhysics/TtbarNNLO#Top_quark_pair_cross_sections_at
    "TTJets_Inclusive":          831.76,
    #"TTJets_SingleLeptFromT":    159.8,
    #"TTJets_SingleLeptFromTbar": 158.9,
    #"TTJets_DiLept":             76.92,

    ## https://cms-gen-dev.cern.ch/xsdb
    "WJetsToLNu_Pt-0To50":         57297.39264,
    "WJetsToLNu_Pt-50To100":       3298.373338,
    "WJetsToLNu_Pt-100To250":      689.749632,
    "WJetsToLNu_Pt-100To250_ext1": 689.749632,
    "WJetsToLNu_Pt-100To250_ext2": 689.749632,
    "WJetsToLNu_Pt-250To400":      24.5069015,
    "WJetsToLNu_Pt-250To400_ext1": 24.5069015,
    "WJetsToLNu_Pt-250To400_ext2": 24.5069015,
    "WJetsToLNu_Pt-400To600":      3.110130566,
    "WJetsToLNu_Pt-400To600_ext1": 3.110130566,
    "WJetsToLNu_Pt-600ToInf":      0.4683178368,
    "WJetsToLNu_Pt-600ToInf_ext1": 0.4683178368,

    "WJetsToENu_Pt-0To50":         57297.39264,
    "WJetsToENu_Pt-50To100":       3298.373338,
    "WJetsToENu_Pt-100To250":      689.749632,
    "WJetsToENu_Pt-100To250_ext1": 689.749632,
    "WJetsToENu_Pt-100To250_ext2": 689.749632,
    "WJetsToENu_Pt-250To400":      24.5069015,
    "WJetsToENu_Pt-250To400_ext1": 24.5069015,
    "WJetsToENu_Pt-250To400_ext2": 24.5069015,
    "WJetsToENu_Pt-400To600":      3.110130566,
    "WJetsToENu_Pt-400To600_ext1": 3.110130566,
    "WJetsToENu_Pt-600ToInf":      0.4683178368,
    "WJetsToENu_Pt-600ToInf_ext1": 0.4683178368,

    "WJetsToMuNu_Pt-0To50":         57297.39264,
    "WJetsToMuNu_Pt-50To100":       3298.373338,
    "WJetsToMuNu_Pt-100To250":      689.749632,
    "WJetsToMuNu_Pt-100To250_ext1": 689.749632,
    "WJetsToMuNu_Pt-100To250_ext2": 689.749632,
    "WJetsToMuNu_Pt-250To400":      24.5069015,
    "WJetsToMuNu_Pt-250To400_ext1": 24.5069015,
    "WJetsToMuNu_Pt-250To400_ext2": 24.5069015,
    "WJetsToMuNu_Pt-400To600":      3.110130566,
    "WJetsToMuNu_Pt-400To600_ext1": 3.110130566,
    "WJetsToMuNu_Pt-600ToInf":      0.4683178368,
    "WJetsToMuNu_Pt-600ToInf_ext1": 0.4683178368,

    "WJetsToTauNu_Pt-0To50":         57297.39264,
    "WJetsToTauNu_Pt-50To100":       3298.373338,
    "WJetsToTauNu_Pt-100To250":      689.749632,
    "WJetsToTauNu_Pt-100To250_ext1": 689.749632,
    "WJetsToTauNu_Pt-100To250_ext2": 689.749632,
    "WJetsToTauNu_Pt-250To400":      24.5069015,
    "WJetsToTauNu_Pt-250To400_ext1": 24.5069015,
    "WJetsToTauNu_Pt-250To400_ext2": 24.5069015,
    "WJetsToTauNu_Pt-400To600":      3.110130566,
    "WJetsToTauNu_Pt-400To600_ext1": 3.110130566,
    "WJetsToTauNu_Pt-600ToInf":      0.4683178368,
    "WJetsToTauNu_Pt-600ToInf_ext1": 0.4683178368,

    ## Gen XS tool x3 (produced for a single generation)
    "ZJetsToNuNu_Pt-0To50":         1.036e+04,
    "ZJetsToNuNu_Pt-50To100":       7.116e+02,
    "ZJetsToNuNu_Pt-50To100_ext1":  7.116e+02,
    "ZJetsToNuNu_Pt-50To100_ext2":  7.116e+02,
    "ZJetsToNuNu_Pt-100To250":      1.646e+02,
    "ZJetsToNuNu_Pt-100To250_ext1": 1.646e+02,
    "ZJetsToNuNu_Pt-100To250_ext2": 1.646e+02,
    "ZJetsToNuNu_Pt-250To400":      6.219e+00,
    "ZJetsToNuNu_Pt-250To400_ext1": 6.219e+00,
    "ZJetsToNuNu_Pt-250To400_ext2": 6.219e+00,
    "ZJetsToNuNu_Pt-400To650":      8.349e-01,
    "ZJetsToNuNu_Pt-400To650_ext1": 8.349e-01,
    "ZJetsToNuNu_Pt-400To650_ext2": 8.349e-01,
    "ZJetsToNuNu_Pt-650ToInf":      7.809e-02,
    "ZJetsToNuNu_Pt-650ToInf_ext1": 7.809e-02,
    "ZJetsToNuNu_Pt-650ToInf_ext2": 7.809e-02,

    ## Gen XS tool
    "QCD_HT-50To100":         246400000,
    "QCD_HT-100To200":        28000000,
    "QCD_HT-200To300":        1712000,
    "QCD_HT-200To300_ext1":   1712000,
    "QCD_HT-300To500":        347600,
    "QCD_HT-300To500_ext1":   347600,
    "QCD_HT-500To700":        32100,
    "QCD_HT-500To700_ext1":   32100,
    "QCD_HT-700To1000":       6831,
    "QCD_HT-700To1000_ext1":  6831,
    "QCD_HT-1000To1500":      1208,
    "QCD_HT-1000To1500_ext1": 1208,
    "QCD_HT-1500To2000":      120.1,
    "QCD_HT-1500To2000_ext1": 120.1,
    "QCD_HT-2000ToInf":       25.26,
    "QCD_HT-2000ToInf_ext1":  25.26,

    # LO https://cms-gen-dev.cern.ch/xsdb/
    "QCD_Pt-15To30":          1820000000.0,
    "QCD_Pt-30To50":          138900000.0,
    "QCD_Pt-50To80":          19100000.0,
    "QCD_Pt-80To120":         2735000.0,
    "QCD_Pt-80To120_ext1":    2735000.0,
    "QCD_Pt-120To170":        467500.0,
    "QCD_Pt-120To170_ext1":   467500.0,
    "QCD_Pt-170To300":        117400.0,
    "QCD_Pt-170To300_ext1":   117400.0,
    "QCD_Pt-300To470":        7753.0,
    "QCD_Pt-300To470_ext1":   7753.0,
    "QCD_Pt-470To600":        642.1,
    "QCD_Pt-600To800":        185.9,
    "QCD_Pt-600To800_ext1":   185.9,
    "QCD_Pt-800To1000":       32.05,
    "QCD_Pt-800To1000_ext1":  32.05,
    "QCD_Pt-1000To1400":      9.365,
    "QCD_Pt-1000To1400_ext1": 9.365,
    "QCD_Pt-1400To1800":      0.8398,
    "QCD_Pt-1400To1800_ext1": 0.8398,
    "QCD_Pt-1800To2400":      0.1124,
    "QCD_Pt-1800To2400_ext1": 0.1124,
    "QCD_Pt-2400To3200":      0.006752,
    "QCD_Pt-2400To3200_ext1": 0.006752,
    "QCD_Pt-3200ToInf":       0.0001626,

    ## https://cms-gen-dev.cern.ch/xsdb
    "DYJetsToLL_Pt-0To50":         5352.57924,
    "DYJetsToLL_Pt-50To100":       363.81428,
    "DYJetsToLL_Pt-50To100_ext1":  363.81428,
    "DYJetsToLL_Pt-100To250":      84.014804,
    "DYJetsToLL_Pt-100To250_ext1": 84.014804,
    "DYJetsToLL_Pt-100To250_ext2": 84.014804,
    "DYJetsToLL_Pt-100To250_ext3": 84.014804,
    "DYJetsToLL_Pt-250To400":      3.228256512,
    "DYJetsToLL_Pt-250To400_ext1": 3.228256512,
    "DYJetsToLL_Pt-250To400_ext2": 3.228256512,
    "DYJetsToLL_Pt-250To400_ext3": 3.228256512,
    "DYJetsToLL_Pt-400To650":      0.436041144,
    "DYJetsToLL_Pt-400To650_ext1": 0.436041144,
    "DYJetsToLL_Pt-400To650_ext2": 0.436041144,
    "DYJetsToLL_Pt-650ToInf":      0.040981055,
    "DYJetsToLL_Pt-650ToInf_ext1": 0.040981055,
    "DYJetsToLL_Pt-650ToInf_ext2": 0.040981055,

    "DYJetsToEE_Pt-0To50":         5352.57924,
    "DYJetsToEE_Pt-50To100":       363.81428,
    "DYJetsToEE_Pt-50To100_ext1":  363.81428,
    "DYJetsToEE_Pt-100To250":      84.014804,
    "DYJetsToEE_Pt-100To250_ext1": 84.014804,
    "DYJetsToEE_Pt-100To250_ext2": 84.014804,
    "DYJetsToEE_Pt-100To250_ext3": 84.014804,
    "DYJetsToEE_Pt-250To400":      3.228256512,
    "DYJetsToEE_Pt-250To400_ext1": 3.228256512,
    "DYJetsToEE_Pt-250To400_ext2": 3.228256512,
    "DYJetsToEE_Pt-250To400_ext3": 3.228256512,
    "DYJetsToEE_Pt-400To650":      0.436041144,
    "DYJetsToEE_Pt-400To650_ext1": 0.436041144,
    "DYJetsToEE_Pt-400To650_ext2": 0.436041144,
    "DYJetsToEE_Pt-650ToInf":      0.040981055,
    "DYJetsToEE_Pt-650ToInf_ext1": 0.040981055,
    "DYJetsToEE_Pt-650ToInf_ext2": 0.040981055,

    "DYJetsToMuMu_Pt-0To50":         5352.57924,
    "DYJetsToMuMu_Pt-50To100":       363.81428,
    "DYJetsToMuMu_Pt-50To100_ext1":  363.81428,
    "DYJetsToMuMu_Pt-100To250":      84.014804,
    "DYJetsToMuMu_Pt-100To250_ext1": 84.014804,
    "DYJetsToMuMu_Pt-100To250_ext2": 84.014804,
    "DYJetsToMuMu_Pt-100To250_ext3": 84.014804,
    "DYJetsToMuMu_Pt-250To400":      3.228256512,
    "DYJetsToMuMu_Pt-250To400_ext1": 3.228256512,
    "DYJetsToMuMu_Pt-250To400_ext2": 3.228256512,
    "DYJetsToMuMu_Pt-250To400_ext3": 3.228256512,
    "DYJetsToMuMu_Pt-400To650":      0.436041144,
    "DYJetsToMuMu_Pt-400To650_ext1": 0.436041144,
    "DYJetsToMuMu_Pt-400To650_ext2": 0.436041144,
    "DYJetsToMuMu_Pt-650ToInf":      0.040981055,
    "DYJetsToMuMu_Pt-650ToInf_ext1": 0.040981055,
    "DYJetsToMuMu_Pt-650ToInf_ext2": 0.040981055,

    "DYJetsToTauTau_Pt-0To50":         5352.57924,
    "DYJetsToTauTau_Pt-50To100":       363.81428,
    "DYJetsToTauTau_Pt-50To100_ext1":  363.81428,
    "DYJetsToTauTau_Pt-100To250":      84.014804,
    "DYJetsToTauTau_Pt-100To250_ext1": 84.014804,
    "DYJetsToTauTau_Pt-100To250_ext2": 84.014804,
    "DYJetsToTauTau_Pt-100To250_ext3": 84.014804,
    "DYJetsToTauTau_Pt-250To400":      3.228256512,
    "DYJetsToTauTau_Pt-250To400_ext1": 3.228256512,
    "DYJetsToTauTau_Pt-250To400_ext2": 3.228256512,
    "DYJetsToTauTau_Pt-250To400_ext3": 3.228256512,
    "DYJetsToTauTau_Pt-400To650":      0.436041144,
    "DYJetsToTauTau_Pt-400To650_ext1": 0.436041144,
    "DYJetsToTauTau_Pt-400To650_ext2": 0.436041144,
    "DYJetsToTauTau_Pt-650ToInf":      0.040981055,
    "DYJetsToTauTau_Pt-650ToInf_ext1": 0.040981055,
    "DYJetsToTauTau_Pt-650ToInf_ext2": 0.040981055,

    ## BR from https://twiki.cern.ch/twiki/bin/view/LHCPhysics/CERNYellowReportPageBR
    ## XS from https://twiki.cern.ch/twiki/bin/view/LHCPhysics/CERNYellowReportPageAt13TeV#ttH_Process
    "TTHToNonBB": 2.953e-01,
    "TTHToBB":    2.118e-01,

    ## Gen XS tool
    "TTWJetsToLNu":      0.2006,
    "TTWJetsToLNu_ext1": 0.2006,
    "TTWJetsToQQ":       0.4062,
    "TTZToLL_M-10":      0.2529,
    "TTZToLL_M-10_ext1": 0.2529,
    "TTZToLL_M-10_ext2": 0.2529,
    "TTZToQQ":           0.5297,

    ## Gen XS tool
    ## WW NNLO QCD inclusive decay 118.7: https://twiki.cern.ch/twiki/bin/viewauth/CMS/StandardModelCrossSectionsat13TeV
    ## WZ and ZZ -> no inclusive decay calculations
    "WWTo2L2Nu":      10.48*1.1602, # kNNLO<-NLO(WW)
    "WWTo1L1Nu2Q":    45.68*1.1602, # kNNLO<-NLO(WW)
    "WWTo4Q":         46.15*1.1602, # kNNLO<-NLO(WW)
    "WZTo3L1Nu":      4.43,
    "WZTo2L2Q":       5.606,
    "WZTo1L3Nu":      3.054,
    "WZTo1L3Nu_ext1": 3.054,
    "WZTo1L1Nu2Q":    9.822,
    "WZTo2Q2Nu":      6.317,
    "ZZTo4L":         1.204,
    "ZZTo2L2Nu":      0.5644,
    "ZZTo2L2Nu_ext1": 0.5644,
    "ZZTo2L2Q":       3.222,
    "ZZTo2Q2Nu":      4.033,
    "ZZTo4Q":         6.912,

    ## https://twiki.cern.ch/twiki/bin/viewauth/CMS/SingleTopSigma
    "SingleTop_s-channel_InclusiveDecays":         11.36,
    "SingleTop_t-channel_antitop_InclusiveDecays": 80.95,
    "SingleTop_t-channel_top_InclusiveDecays":     136.02,
    "SingleTop_tW_antitop_InclusiveDecays":        35.85,
    "SingleTop_tW_top_InclusiveDecays":            35.85,
    "SingleTop_sch_4f_leptonDecays_amcatnlo":      3.365,

    ## Gen XS tool
    "EWKWMinusToLNu2Jets":      20.20,
    "EWKWMinusToLNu2Jets_ext1": 20.20,
    "EWKWMinusToLNu2Jets_ext2": 20.20,
    "EWKWPlusToLNu2Jets":       25.81,
    "EWKWPlusToLNu2Jets_ext1":  25.81,
    "EWKWPlusToLNu2Jets_ext2":  25.81,
    "EWKZToLL2Jets":            3.935,
    "EWKZToLL2Jets_ext1":       3.935,
    "EWKZToLL2Jets_ext2":       3.935,
    "EWKZToNuNu2Jets":          10.14,
    "EWKZToNuNu2Jets_ext1":     10.14,
    "EWKZToNuNu2Jets_ext2":     10.14,

    ## Gen XS tool
    "Diboson_WW":      113.898,
    "Diboson_WW_ext1": 113.898,
    "Diboson_WZ":      47.13,
    "Diboson_WZ_ext1": 47.13,
    "Diboson_ZZ":      16.523,
    "Diboson_ZZ_ext1": 16.523,

    ## Gen XS tool
    "GJets_HT-40To100":       20810,
    "GJets_HT-40To100_ext1":  20810,
    "GJets_HT-100To200":      9235,
    "GJets_HT-100To200_ext1": 9235,
    "GJets_HT-200To400":      2303,
    "GJets_HT-200To400_ext1": 2303,
    "GJets_HT-400To600":      274.6,
    "GJets_HT-400To600_ext1": 274.6,
    "GJets_HT-600ToInf":      93.51,
    "GJets_HT-600ToInf_ext1": 93.51,

    ## Gen XS tool
    "GJets_Pt-20To100":    137800.0,
    "GJets_Pt-100To200":   1032,
    "GJets_Pt-200To500":   70.15,
    "GJets_Pt-500To1000":  0.9904,
    "GJets_Pt-1000To2000": 0.02092,
    "GJets_Pt-2000To5000": 0.00007451,

    ## XSDB
    "G1Jet_Pt-50To100":       13530.0,
    "G1Jet_Pt-50To100_ext1":  13530.0,
    "G1Jet_Pt-100To250":      1155.0,
    "G1Jet_Pt-100To250_ext1": 1155.0,
    "G1Jet_Pt-100To250_ext2": 1155.0,
    "G1Jet_Pt-250To400":      25.48,
    "G1Jet_Pt-250To400_ext1": 25.48,
    "G1Jet_Pt-250To400_ext2": 25.48,
    "G1Jet_Pt-400To650":      3.14,
    "G1Jet_Pt-400To650_ext1": 3.14,
    "G1Jet_Pt-650ToInf":      0.2939,
    "G1Jet_Pt-650ToInf_ext1": 0.2939,

    ## https://cms-gen-dev.cern.ch/xsdb
    "DYToLL_0J": 4620.519036,
    "DYToLL_1J": 859.589402,
    "DYToLL_2J": 338.258531,
    "DYToLL_2J_ext1": 338.258531,

    ## Gen XS tool
    "TTGJets":      3.772,
    "TTGJets_ext1": 3.772,

    ## XSDB
    "WGToQQG":       1.234,
    "WGToLNuG":      510.650,
    "WGToLNuG_ext1": 510.650,
    "ZGToQQG":       0.5763,
    "ZGToLLG":       123.8,
    "ZGToNuNuG":     28.04,
}

xsdict = {
    ## https://twiki.cern.ch/twiki/bin/view/LHCPhysics/TtbarNNLO#Top_quark_pair_cross_sections_at
    "TTJets_Inclusive":          831.76,
    #"TTJets_SingleLeptFromT":    159.8,
    #"TTJets_SingleLeptFromTbar": 158.9,
    #"TTJets_DiLept":             76.92,

    ## https://cms-gen-dev.cern.ch/xsdb
    "WJetsToLNu_Pt-0To50":         57297.39264,
    "WJetsToLNu_Pt-50To100":       3298.373338,
    "WJetsToLNu_Pt-100To250":      689.749632,
    "WJetsToLNu_Pt-100To250_ext1": 689.749632,
    "WJetsToLNu_Pt-100To250_ext2": 689.749632,
    "WJetsToLNu_Pt-250To400":      24.5069015,
    "WJetsToLNu_Pt-250To400_ext1": 24.5069015,
    "WJetsToLNu_Pt-250To400_ext2": 24.5069015,
    "WJetsToLNu_Pt-400To600":      3.110130566,
    "WJetsToLNu_Pt-400To600_ext1": 3.110130566,
    "WJetsToLNu_Pt-600ToInf":      0.4683178368,
    "WJetsToLNu_Pt-600ToInf_ext1": 0.4683178368,

    "WJetsToENu_Pt-0To50":         57297.39264,
    "WJetsToENu_Pt-50To100":       3298.373338,
    "WJetsToENu_Pt-100To250":      689.749632,
    "WJetsToENu_Pt-100To250_ext1": 689.749632,
    "WJetsToENu_Pt-100To250_ext2": 689.749632,
    "WJetsToENu_Pt-250To400":      24.5069015,
    "WJetsToENu_Pt-250To400_ext1": 24.5069015,
    "WJetsToENu_Pt-250To400_ext2": 24.5069015,
    "WJetsToENu_Pt-400To600":      3.110130566,
    "WJetsToENu_Pt-400To600_ext1": 3.110130566,
    "WJetsToENu_Pt-600ToInf":      0.4683178368,
    "WJetsToENu_Pt-600ToInf_ext1": 0.4683178368,

    "WJetsToMuNu_Pt-0To50":         57297.39264,
    "WJetsToMuNu_Pt-50To100":       3298.373338,
    "WJetsToMuNu_Pt-100To250":      689.749632,
    "WJetsToMuNu_Pt-100To250_ext1": 689.749632,
    "WJetsToMuNu_Pt-100To250_ext2": 689.749632,
    "WJetsToMuNu_Pt-250To400":      24.5069015,
    "WJetsToMuNu_Pt-250To400_ext1": 24.5069015,
    "WJetsToMuNu_Pt-250To400_ext2": 24.5069015,
    "WJetsToMuNu_Pt-400To600":      3.110130566,
    "WJetsToMuNu_Pt-400To600_ext1": 3.110130566,
    "WJetsToMuNu_Pt-600ToInf":      0.4683178368,
    "WJetsToMuNu_Pt-600ToInf_ext1": 0.4683178368,

    "WJetsToTauNu_Pt-0To50":         57297.39264,
    "WJetsToTauNu_Pt-50To100":       3298.373338,
    "WJetsToTauNu_Pt-100To250":      689.749632,
    "WJetsToTauNu_Pt-100To250_ext1": 689.749632,
    "WJetsToTauNu_Pt-100To250_ext2": 689.749632,
    "WJetsToTauNu_Pt-250To400":      24.5069015,
    "WJetsToTauNu_Pt-250To400_ext1": 24.5069015,
    "WJetsToTauNu_Pt-250To400_ext2": 24.5069015,
    "WJetsToTauNu_Pt-400To600":      3.110130566,
    "WJetsToTauNu_Pt-400To600_ext1": 3.110130566,
    "WJetsToTauNu_Pt-600ToInf":      0.4683178368,
    "WJetsToTauNu_Pt-600ToInf_ext1": 0.4683178368,

    ## Gen XS tool x3 (produced for a single generation)
    "ZJetsToNuNu_Pt-0To50":         1.036e+04,
    "ZJetsToNuNu_Pt-50To100":       7.116e+02,
    "ZJetsToNuNu_Pt-50To100_ext1":  7.116e+02,
    "ZJetsToNuNu_Pt-50To100_ext2":  7.116e+02,
    "ZJetsToNuNu_Pt-100To250":      1.646e+02,
    "ZJetsToNuNu_Pt-100To250_ext1": 1.646e+02,
    "ZJetsToNuNu_Pt-100To250_ext2": 1.646e+02,
    "ZJetsToNuNu_Pt-250To400":      6.219e+00,
    "ZJetsToNuNu_Pt-250To400_ext1": 6.219e+00,
    "ZJetsToNuNu_Pt-250To400_ext2": 6.219e+00,
    "ZJetsToNuNu_Pt-400To650":      8.349e-01,
    "ZJetsToNuNu_Pt-400To650_ext1": 8.349e-01,
    "ZJetsToNuNu_Pt-400To650_ext2": 8.349e-01,
    "ZJetsToNuNu_Pt-650ToInf":      7.809e-02,
    "ZJetsToNuNu_Pt-650ToInf_ext1": 7.809e-02,
    "ZJetsToNuNu_Pt-650ToInf_ext2": 7.809e-02,

    ## Gen XS tool
    "QCD_HT-50To100":         246400000,
    "QCD_HT-100To200":        28000000,
    "QCD_HT-200To300":        1712000,
    "QCD_HT-200To300_ext1":   1712000,
    "QCD_HT-300To500":        347600,
    "QCD_HT-300To500_ext1":   347600,
    "QCD_HT-500To700":        32100,
    "QCD_HT-500To700_ext1":   32100,
    "QCD_HT-700To1000":       6831,
    "QCD_HT-700To1000_ext1":  6831,
    "QCD_HT-1000To1500":      1208,
    "QCD_HT-1000To1500_ext1": 1208,
    "QCD_HT-1500To2000":      120.1,
    "QCD_HT-1500To2000_ext1": 120.1,
    "QCD_HT-2000ToInf":       25.26,
    "QCD_HT-2000ToInf_ext1":  25.26,

    # LO https://cms-gen-dev.cern.ch/xsdb/
    "QCD_Pt-15To30":          1820000000.0,
    "QCD_Pt-30To50":          138900000.0,
    "QCD_Pt-50To80":          19100000.0,
    "QCD_Pt-80To120":         2735000.0,
    "QCD_Pt-80To120_ext1":    2735000.0,
    "QCD_Pt-120To170":        467500.0,
    "QCD_Pt-120To170_ext1":   467500.0,
    "QCD_Pt-170To300":        117400.0,
    "QCD_Pt-170To300_ext1":   117400.0,
    "QCD_Pt-300To470":        7753.0,
    "QCD_Pt-300To470_ext1":   7753.0,
    "QCD_Pt-470To600":        642.1,
    "QCD_Pt-600To800":        185.9,
    "QCD_Pt-600To800_ext1":   185.9,
    "QCD_Pt-800To1000":       32.05,
    "QCD_Pt-800To1000_ext1":  32.05,
    "QCD_Pt-1000To1400":      9.365,
    "QCD_Pt-1000To1400_ext1": 9.365,
    "QCD_Pt-1400To1800":      0.8398,
    "QCD_Pt-1400To1800_ext1": 0.8398,
    "QCD_Pt-1800To2400":      0.1124,
    "QCD_Pt-1800To2400_ext1": 0.1124,
    "QCD_Pt-2400To3200":      0.006752,
    "QCD_Pt-2400To3200_ext1": 0.006752,
    "QCD_Pt-3200ToInf":       0.0001626,

    ## https://cms-gen-dev.cern.ch/xsdb
    "DYJetsToLL_Pt-0To50":         5352.57924,
    "DYJetsToLL_Pt-50To100":       363.81428,
    "DYJetsToLL_Pt-50To100_ext1":  363.81428,
    "DYJetsToLL_Pt-100To250":      84.014804,
    "DYJetsToLL_Pt-100To250_ext1": 84.014804,
    "DYJetsToLL_Pt-100To250_ext2": 84.014804,
    "DYJetsToLL_Pt-100To250_ext3": 84.014804,
    "DYJetsToLL_Pt-250To400":      3.228256512,
    "DYJetsToLL_Pt-250To400_ext1": 3.228256512,
    "DYJetsToLL_Pt-250To400_ext2": 3.228256512,
    "DYJetsToLL_Pt-250To400_ext3": 3.228256512,
    "DYJetsToLL_Pt-400To650":      0.436041144,
    "DYJetsToLL_Pt-400To650_ext1": 0.436041144,
    "DYJetsToLL_Pt-400To650_ext2": 0.436041144,
    "DYJetsToLL_Pt-650ToInf":      0.040981055,
    "DYJetsToLL_Pt-650ToInf_ext1": 0.040981055,
    "DYJetsToLL_Pt-650ToInf_ext2": 0.040981055,

    "DYJetsToEE_Pt-0To50":         5352.57924,
    "DYJetsToEE_Pt-50To100":       363.81428,
    "DYJetsToEE_Pt-50To100_ext1":  363.81428,
    "DYJetsToEE_Pt-100To250":      84.014804,
    "DYJetsToEE_Pt-100To250_ext1": 84.014804,
    "DYJetsToEE_Pt-100To250_ext2": 84.014804,
    "DYJetsToEE_Pt-100To250_ext3": 84.014804,
    "DYJetsToEE_Pt-250To400":      3.228256512,
    "DYJetsToEE_Pt-250To400_ext1": 3.228256512,
    "DYJetsToEE_Pt-250To400_ext2": 3.228256512,
    "DYJetsToEE_Pt-250To400_ext3": 3.228256512,
    "DYJetsToEE_Pt-400To650":      0.436041144,
    "DYJetsToEE_Pt-400To650_ext1": 0.436041144,
    "DYJetsToEE_Pt-400To650_ext2": 0.436041144,
    "DYJetsToEE_Pt-650ToInf":      0.040981055,
    "DYJetsToEE_Pt-650ToInf_ext1": 0.040981055,
    "DYJetsToEE_Pt-650ToInf_ext2": 0.040981055,

    "DYJetsToMuMu_Pt-0To50":         5352.57924,
    "DYJetsToMuMu_Pt-50To100":       363.81428,
    "DYJetsToMuMu_Pt-50To100_ext1":  363.81428,
    "DYJetsToMuMu_Pt-100To250":      84.014804,
    "DYJetsToMuMu_Pt-100To250_ext1": 84.014804,
    "DYJetsToMuMu_Pt-100To250_ext2": 84.014804,
    "DYJetsToMuMu_Pt-100To250_ext3": 84.014804,
    "DYJetsToMuMu_Pt-250To400":      3.228256512,
    "DYJetsToMuMu_Pt-250To400_ext1": 3.228256512,
    "DYJetsToMuMu_Pt-250To400_ext2": 3.228256512,
    "DYJetsToMuMu_Pt-250To400_ext3": 3.228256512,
    "DYJetsToMuMu_Pt-400To650":      0.436041144,
    "DYJetsToMuMu_Pt-400To650_ext1": 0.436041144,
    "DYJetsToMuMu_Pt-400To650_ext2": 0.436041144,
    "DYJetsToMuMu_Pt-650ToInf":      0.040981055,
    "DYJetsToMuMu_Pt-650ToInf_ext1": 0.040981055,
    "DYJetsToMuMu_Pt-650ToInf_ext2": 0.040981055,

    "DYJetsToTauTau_Pt-0To50":         5352.57924,
    "DYJetsToTauTau_Pt-50To100":       363.81428,
    "DYJetsToTauTau_Pt-50To100_ext1":  363.81428,
    "DYJetsToTauTau_Pt-100To250":      84.014804,
    "DYJetsToTauTau_Pt-100To250_ext1": 84.014804,
    "DYJetsToTauTau_Pt-100To250_ext2": 84.014804,
    "DYJetsToTauTau_Pt-100To250_ext3": 84.014804,
    "DYJetsToTauTau_Pt-250To400":      3.228256512,
    "DYJetsToTauTau_Pt-250To400_ext1": 3.228256512,
    "DYJetsToTauTau_Pt-250To400_ext2": 3.228256512,
    "DYJetsToTauTau_Pt-250To400_ext3": 3.228256512,
    "DYJetsToTauTau_Pt-400To650":      0.436041144,
    "DYJetsToTauTau_Pt-400To650_ext1": 0.436041144,
    "DYJetsToTauTau_Pt-400To650_ext2": 0.436041144,
    "DYJetsToTauTau_Pt-650ToInf":      0.040981055,
    "DYJetsToTauTau_Pt-650ToInf_ext1": 0.040981055,
    "DYJetsToTauTau_Pt-650ToInf_ext2": 0.040981055,

    ## BR from https://twiki.cern.ch/twiki/bin/view/LHCPhysics/CERNYellowReportPageBR
    ## XS from https://twiki.cern.ch/twiki/bin/view/LHCPhysics/CERNYellowReportPageAt13TeV#ttH_Process
    "TTHToNonBB": 2.953e-01,
    "TTHToBB":    2.118e-01,

    ## Gen XS tool
    "TTWJetsToLNu":      0.2006,
    "TTWJetsToLNu_ext1": 0.2006,
    "TTWJetsToQQ":       0.4062,
    "TTZToLL_M-10":      0.2529,
    "TTZToLL_M-10_ext1": 0.2529,
    "TTZToLL_M-10_ext2": 0.2529,
    "TTZToQQ":           0.5297,

    ## Gen XS tool
    ## WW NNLO QCD inclusive decay 118.7: https://twiki.cern.ch/twiki/bin/viewauth/CMS/StandardModelCrossSectionsat13TeV
    ## WZ and ZZ -> no inclusive decay calculations
    "WWTo2L2Nu":      10.48*1.1602, # kNNLO<-NLO(WW)
    "WWTo1L1Nu2Q":    45.68*1.1602, # kNNLO<-NLO(WW)
    "WWTo4Q":         46.15*1.1602, # kNNLO<-NLO(WW)
    "WZTo3L1Nu":      4.43,
    "WZTo2L2Q":       5.606,
    "WZTo1L3Nu":      3.054,
    "WZTo1L3Nu_ext1": 3.054,
    "WZTo1L1Nu2Q":    9.822,
    "WZTo2Q2Nu":      6.317,
    "ZZTo4L":         1.204,
    "ZZTo2L2Nu":      0.5644,
    "ZZTo2L2Nu_ext1": 0.5644,
    "ZZTo2L2Q":       3.222,
    "ZZTo2Q2Nu":      4.033,
    "ZZTo4Q":         6.912,

    ## https://twiki.cern.ch/twiki/bin/viewauth/CMS/SingleTopSigma
    "SingleTop_s-channel_InclusiveDecays":         11.36,
    "SingleTop_t-channel_antitop_InclusiveDecays": 80.95,
    "SingleTop_t-channel_top_InclusiveDecays":     136.02,
    "SingleTop_tW_antitop_InclusiveDecays":        35.85,
    "SingleTop_tW_top_InclusiveDecays":            35.85,
    "SingleTop_sch_4f_leptonDecays_amcatnlo":      3.365,

    ## Gen XS tool
    "EWKWMinusToLNu2Jets":      20.20,
    "EWKWMinusToLNu2Jets_ext1": 20.20,
    "EWKWMinusToLNu2Jets_ext2": 20.20,
    "EWKWPlusToLNu2Jets":       25.81,
    "EWKWPlusToLNu2Jets_ext1":  25.81,
    "EWKWPlusToLNu2Jets_ext2":  25.81,
    "EWKZToLL2Jets":            3.935,
    "EWKZToLL2Jets_ext1":       3.935,
    "EWKZToLL2Jets_ext2":       3.935,
    "EWKZToNuNu2Jets":          10.14,
    "EWKZToNuNu2Jets_ext1":     10.14,
    "EWKZToNuNu2Jets_ext2":     10.14,

    ## Gen XS tool
    "Diboson_WW":      113.898,
    "Diboson_WW_ext1": 113.898,
    "Diboson_WZ":      47.13,
    "Diboson_WZ_ext1": 47.13,
    "Diboson_ZZ":      16.523,
    "Diboson_ZZ_ext1": 16.523,

    ## Gen XS tool
    "GJets_HT-40To100":       20810,
    "GJets_HT-40To100_ext1":  20810,
    "GJets_HT-100To200":      9235,
    "GJets_HT-100To200_ext1": 9235,
    "GJets_HT-200To400":      2303,
    "GJets_HT-200To400_ext1": 2303,
    "GJets_HT-400To600":      274.6,
    "GJets_HT-400To600_ext1": 274.6,
    "GJets_HT-600ToInf":      93.51,
    "GJets_HT-600ToInf_ext1": 93.51,

    ## Gen XS tool
    "GJets_Pt-20To100":    137800.0,
    "GJets_Pt-100To200":   1032,
    "GJets_Pt-200To500":   70.15,
    "GJets_Pt-500To1000":  0.9904,
    "GJets_Pt-1000To2000": 0.02092,
    "GJets_Pt-2000To5000": 0.00007451,

    ## XSDB
    "G1Jet_Pt-50To100":       13530.0,
    "G1Jet_Pt-50To100_ext1":  13530.0,
    "G1Jet_Pt-100To250":      1155.0,
    "G1Jet_Pt-100To250_ext1": 1155.0,
    "G1Jet_Pt-100To250_ext2": 1155.0,
    "G1Jet_Pt-250To400":      25.48,
    "G1Jet_Pt-250To400_ext1": 25.48,
    "G1Jet_Pt-250To400_ext2": 25.48,
    "G1Jet_Pt-400To650":      3.14,
    "G1Jet_Pt-400To650_ext1": 3.14,
    "G1Jet_Pt-650ToInf":      0.2939,
    "G1Jet_Pt-650ToInf_ext1": 0.2939,

    ## https://cms-gen-dev.cern.ch/xsdb
    "DYToLL_0J": 4620.519036,
    "DYToLL_1J": 859.589402,
    "DYToLL_2J": 338.258531,
    "DYToLL_2J_ext1": 338.258531,

    ## Gen XS tool
    "TTGJets":      3.772,
    "TTGJets_ext1": 3.772,

    ## XSDB
    "WGToQQG":       1.234,
    "WGToLNuG":      510.650,
    "WGToLNuG_ext1": 510.650,
    "ZGToQQG":       0.5763,
    "ZGToLLG":       123.8,
    "ZGToNuNuG":     28.04,
}

## https://twiki.cern.ch/twiki/bin/view/LHCPhysics/TtbarNNLO#Top_quark_pair_cross_sections_at #"TTJets_SingleLeptFromT":    159.8, #"TTJets_SingleLeptFromTbar": 158.9, #"TTJets_DiLept":             76.92, ## https://cms-gen-dev.cern.ch/xsdb ## Gen XS tool x3 (produced for a single generation) ## Gen XS tool # LO https://cms-gen-dev.cern.ch/xsdb/ ## https://cms-gen-dev.cern.ch/xsdb ## BR from https://twiki.cern.ch/twiki/bin/view/LHCPhysics/CERNYellowReportPageBR ## XS from https://twiki.cern.ch/twiki/bin/view/LHCPhysics/CERNYellowReportPageAt13TeV#ttH_Process ## Gen XS tool ## Gen XS tool ## WW NNLO QCD inclusive decay 118.7: https://twiki.cern.ch/twiki/bin/viewauth/CMS/StandardModelCrossSectionsat13TeV ## WZ and ZZ -> no inclusive decay calculations # kNNLO<-NLO(WW) # kNNLO<-NLO(WW) # kNNLO<-NLO(WW) ## https://twiki.cern.ch/twiki/bin/viewauth/CMS/SingleTopSigma ## Gen XS tool ## Gen XS tool ## Gen XS tool ## Gen XS tool ## XSDB ## https://cms-gen-dev.cern.ch/xsdb ## Gen XS tool ## XSDB