General information

Git commands

  • CMSSW has a github integration: check files in /cvmfs/
    • 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/
    • 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



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


on lxplus:
export PATH=$HOME/.local/bin:/afs/$PATH
brilcalc lumi -b 'STABLE BEAMS' --normtag /afs/ -i blllla.json 

Test samples

Official Production (MC and data)


database of official MC production setups

data reprocessing

Example use of

  --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 \

GEN-AODSIM Configuration/Generator/python/ \
  --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 \
  -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 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 \
  -n -1 --no_exec \

Re-RECO (data) 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  \
Edit | Attach | Watch | Print version | History: r24 < r23 < r22 < r21 < r20 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r24 - 2017-02-02 - BenediktVormwald
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback