forked from mflechl/ProductionFromNano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crab3.py
28 lines (22 loc) · 869 Bytes
/
crab3.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from WMCore.Configuration import Configuration
config = Configuration()
config.section_("General")
config.General.requestName = 'Dummy'
config.General.workArea = 'v1'
config.General.transferLogs = False
config.section_("JobType")
config.JobType.pluginName = 'Analysis'
config.JobType.psetName = 'PSet.py'
config.JobType.sendExternalFolder = True
config.section_("Data")
config.Data.inputDataset = 'Dummy'
config.Data.inputDBS = 'global'
config.Data.splitting = 'FileBased'
config.Data.unitsPerJob = 1 #number of files per jobs
config.Data.totalUnits = -1 #number of event
config.Data.outLFNDirBase = '/store/user/bluj/WAWNTupleFromNanoAOD/'
config.Data.publication = False
config.Data.outputDatasetTag = 'Dummy'
config.section_("Site")
config.Site.storageSite = 'T2_PL_Swierk'
config.Site.blacklist = ['T2_KR_*','T2_CN_*','T2_BR_*','T2_US_Florida','T2_US_UCSD']