Coder Social home page Coder Social logo

exovvntuplizerrunii's Introduction

# EXOVVNtuplizerRunII

Ntuplizer for searches for heavy resonances decaying to dibosons

installation instructions

Setting up CMSSW (for september reprocessing):

cmsrel CMSSW_9_4_9
cd CMSSW_9_4_9/src
cmsenv
git cms-init

getting the ntuplizer codes

cd $CMSSW_BASE/src
export GITUSER=`git config user.github`
git clone https://github.com/${GITUSER}/EXOVVNtuplizerRunII 
cd EXOVVNtuplizerRunII
git remote add UZHCMS https://github.com/UZHCMS/EXOVVNtuplizerRunII
git fetch UZHCMS
git checkout -b DevelopmentBranch_9_4_0 UZHCMS/94X_ntuplizer
cd $CMSSW_BASE/src
scram b -j 8

update the cut-based electron ID and MVAID to V2. HEEP are included by default in 94X

(https://twiki.cern.ch/twiki/bin/view/CMS/CutBasedElectronIdentificationRun2)

cd $CMSSW_BASE/src
git cms-merge-topic guitargeek:EgammaID_9_4_X
cd $CMSSW_BASE/src
scram b -j 8

running for data and MC

Just set the proper flag in python/ntuplizerOptions_generic_cfi.py

cmsRun config_generic.py 

to recluster jets and MET, or to add the Higgs-tagger the following flags can be changed:

config["DOAK8RECLUSTERING"] = False
config["DOHBBTAG"] = False
config["DOAK8PRUNEDRECLUSTERING"] = False
config["DOMETRECLUSTERING"] = False

If you want to use Higgs tagger the first two flags must all be set to True.

Batch submission

Config file creation

Config file creation can be done via the createConfig.py script. It requires a text file with a list of input data sets, see e.g. samples/QCD_HT_RunIISpring15MiniAODv2.txt. To run:

python tools/createConfig.py samples/QCD_HT_RunIISpring15MiniAODv2.txt

When running over data, this requires the -d flag. The script will automatically determine if the data sets are available on the T3 storage element. Also, --help will provide more information (e.g. allows changing the default number of jobs per event). If you run the script from a different directory, you need to provide the location of the template file.

Job submission

Submit your jobs using the submitJobsOnT3batch.py script with the generated config files like this:

python submitJobsOnT3batch.py -C myconfig.cfg

Once the jobs are done, they can be checked for completeness like this:

python submitJobsOnT3batch.py -C myconfig.cfg --check

Resubmit jobs like this:

python submitJobsOnT3batch.py -C myconfig.cfg --resubmit 1,4,7

And eventually copied to the SE (path given in the config file):

python submitJobsOnT3batch.py -C myconfig.cfg --copy

Finally, note that, when you run on crab, you have to enable

config.JobType.sendExternalFolder = True

as described at https://twiki.cern.ch/twiki/bin/viewauth/CMS/MultivariateElectronIdentificationRun2#Recipes_and_implementation

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.