Giter Site home page Giter Site logo

pancakes's Introduction

DASZLE Pancakes

Set up CMSSW

setenv SCRAM_ARCH slc7_amd64_gcc700
cmsrel CMSSW_10_6_5
cd CMSSW_10_6_5/src
cmsenv
git cms-addpkg PhysicsTools/NanoAOD 
git cms-addpkg PhysicsTools/SelectorUtils 

Get customized NanoAOD producer

git clone https://github.com/case-team/Pancakes.git PhysicsTools/Pancakes

Compile

scram b -j 16

Test

mkdir PhysicsTools/Pancakes/test
cd PhysicsTools/Pancakes/test

MC:

2018: 102X_upgrade2018_realistic_v19

ex. file: /store/mc/RunIIAutumn18MiniAOD/BulkGravTohhTohWWhbb_narrow_M-2300_TuneCP2_13TeV-madgraph_pythia8/MINIAODSIM/102X_upgrade2018_realistic_v15-v1/260000/24516D8A-B053-1A42-A10F-07EA8D96FE6C.root

cmsDriver.py test_pancakes_mc --filein /store/mc/RunIIAutumn18MiniAOD/BulkGravTohhTohWWhbb_narrow_M-2300_TuneCP2_13TeV-madgraph_pythia8/MINIAODSIM/102X_upgrade2018_realistic_v15-v1/260000/24516D8A-B053-1A42-A10F-07EA8D96FE6C.root --fileout file:RunIIAutumn18NanoAODv5_BulkGravTohhTohWWhbb.root --mc --eventcontent NANOAODSIM --datatier NANOAODSIM --conditions 102X_upgrade2018_realistic_v19 --step NANO --nThreads 2 --era Run2_2018,run2_nanoAOD_102Xv1 --customise PhysicsTools/Pancakes/nanoHRT_cff.nanoHRT_customizeMC --customise PhysicsTools/Pancakes/ak8_cff.addCustomizedAK8PF -n 10 --no_exec 

Data:

2018: 102X_dataRun2_v11

ex. file: /store/data/Run2018B/JetHT/MINIAOD/17Sep2018-v1/60000/FE3C69F0-A0BC-8941-92AF-B0DA1A6270BF.root

cmsDriver.py test_pancakes_data --filein /store/data/Run2018B/JetHT/MINIAOD/17Sep2018-v1/60000/FE3C69F0-A0BC-8941-92AF-B0DA1A6270BF.root --fileout file:RunIIAutumn18NanoAODv5_JetHTRun2018B.root --data --eventcontent NANOAOD --datatier NANOAOD --conditions 102X_dataRun2_v11 --eventcontent NANOAOD --era Run2_2018,run2_nanoAOD_102Xv1 --customise PhysicsTools/Pancakes/nanoHRT_cff.nanoHRT_customizeData --customise PhysicsTools/Pancakes/ak8_cff.addCustomizedAK8PF -s NANO --no_exec 

Production

Step 0: switch to the crab production directory and set up grid proxy, CRAB environment, etc.

mkdir -p $CMSSW_BASE/src/PhysicsTools/Pancakes/crab
cd $CMSSW_BASE/src/PhysicsTools/Pancakes/crab
# set up grid proxy
voms-proxy-init -rfc -voms cms --valid 168:00
# set up CRAB env (must be done after cmsenv)
source /cvmfs/cms.cern.ch/crab3/crab.sh

Step 1: generate the python config file with cmsDriver.py. Step 2: use the crab.py script to submit the CRAB jobs (use --dry-run to test)

These commands are condensed in e.g. submit_data_UL.sh or submit_mc_UL.sh. They will perform a "dryrun" to print out the CRAB configuration files. Please check everything is correct (e.g., the output path, version number, requested number of cores, etc.) before submitting the actual jobs. To actually submit the jobs to CRAB, just remove the --dryrun option at the end.

To check status https://monit-grafana.cern.ch/d/cmsTMDetail/cms-task-monitoring-task-view

pancakes's People

Contributors

hqucms avatar cmantill avatar nsmith- avatar ozamram avatar knash avatar justinrpilot avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.