-
Notifications
You must be signed in to change notification settings - Fork 11
/
crabconfig_draft.py
32 lines (26 loc) · 1.09 KB
/
crabconfig_draft.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
29
30
31
from WMCore.Configuration import Configuration
config = Configuration()
config.section_("General")
config.General.requestName = "privateMCProduction#REQUESTDATE##WHOAMI#"
config.General.workArea = 'crab_privateMCProduction'
config.General.transferLogs = True
config.section_("JobType")
config.JobType.pluginName = 'PrivateMC'
config.JobType.psetName = 'pythonLHEGEN_cfg.py'
config.JobType.inputFiles = ['GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh', 'gridpack.tgz']
config.JobType.disableAutomaticOutputCollection = False
config.section_("Data")
config.Data.outputPrimaryDataset = 'privateMCProductionLHEGEN'
config.Data.splitting = 'EventBased'
config.Data.unitsPerJob = 1200
config.Data.totalUnits = #NUMBEREVENTS#
config.Data.publication = True
config.Data.outputDatasetTag = 'eventLHEGEN-#BASENAME#-#REQUESTDATE#'
config.Data.outLFNDirBase = '/store/group/phys_higgs'
config.section_("Site")
#config.Site.storageSite = 'T2_DE_DESY'
config.Site.storageSite = 'T2_CN_Beijing'
config.Site.whitelist = ['T2_*']
config.section_("User")
## only german users
#config.User.voGroup = "dcms"