TWiki
>
CMS Web
>
NewPhysics
>
CmsSusy
>
CMSDriverGuide
(revision 1) (raw view)
Edit
Attach
---+++ 1. cmsDriver.py guides/twikis: [[https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCmsDriver][SWGuideCmsDriver]] [[https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideFastSimulationExamples][SWGuideFastSimulationExamples]] [[https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideGlobalHLT][SWGuideGlobalHLT]] ---+++ 2. General info/Usage: - The best is to use a recent working config file before you want to make your first script using the cmsDriver - Steps to do this: ---+++++ 1) Go to das: https://cmsweb.cern.ch/das/ - find a dataset of your choice, eg: https://cmsweb.cern.ch/das/request?view=list&limit=100&instance=prod%2Fglobal&input=dataset%3D%2FMinBias*%2F*%2FGEN-SIM+|+sort+dataset.creation_time ---+++++ 2) Go to mcm: https://cms-pdmv.cern.ch/mcm/ - Go click on "Request" on the top of the page - In the "Output dataset" field: type your chosen dataset - In the "Actions column" click on "Get test command" ---+++++ 3) Find cmsDriver.py line, run it, modify script accordint to your likes, also use the CMSSW version there preferably <pre>eg: 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 </pre> ---++ 2. Examples: ---+++ 2.1 Generate MinBias GEN-SIM MC <pre>cmsDriver.py MinBias_13TeV_cfi.py -s GEN,SIM --mc --conditions auto:run2_mc --beamspot NominalCollision2015 --magField 38T_PostLS1 -n 10</pre> ---+++ 2.2 Generate MinBias GEN-SIM MC + HLT Step - L1 and HLT should agree - L1 menu is specified in he GlobalTag <pre>cmsDriver ... -s GEN,...,HLT:7E33v4 --conditions auto:startup_7E33v4</pre> - Working recpe: <pre>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</pre> -- Main.JanosKarancsi - 2015-02-26
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r9
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2015-02-26
-
JanosKarancsi
CMS
Hungarian Academy of Sciences (MTA)
Wigner RCP
Department of High Energy Physics
CMS (CERN)
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback