Git Product home page Git Product logo

vlqana's Introduction

setenv SCRAM_ARCH slc6_amd64_gcc530

cmsrel CMSSW_8_0_20

cd CMSSW_8_0_20/src

git cms-init

git cms-merge-topic dmajumder:CMSSW_8_0_X_AnalysisDataFormats_BoostedObjects

git clone [email protected]:dmajumder/EventCounter.git Analysis/EventCounter

git clone -b CMSSW_8_0_X_NewB2GAnaFW [email protected]:dmajumder/VLQAna.git Analysis/VLQAna

#To just build this stuff scram b -j20

To run on OS2L analysis

cd Analysis/VLQAna/test

cmsRun vlqAna_cfg.py

#To generate VLQ trees after pre-selection

cmsRun vlqAna_cfg.py storePreselEvts=True

To process lots of CRAB jobs producing the above trees:

python tpthPreselTrees_submit_all.py -f CRAB/tpth_tosubmit.txt

Make sure to uncomment the dataset names in the file 'CRAB/tpth_tosubmit.txt ' you want to process.

Be mindful of the switches for processing data and MC.

To process data, change in tpthPreselTrees_submit_all.py line 52:

config.JobType.pyCfgParams = ['isData=True','doPUReweightingOfficial=False','jecShift=0','jerShift=0', 'doBTagSFUnc=False']

To run crab jobs for skims, e.g for CR in dielectron channel

Analysis/VLQAna/test/Skim/CRAB/Skims_CR_Zelel

Modify the exisiting crab file, by changing the relvant parameters, like config.General.requestName, config.Data.inputDataset, config.Data.outLFNDirBase, config.Site.storageSite etc.

crab submit -c crab_XX.py

This will create an output condor directory, through which you can check the status of the jobs.

crab status -d MY_CONDOR_DIR

Please see more details https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookCRAB3Tutorial.

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.