Esempio n. 1
0
dirs["TTG_Had_med"] = ["TTGHad_ptG100To200_LO"]
dirs["TTG_Had_high"] = ["TTGHad_ptG200_LO"]

directories = {
    key: [
        os.path.join(data_directory_, postprocessing_directory_, dir)
        for dir in dirs[key]
    ]
    for key in dirs.keys()
}

# Samples
TTG = getMCSample(name="TTG",
                  redirector=redirector,
                  color=color.TTG,
                  texName="t#bar{t}#gamma",
                  directory=directories["TTG"],
                  noCheckProxy=True,
                  fromDPM=fromDPM)
TTG_med = getMCSample(name="TTG",
                      redirector=redirector,
                      color=color.TTG,
                      texName="t#bar{t}#gamma",
                      directory=directories["TTG_med"],
                      noCheckProxy=True,
                      fromDPM=fromDPM)
TTG_high = getMCSample(name="TTG",
                       redirector=redirector,
                       color=color.TTG,
                       texName="t#bar{t}#gamma",
                       directory=directories["TTG_high"],
dirs["ZG_lowMLL_lowGPt"] = ["ZGToLLG_lowMLL_lowGPt"]
dirs["WJets"] = ["W1JetsToLNu", "W2JetsToLNu", "W3JetsToLNu", "W4JetsToLNu"]

directories = {
    key: [
        os.path.join(data_directory_, postprocessing_directory_, dir)
        for dir in dirs[key]
    ]
    for key in dirs.keys()
}

# Samples
DY_LO = getMCSample(name="DY_LO",
                    redirector=redirector,
                    color=color.DY,
                    texName="Drell-Yan",
                    directory=directories["DY_LO"],
                    noCheckProxy=False,
                    fromDPM=fromDPM)
DY_NLO = getMCSample(name="DY_NLO",
                     redirector=redirector,
                     color=color.DY,
                     texName="Drell-Yan",
                     directory=directories["DY_NLO"],
                     noCheckProxy=False,
                     fromDPM=fromDPM)
TT_pow = getMCSample(name="TT_pow",
                     redirector=redirector,
                     color=color.TT,
                     texName="t#bar{t}",
                     directory=directories["TT_pow"],
Esempio n. 3
0
#dirs["rest"]             = dirs["singleTop"] + dirs["TG"] + dirs["other"]
dirs["rest"] = dirs["other"]

directories = {
    key: [
        os.path.join(data_directory_, postprocessing_directory_, dir)
        for dir in dirs[key]
    ]
    for key in dirs.keys()
}

# Samples
DY_LO = getMCSample(name="DY_LO",
                    redirector=redirector,
                    color=color.DY,
                    texName="Drell-Yan",
                    directory=directories["DY_LO"],
                    noCheckProxy=False,
                    fromDPM=fromDPM)
#Zinv            = getMCSample(name="Zinv",             redirector=redirector, color=color.Zinv,            texName="Z(#nu#nu)+jets",    directory=directories["Z_NuNu"], noCheckProxy=False, fromDPM=fromDPM)
#DY_HT           = getMCSample(name="DY_LO",            redirector=redirector, color=color.DY,              texName="DY (LO)",           directory=directories["DY_HT"], noCheckProxy=True, fromDPM=fromDPM)
Top = getMCSample(name="Top",
                  redirector=redirector,
                  color=color.TT,
                  texName="t / t#bar{t}",
                  directory=directories["top"],
                  noCheckProxy=True,
                  fromDPM=fromDPM)
TT_pow = getMCSample(name="TT_pow",
                     redirector=redirector,
                     color=color.TT,
Esempio n. 4
0
    import RootTools.core.logger as logger_rt
    logger_rt = logger_rt.get_logger("INFO", logFile=None)
else:
    import logging
    logger = logging.getLogger(__name__)

logger.info("Loading MC samples from directory %s",
            os.path.join(data_directory_, postprocessing_directory_))

# Directories
dirs = {}

dirs["st_tW"] = ["TBar_tWch_incl", "T_tWch_incl"]

directories = {
    key: [
        os.path.join(data_directory_, postprocessing_directory_, dir)
        for dir in dirs[key]
    ]
    for key in dirs.keys()
}

# Samples
ST_tW = getMCSample(name="ST_tW",
                    redirector=redirector,
                    color=color.T,
                    texName="tW",
                    directory=directories["st_tW"],
                    noCheckProxy=True,
                    fromDPM=fromDPM)
dirs["TTG_2l_18"] = ["ttgDil2018"]
dirs["TTG_18"] = dirs["TTG_0l_18"] + dirs["TTG_1l_18"] + dirs["TTG_2l_18"]

directories = {
    key: [
        os.path.join(data_directory_, postprocessing_directory_, dir)
        for dir in dirs[key]
    ]
    for key in dirs.keys()
}

# Samples
TTG_16 = getMCSample(name="TTG",
                     redirector=redirector,
                     color=color.TTG,
                     texName="t#bar{t}#gamma",
                     directory=directories["TTG_16"],
                     noCheckProxy=True,
                     fromDPM=False)
TTG_0l_16 = getMCSample(name="TTG",
                        redirector=redirector,
                        color=color.TTG,
                        texName="t#bar{t}#gamma",
                        directory=directories["TTG_0l_16"],
                        noCheckProxy=True,
                        fromDPM=False)
TTG_1l_16 = getMCSample(name="TTG",
                        redirector=redirector,
                        color=color.TTG,
                        texName="t#bar{t}#gamma",
                        directory=directories["TTG_1l_16"],
#dirs["TTG"]              = ["TTGLep_LO", "TTGSingleLep_LO", "TTGHad_LO"]

directories = {
    key: [
        os.path.join(data_directory_, postprocessing_directory_, dir)
        for dir in dirs[key]
    ]
    for key in dirs.keys()
}

# Samples
#TTG_NLO         = getMCSample(name="TTG_NLO",          redirector=redirector, color=color.TTG,             texName="t#bar{t}#gamma",    directory=directories["TTGNLO"], noCheckProxy=True, fromDPM=fromDPM)
TTG = getMCSample(name="TTG",
                  redirector=redirector,
                  color=color.TTG,
                  texName="t#bar{t}#gamma",
                  directory=directories["TTG"],
                  noCheckProxy=True,
                  fromDPM=fromDPM)
TTGSemiLep = getMCSample(name="TTG",
                         redirector=redirector,
                         color=color.TTG,
                         texName="t#bar{t}#gamma",
                         directory=directories["TTGSemiLep"],
                         noCheckProxy=True,
                         fromDPM=fromDPM)
TTGLep = getMCSample(name="TTG",
                     redirector=redirector,
                     color=color.TTG,
                     texName="t#bar{t}#gamma",
                     directory=directories["TTGLep"],
Esempio n. 7
0
    ]
    for key in dirs.keys()
}

# Samples
#TT_sync_16          = getMCSample(name="TT_pow",           redirector=redirector, color=color.TT,              texName="t#bar{t}",          directory=directories["TT_pow"], noCheckProxy=True, fromDPM=fromDPM)
#TT_sync_16.normalization = TTSingleLep_pow_CP5_sync.normalization
#TTG_sync_16         = getMCSample(name="TTG",              redirector=redirector, color=color.TTG,             texName="t#bar{t}#gamma",    directory=directories["TTG"], noCheckProxy=True, fromDPM=fromDPM)
#TTG_sync_16.normalization = TTGSingleLep_LO_sync.normalization
#DY_LO_sync_16       = getMCSample(name="DY_LO",            redirector=redirector, color=color.DY,              texName="Drell-Yan",                directory=directories["DY_LO"], noCheckProxy=False, fromDPM=fromDPM)
#DY_LO_sync_16.normalization = DYJetsToLL_M50_LO_ext1_sync.normalization

TTG_sync_16 = getMCSample(name="TTG",
                          redirector=redirector,
                          color=color.TTG,
                          texName="t#bar{t}#gamma",
                          directory=directories["TTG"],
                          noCheckProxy=True,
                          fromDPM=fromDPM)
WJets_sync_16 = getMCSample(name="WJets",
                            redirector=redirector,
                            color=color.TTG,
                            texName="W+Jets",
                            directory=directories["WJets"],
                            noCheckProxy=True,
                            fromDPM=fromDPM)
QCD_e_sync_16 = getMCSample(name="QCD_e",
                            redirector=redirector,
                            color=color.TTG,
                            texName="QCD (e)",
                            directory=directories["QCD_e"],