-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shane Breeze
committed
Jun 26, 2017
1 parent
bc71f0c
commit f7437e4
Showing
6 changed files
with
397 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# T1qqqq full sim production | ||
|
||
## Setup CMSSW | ||
|
||
Checkout CMSSW version `8_0_21`: | ||
```bash | ||
export SCRAM_ARCH=slc6_amd64_gcc530 | ||
cmsrel CMSSW_8_0_21 | ||
cd CMSSW_8_0_21/src | ||
cmsenv | ||
mkdir -p Configuration/GenProduction/python/ | ||
cp ../../fragments/T1qqqq_fragment.py Configuration/GenProduction/python/ | ||
scram b -j 9 | ||
cd - | ||
``` | ||
|
||
### GEN-SIM | ||
Runs Madgraph and Pythia | ||
```bash | ||
cmsDriver.py Configuration/GenProduction/python/T1qqqq_fragment.py \ | ||
--mc \ | ||
--eventcontent RAWSIM \ | ||
--customise_commands "process.source.numberEventsInLuminosityBlock = cms.untracked.uint32(50) \n process.source.firstRun = cms.untracked.uint32(3) \n process.generator.initialSeed = cms.untracked.uint32(3)" \ | ||
--datatier GEN-SIM \ | ||
--conditions 80X_mcRun2_asymptotic_2016_TrancheIV_v6 \ | ||
--beamspot Realistic50ns13TeVCollision \ | ||
--step GEN,SIM \ | ||
--magField 38T_PostLS1 \ | ||
--fileout file:T1qqqq_fullsim_GEN-SIM.root \ | ||
--python_filename step1_T1qqqq_fullsim_GEN-SIM_cfg.py \ | ||
--no_exec \ | ||
-n 50 | ||
``` | ||
|
||
### PU Mixing | ||
Run the PU mixing step over all events produced by the GEN-SIM step | ||
```bash | ||
cmsDriver.py --mc \ | ||
--eventcontent PREMIXRAW \ | ||
--datatier GEN-SIM-RAW \ | ||
--conditions 80X_mcRun2_asymptotic_2016_TrancheIV_v6 \ | ||
--step DIGIPREMIX_S2,DATAMIX,L1,DIGI2RAW,HLT:@frozen2016 \ | ||
--datamix PreMix \ | ||
--era Run2_2016 \ | ||
--filein file:T1qqqq_fullsim_GEN-SIM.root \ | ||
--fileout file:T1qqqq_fullsim_PUMix.root \ | ||
--python_filename step2_T1qqqq_fullsim_PUMix_cfg.py \ | ||
--pileup_input "/store/mc/RunIISpring15PrePremix/Neutrino_E-10_gun/GEN-SIM-DIGI-RAW/PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v2-v2/90023/FED016AB-6A85-E611-96E7-002590A80DF0.root" \ | ||
--no_exec \ | ||
-n -1 | ||
``` | ||
|
||
### AODSIM | ||
```bash | ||
cmsDriver.py --mc \ | ||
--eventcontent AODSIM,DQM \ | ||
--runUnscheduled \ | ||
--datatier AODSIM,DQMIO \ | ||
--conditions 80X_mcRun2_asymptotic_2016_TrancheIV_v6 \ | ||
--step RAW2DIGI,RECO,EI,DQM:DQMOfflinePOGMC \ | ||
--era Run2_2016 \ | ||
--filein file:T1qqqq_fullsim_PUMix.root \ | ||
--fileout file:T1qqqq_fullsim_AODSIM.root \ | ||
--python_filename step3_T1qqqq_fullsim_AODSIM_cfg.py \ | ||
--no_exec \ | ||
-n -1 | ||
``` | ||
|
||
### MINIAODSIM | ||
```bash | ||
cmsDriver.py --mc \ | ||
--eventcontent MINIAODSIM \ | ||
--runUnscheduled \ | ||
--datatier MINIAODSIM \ | ||
--conditions 80X_mcRun2_asymptotic_2016_TrancheIV_v6 \ | ||
--step PAT \ | ||
--era Run2_2016 \ | ||
--filein file:T1qqqq_fullsim_AODSIM.root \ | ||
--fileout file:T1qqqq_fullsim_MINIAODSIM.root \ | ||
--python_filename step4_T1qqqq_fullsim_MINIAODSIM_cfg.py \ | ||
--no_exec \ | ||
-n -1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from CRABClient.UserUtilities import config, getUsernameFromSiteDB | ||
config = config() | ||
|
||
config.General.requestName = 'SMS_T1qqqq_fullsim' | ||
config.General.workArea = 'SMS_T1qqqq_fullsim_AODSIM' | ||
config.General.transferOutputs = True | ||
config.General.transferLogs = True | ||
|
||
config.JobType.pluginName = 'ANALYSIS' | ||
config.JobType.psetName = 'step3_T1qqqq_fullsim_AODSIM_cfg.py' | ||
config.JobType.outputFiles = ['T1qqqq_fullsim_AODSIM.root',] | ||
|
||
config.Data.inputDataset = '' | ||
config.Data.inputDBS = 'phys03' | ||
config.Data.splitting = 'EventAwareLumiBased' | ||
config.Data.unitsPerJob = 100 | ||
config.Data.totalUnits = -1 | ||
config.Data.outLFNDirBase = '/store/user/%s/' % (getUsernameFromSiteDB()) | ||
config.Data.publication = True | ||
config.Data.outputDatasetTag = 'T1qqqq_fullsim_Madgraph_Pythia_AODSIM' | ||
|
||
config.Site.storageSite = 'T2_UK_London_IC' | ||
#config.Site.storageSite = 'T2_UK_SGrid_Bristol' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from CRABClient.UserUtilities import config, getUsernameFromSiteDB | ||
config = config() | ||
|
||
config.General.requestName = 'SMS_T1qqqq_fullsim' | ||
config.General.workArea = 'SMS_T1qqqq_fullsim_GEN-SIM' | ||
config.General.transferOutputs = True | ||
config.General.transferLogs = True | ||
|
||
config.JobType.pluginName = 'PrivateMC' | ||
config.JobType.psetName = 'step1_T1qqqq_fullsim_GEN-SIM_cfg.py' | ||
|
||
config.Data.outputPrimaryDataset = 'T1qqqq_fullsim_Madgraph_Pythia' | ||
config.Data.inputDBS = 'global' | ||
config.Data.splitting = 'EventBased' | ||
config.Data.unitsPerJob = 500 | ||
config.Data.totalUnits = 100000 | ||
config.Data.outLFNDirBase = '/store/user/%s/' % (getUsernameFromSiteDB()) | ||
config.Data.publication = True | ||
config.Data.outputDatasetTag = 'T1qqqq_fullsim_Madgraph_Pythia_GEN-SIM' | ||
|
||
config.Site.storageSite = 'T2_UK_London_IC' | ||
#config.Site.storageSite = 'T2_UK_SGrid_Bristol' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from CRABClient.UserUtilities import config, getUsernameFromSiteDB | ||
config = config() | ||
|
||
config.General.requestName = 'SMS_T1qqqq_fullsim' | ||
config.General.workArea = 'SMS_T1qqqq_fullsim_MINIAODSIM' | ||
config.General.transferOutputs = True | ||
config.General.transferLogs = True | ||
|
||
config.JobType.pluginName = 'ANALYSIS' | ||
config.JobType.psetName = 'step4_T1qqqq_fullsim_MINIAODSIM_cfg.py' | ||
config.JobType.outputFiles = ['T1qqqq_fullsim_MINIAODSIM.root'] | ||
|
||
config.Data.inputDataset = '' | ||
config.Data.inputDBS = 'phys03' | ||
config.Data.splitting = 'EventAwareLumiBased' | ||
config.Data.unitsPerJob = 100 | ||
config.Data.totalUnits = -1 | ||
config.Data.outLFNDirBase = '/store/user/%s/' % (getUsernameFromSiteDB()) | ||
config.Data.publication = True | ||
config.Data.outputDatasetTag = 'T1qqqq_fullsim_Madgraph_Pythia_MINIAODSIM' | ||
|
||
config.Site.storageSite = 'T2_UK_London_IC' | ||
#config.Site.storageSite = 'T2_UK_SGrid_Bristol' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from CRABClient.UserUtilities import config, getUsernameFromSiteDB | ||
config = config() | ||
|
||
config.General.requestName = 'SMS_T1qqqq_fullsim' | ||
config.General.workArea = 'SMS_T1qqqq_fullsim_PUMix' | ||
config.General.transferOutputs = True | ||
config.General.transferLogs = True | ||
|
||
config.JobType.pluginName = 'ANALYSIS' | ||
config.JobType.psetName = 'step2_T1qqqq_fullsim_PUMix_cfg.py' | ||
config.JobType.outputFiles = ['T1qqqq_fullsim_PUMix.root',] | ||
|
||
config.Data.inputDataset = '' | ||
config.Data.inputDBS = 'phys03' | ||
config.Data.splitting = 'EventAwareLumiBased' | ||
config.Data.unitsPerJob = 100 | ||
config.Data.totalUnits = -1 | ||
config.Data.outLFNDirBase = '/store/user/%s/' % (getUsernameFromSiteDB()) | ||
config.Data.publication = True | ||
config.Data.outputDatasetTag = 'T1qqqq_fullsim_Madgraph_Pythia_PUMix' | ||
|
||
config.Site.storageSite = 'T2_UK_London_IC' | ||
#config.Site.storageSite = 'T2_UK_SGrid_Bristol' |
Oops, something went wrong.