Пример #1
0
import os


def GetCWD():
    cwd_fullPath = os.getcwd()
    analyzerPath = os.environ["DY_ANALYZER_PATH"]
    cwd = cwd_fullPath.split(analyzerPath +
                             "/")[1]  # -- start from the analyzer base path

    return cwd


from Include.MultiJobGenerator import *

generator = MultiJobGenerator()

generator.jobType = "HTCondor"
generator.jobName = "ControlPlot_GenLevel"  # -- used for workspace name
generator.classCodePath = GetCWD() + "/MakeGenHist_Dimuon_noWeight.h"
generator.className = "HistProducer"

generator.luminosity = 1.0  # -- not used for now
generator.jsonName = "SampleInfo_v1p2.json"  # -- under DY_ANALYZER_PATH/Include

generator.dic_nJob = {
    "DYMuMu_M10to50": 20,
    # "DYMuMu_M50toInf":   10,
}

# generator.outputPath = "/scratch/kplee/DYScoutingJob"
generator.outputPath = "/data9/Users/kplee/DYScoutingJob"
Пример #2
0
from Include.MultiJobGenerator import *

generator = MultiJobGenerator()

generator.jobType = "HTCondor"
generator.jobName = "ControlPlot" # -- used for workspace name
generator.classCodePath = "ControlPlot/Optimization/v03_TightAndL1/MakeHist_Dimuon_noWeight.h"
generator.className = "HistProducer"

generator.luminosity = 1.0 # -- not used for now
generator.jsonName = "SampleInfo_v1p2.json" # -- under DY_ANALYZER_PATH/Include

generator.dic_nJob = { 
  "ScoutingCaloMuon_Run2018All": 70,
  "DYMuMu_M10to50":    20,
  "DYMuMu_M50toInf":   10,
  "DYTauTau_M10to50":  5,
  "DYTauTau_M50toInf": 10,
  "WJets": 5,
  "ttbar": 5,
  "QCDMuEnriched_Pt20toInf": 5,
  "QCDMuEnriched_Pt15to20":  3,
  "QCDMuEnriched_Pt20to30":  3,
  "QCDMuEnriched_Pt30to50":  3,
  "QCDMuEnriched_Pt50to80":  3,
  "QCDMuEnriched_Pt80to120": 3,
  "QCDMuEnriched_Pt120to170": 3,
  "QCDMuEnriched_Pt170to300": 3,
  "QCDMuEnriched_Pt300to470": 3,
  "QCDMuEnriched_Pt470to600": 3,
  "QCDMuEnriched_Pt600to800": 3,
Пример #3
0
import os

def GetCWD():
  cwd_fullPath = os.getcwd()
  analyzerPath = os.environ["DY_ANALYZER_PATH"]
  cwd = cwd_fullPath.split(analyzerPath+"/")[1] # -- start from the analyzer base path

  return cwd


from Include.MultiJobGenerator import *

generator = MultiJobGenerator()

generator.jobType = "HTCondor"
generator.jobName = "MVAPlot" # -- used for workspace name
generator.classCodePath = GetCWD()+"/MVAPlotProducer.h"
generator.className = "HistProducer"

generator.luminosity = 1.0 # -- not used for now
generator.jsonName = "SampleInfo_v1p2.json" # -- under DY_ANALYZER_PATH/Include

generator.dic_nJob = { 
  "DYMuMu_M10to50":    20,
  "DYMuMu_M50toInf":   10,
  "QCDMuEnriched_Pt15to20":  3,
  "QCDMuEnriched_Pt20to30":  3,
  "QCDMuEnriched_Pt30to50":  3,
  "QCDMuEnriched_Pt50to80":  3,
  "QCDMuEnriched_Pt80to120": 3,
  "QCDMuEnriched_Pt120to170": 3,
Пример #4
0
from Include.MultiJobGenerator import *

generator = MultiJobGenerator()

generator.jobType = "HTCondor"
generator.jobName = "sumWeight"  # -- used for workspace name
generator.classCodePath = "SumWeight/MakeHist_SumWeight.h"
generator.className = "HistProducer"

generator.luminosity = 1.0  # -- not used anyway
generator.jsonName = "SampleInfo_v1p4_KNU.json"  # -- under DY_ANALYZER_PATH/Include

generator.dic_nJob = {
    # "Offline_DYMuMu_M50toInf_UL18":   10,
    # "Offline_DYTauTau_M50toInf_UL18":  10,
    # "Offline_WJets_UL18": 5,
    # "Offline_ttbar_UL18": 5,
    # "Offline_tW_UL18":     3,
    # "Offline_tbarW_UL18":  3,
    # "Offline_WW_UL18":  3,
    # "Offline_WZ_UL18":  3,
    # "Offline_ZZ_UL18":  3,
    # "Offline_DYLL_M50toInf_UL18": 10,
    "Offline_DYEE_M50toInf_UL18": 10,
}

# generator.outputPath = "/scratch/kplee/DYScoutingJob"
# generator.outputPath = "/data9/Users/kplee/DYScoutingJob"
generator.outputPath = "/u/user/kplee/scratch/DYScoutingJob"
generator.bringOutput = True  # -- bring output root file to the current working directory where JobConfig is executed
Пример #5
0
from Include.MultiJobGenerator import *

generator = MultiJobGenerator()

generator.jobType = "HTCondor"
generator.jobName = "sumWeight"  # -- used for workspace name
generator.classCodePath = "SumWeight/MakeHist_SumWeight.h"
generator.className = "HistProducer"

generator.luminosity = 1.0  # -- not used anyway
generator.jsonName = "SampleInfo_v1p1.json"  # -- under DY_ANALYZER_PATH/Include

generator.dic_nJob = {
    "DYMuMu_M10to50": 5,
    "DYMuMu_M50toInf": 10,
    "DYTauTau_M10to50": 5,
    "DYTauTau_M50toInf": 10,
    # "WJets":    5, # -- done
    "ttbar": 5,
    "QCDMuEnriched_Pt20toInf": 3,
    "QCDMuEnriched_Pt15to20": 3,
    "QCDMuEnriched_Pt20to30": 3,
    "QCDMuEnriched_Pt30to50": 3,
    "QCDMuEnriched_Pt50to80": 3,
    "QCDMuEnriched_Pt80to120": 3,
    "QCDMuEnriched_Pt120to170": 3,
    "QCDMuEnriched_Pt170to300": 3,
    "QCDMuEnriched_Pt300to470": 3,
    "QCDMuEnriched_Pt470to600": 3,
    "QCDMuEnriched_Pt600to800": 3,
    "QCDMuEnriched_Pt800to1000": 3,
Пример #6
0
from Include.MultiJobGenerator import *

generator = MultiJobGenerator()

generator.jobType = "HTCondor"
generator.jobName = "sumWeight"  # -- used for workspace name
generator.classCodePath = "SumWeight/MakeHist_SumWeight.h"
generator.className = "HistProducer"

generator.luminosity = 1.0  # -- not used anyway
generator.jsonName = "SampleInfo_v1p1.json"  # -- under DY_ANALYZER_PATH/Include

generator.dic_nJob = {
    "WJets": 5,
}

generator.outputPath = "/data9/Users/kplee/DYScoutingJob"
generator.bringOutput = True  # -- bring output root file to the current working directory where JobConfig is executed

generator.Generate()