General information

Git commands:

  • CMSSW has a github integration: check files in /cvmfs/cms.cern.ch/common/
    • git cms-init: initialises a CMSSW git repository from github (cms-sw/cmssw has to be forked before)
    • a large repository cache will be built up at the first time (default location in afs home directory, which one should avoid), put the following line in your .zshrc: export CMSSW_GIT_REFERENCE=/afs/desy.de/group/cms/pool/USER/.cmsgit-cache
    • git cms-addpkg: adds a package from the repository to your build environment
    • git cms-merge-topic
  • create new branch: git checkout -b BRANCHNAME
  • checkout remote branch as track branch: git checkout -t origin/BRANCHNAME
  • push new branch to remote repo: git push -u origin BRANCHNAME
  • remove local branch: git -D BRANCHNAME
  • Update remote branch list on local machine: git remote update origin --prune
  • remove remote branch connection in local repo: git branch -d -r origin/BRANCHNAME

How to get official samples

Finding centrally produced samples

Producing samples using official recipes

Data-TIER definitions

Conditions/ Global Tag

Working Twikis

CMSSW framework

CMSSW config files

New products, skims, slims

Thread-safe modules

Ready-to-use modules/ code fragments

PAT

FW-Lite

generator information

dE/dx related information

NAF links

Technical issues

SCRAM build system

EDM data structures

Software Guide on CRAB

General C++

Debugger and further Software Development Tools

Test samples

Official Production (MC and data)

general

database of official MC production setups

data reprocessing

Example use of cmsDriver.py

GEN-SIM-RAW

cmsDriver.py test.py  \
  --step RAW2DIGI,L1Reco,RECO \
  --eventcontent RECOSIM \
  --filein file:RunIIFall15DR76_TT_TuneCUETP8M1_13TeV-powheg-pythia8_GEN-SIM-RAW_25nsFlat10to25TSG_76X_mcRun2_asymptotic_v11_ext3-v1.root \
  --fileout test.root \
  --conditions 76X_mcRun2_asymptotic_v13 \
  -n 1 \
  --no_exec

GEN-AODSIM

cmsDriver.py Configuration/Generator/python/bbA_MSSM_MA150GeV_tanB15_13TeV_pythia6_cfi.py \
  --step GEN,SIM,DIGI,L1,DIGI2RAW,HLT:GRun,RAW2DIGI,L1Reco,RECO \
  --pileup_input dbs:/MinBias_TuneA2MB_13TeV-pythia6/Fall13-POSTLS162_V1-v1/GEN-SIM \
  --pileup AVE_20_BX_25ns \
  --conditions 80X_mcRun2_asymptotic_2016_miniAODv2 \
  --era Run2_25ns \
  --magField 38T_PostLS1 \
  --geometry Extended2015 \
  --beamspot Realistic8TeVCollision \
  --datatier GEN-SIM \
  --mc \
  --eventcontent AODSIM \
  --python_filename bbA_MSSM_MA150GeV_tanB15_13TeV_pythia6_FULLSIM_cfg_1.py \
  -n 100   --no_exec \
  --fileout /nfs/dust/cms/user/perieanu/bbA_MSSM_MA150GeV_tanB15_13TeV_pythia6/AOD/bbA_MSSM_MA150GeV_tanB15_13TeV_pythia6_AODSIM_1.root

AODSIM-miniAOD

cmsDriver.py miniAOD \
  --step PAT \
  --conditions 80X_mcRun2_asymptotic_2016_miniAODv2 \
  --era Run2_25ns \
  --datatier MINIAODSIM \
  --mc \
  --eventcontent MINIAODSIM \
  --filein file:/nfs/dust/cms/user/perieanu/bbA_MSSM_MA150GeV_tanB15_13TeV_pythia6/AOD/bbA_MSSM_MA150GeV_tanB15_13TeV_pythia6_AODSIM_1.root \
  --fileout /nfs/dust/cms/user/perieanu/bbA_MSSM_MA150GeV_tanB15_13TeV_pythia6/AOD/bbA_MSSM_MA150GeV_tanB15_13TeV_pythia6_miniAOD_1.root \
  --python_filename bbA_MSSM_MA150GeV_tanB15_13TeV_pythia6_miniAOD_cfg_1.py \
  -n -1 --no_exec \
  --runUnscheduled

Re-RECO (data)

cmsDriver.py reprocessDeDxHitInfo \
  -s RECO \
  --runUnscheduled \
  --nThreads 4 \
  --data \
  --era Run2_2016 \
  --scenario pp \
  --conditions 80X_dataRun2_Prompt_v8 \
  --eventcontent AOD \
  --datatier AOD \
  --customise Configuration/DataProcessing/RecoTLR.customisePostEra_Run2_2016 \
  --filein inputfile.root \
  -n 500  \
  --no_exec


This topic: Main > TWikiUsers > BenediktVormwald > CMSSWLinkCollection
Topic revision: r19 - 2016-08-22 - BenediktVormwald
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback