1 from WMCore.Configuration
import Configuration
2 from CRABClient.UserUtilities
import config, getUsernameFromSiteDB
6 config.section_(
"General")
7 config.General.requestName =
'NanoPost1' 8 config.General.transferLogs =
True 9 config.section_(
"JobType")
10 config.JobType.pluginName =
'Analysis' 11 config.JobType.psetName =
'PSet.py' 12 config.JobType.scriptExe =
'crab_script.sh' 13 config.JobType.inputFiles = [
'crab_script.py']
14 config.JobType.sendPythonFolder =
True 15 config.section_(
"Data")
16 config.Data.inputDataset =
'/DYJetsToLL_1J_TuneCP5_13TeV-amcatnloFXFX-pythia8/RunIIFall17NanoAOD-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/NANOAODSIM' 18 config.Data.inputDBS =
'global' 19 config.Data.splitting =
'FileBased' 21 config.Data.unitsPerJob = 2
22 config.Data.totalUnits = 10
24 config.Data.outLFNDirBase =
'/store/user/%s/NanoPost' % (
25 getUsernameFromSiteDB())
26 config.Data.publication =
False 27 config.Data.outputDatasetTag =
'NanoTestPost' 28 config.section_(
"Site")
29 config.Site.storageSite =
"T2_DE_DESY"