Difference: CMSDriverGuide (5 vs. 6)

Revision 62015-03-27 - JanosKarancsi

Line: 1 to 1
 
META TOPICPARENT name="CmsSusy"
Changed:
<
<

1. cmsDriver.py guides/twikis:

>
>

I. General info/Usage:

I/1. cmsDriver.py guides/twikis:

  SWGuideCmsDriver
Line: 8 to 11
  SWGuideGlobalHLT
Deleted:
<
<

2. General info/Usage:

 
Deleted:
<
<

Options overview

Input --> Output Run1 Data Run1 Cosmics Data Run2 Data Run2 Cosmics Data
Common --process NAME

--filein file:input.root

--fileout file:output.root

--python_filename test/TimingStudy_InputData_CMSSWX_cfg.py

--dasquery=file dataset=/X/Y/Z run=N

--no_exec

-n 10

  --conditions auto:run1_data --conditions auto:run2_data
    --scenario cosmics   --scenario cosmics
RAW --> RECO --step RAW2DIGI ,RECO

--eventcontent RECO

RECO/FEVT --> MINIAOD  

Input Run1 MC Run2 MC
Common --process NAME

--filein file:input.root

--fileout file:output.root

--python_filename test/TimingStudy_InputData_CMSSWX_cfg.py

--dasquery=file dataset=/X/Y/Z run=N

--no_exec

-n 10

  --conditions auto:run1_mc --conditions auto:run2_mc

--magField 38T_PostLS1

--beamspot NominalCollision2015

--customise SLHCUpgradeSimulations /Configuration/postLS1Customs.customisePostLS1,Configuration/DataProcessing/Utils.addMonitoring

--> GEN-SIM cmsDriver.py MinBias _13TeV_cfi.py

--step GEN,SIM

--datatier GEN-SIM

--eventcontent FEVTDEBUG or RAWSIM

GEN-SIM --> GEN-SIM-RAW --step DIGI,L1,DIGI2RAW,HLT

--datatier GEN-SIM-RAW

--eventcontent RAWSIM

--pileup NoPileUp or Flat_0_50_25ns or AVE_20_BX_25ns

GEN-SIM-RAW --> RECO --step RAW2DIGI ,L1Reco,RECO

--datatier RECOSIM AODSIM

--eventcontent RECOSIM or AODSIM

RECO/AOD --> MINIAODSIM --step PAT

--eventcontent MINIAODSIM

--runUnscheduled

--conditions PHYS14_25_V1

FASTSIM
 
Changed:
<
<

Info

>
>

I/2. Options overview

Common
--process NAME
--filein file:input.root
--fileout file:output.root
--python_filename test/TimingStudy_InputData_CMSSWX_cfg.py 
--dasquery=file dataset=/*/*/* run=
--no_exec
-n 10
Data
--data

For Run I add:

--conditions auto:run1_data

For Run II add:

--conditions auto:run2_data

For Cosmics add:

--scenario cosmics

1) RAW --> FEVT/RECO/AOD

--step RAW2DIGI,RECO
--datatier RECO
--eventcontent RECO
2) FEVT/RECO/AOD --> MINIAOD
--step PAT
--eventcontent MINIAOD
--runUnscheduled
--conditions PHYS14_25_V2

MC
--mc
For Run I add:
--conditions auto:run1_mc

For Run II add:

--conditions auto:run2_mc
--magField 38T_PostLS1
--beamspot NominalCollision2015
--customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1,Configuration/DataProcessing/Utils.addMonitoring

FastSim
--fast
--step GEN,FASTSIM
--datatier RECOSIM or AODSIM
--eventcontent RECOSIM or AODSIM

FullSim

1) GEN-SIM

cmsDriver.py MinBias_13TeV_cfi.py or Configuration/GenProduction/python/FSQ-RunIIWinter15GS-00004-fragment.py
--step GEN,SIM
--datatier GEN-SIM
--eventcontent FEVTDEBUG or RAWSIM

2) GEN-SIM --> GEN-SIM-RAW

--step DIGI,L1,DIGI2RAW,HLT
--datatier GEN-SIM-RAW
--eventcontent RAWSIM
--pileup NoPileUp or Flat_0_50_25ns or AVE_20_BX_25ns

3) GEN-SIM-RAW --> RECOSIM/AODSIM

--step RAW2DIGI,L1Reco,RECO
--datatier RECOSIM AODSIM
--eventcontent RECOSIM or AODSIM

4) RECOSIM/AODSIM --> MINIAODSIM

--step PAT
--eventcontent MINIAODSIM
--runUnscheduled
--conditions PHYS14_25_V1

I/3. Advice on steps

  - The best is to use a recent working config file before you want to make your first script using the cmsDriver
Line: 54 to 141
 cmsDriver.py Configuration/GenProduction/python/FSQ-RunIIWinter15GS-00004-fragment.py --fileout file:FSQ-RunIIWinter15GS-00004.root --mc --eventcontent RAWSIM --customise SLHCUpgradeSimulations /Configuration/postLS1Customs.customisePostLS1,Configuration/DataProcessing/Utils.addMonitoring --datatier GEN-SIM --conditions MCRUN2_71_V1::All --beamspot NominalCollision2015 --step GEN,SIM --magField 38T_PostLS1 --python_filename FSQ-RunIIWinter15GS-00004_1_cfg.py --no_exec -n 183
Changed:
<
<

2. Examples:

2.1 Generate MinBias GEN-SIM MC

>
>

II. Examples:

II/1. Generate MinBias GEN-SIM MC

 
cmsDriver.py MinBias_13TeV_cfi.py -s GEN,SIM --mc --conditions auto:run2_mc --beamspot NominalCollision2015 --magField 38T_PostLS1 -n 10
Changed:
<
<

2.2 Generate MinBias GEN-SIM MC + HLT Step

>
>

II/2. Generate MinBias GEN-SIM MC + HLT Step

  - L1 and HLT should agree - L1 menu is specified in he GlobalTag
cmsDriver ... -s GEN,...,HLT:7E33v4 --conditions auto:startup_7E33v4
Line: 66 to 153
 - Working recpe:
cmsDriver.py MinBias_13TeV_cfi.py -s GEN,SIM,DIGI,L1,DIGI2RAW,HLT --mc --conditions auto:run2_mc --pileup=NoPileUp --beamspot NominalCollision2015 --magField 38T_PostLS1 --customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1 -n 10
Changed:
<
<

2.3 ReReco Cosmics RAW data (53X) - Add Refitter and TimingStudy

>
>

II/3. ReReco Cosmics RAW data (53X) - Add Refitter and TimingStudy

 
  • Make a config file with cmsDriver.py:
cmsDriver.py step1 --conditions GR_R_53_V21A::All -s RAW2DIGI ,RECO --scenario cosmics --process RawToDigiToReco --data --dasquery=file dataset=/Cosmics/Commissioning12-26Mar2013-v1/RECO run=186160 --eventcontent RECO --fileout file:Cosmics.root --no_exec --python_filename=test/TimingStudy_Cosmics_RawData_CMSSW53X_cfg.py
Line: 84 to 171
 process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.TimingStudy_step)
Changed:
<
<

2.4 ReReco Cosmics RAW data (73X) - Add Refitter and TimingStudy

>
>

II/4. ReReco Cosmics RAW data (73X) - Add Refitter and TimingStudy

 
  • Make a config file with cmsDriver.py:
cmsDriver.py step1 -s RAW2DIGI ,RECO --scenario cosmics --conditions GR_P_V49 --process RawToDigiToReco --data --eventcontent RECO --customise Configuration/DataProcessing/RecoTLR.customiseCosmicDataRun2 --dasquery='file dataset=/Cosmics/Commissioning2015-v1/RAW run=233238' -n 100 --python_filename=test/TimingStudy_Cosmics_RawData_CMSSW73X_cfg.py --no_exec
Line: 102 to 189
 process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.TimingStudy_step)
Changed:
<
<

2.5 Do full reco on GEN-SIM MC - Add Flat Pileup [0,50] Mixing, Refitter and TimingStudy

>
>

II/5. Do full reco on GEN-SIM MC - Add Flat Pileup [0,50] Mixing, Refitter and TimingStudy

 
  • Make a config file with cmsDriver.py:
cmsDriver.py -s DIGI,DIGI2RAW,RAW2DIGI,RECO --mc --conditions auto:run2_mc --pileup=NoPileUp --beamspot NominalCollision2015 --magField 38T_PostLS1 --customise SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1 --process GenSimToReco --filein=file:/data/store/user/hazia/minbias_13tev/ahazi/MinBias_13TeV_GEN_SIM_7_1_0/MinBias_13TeV_GEN_SIM_7_1_0/9cb32faabd78efe327c9c841fa706583/MinBias_13TeV_GENSIM_100_1_bOe.root -n 200 --no_exec --python_filename=test/TimingStudy_GenSimData_CMSSW7X_cfg.py

 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback