Giter Club home page Giter Club logo

sm_cms_das's Introduction

SM exercise for CMS DAS

Note

These notes are mostly meant for the developers but apply for the analysis. If doing the exercise please consider following the instructions at

https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCMSDataAnalysisSchoolZandWinclusiveExercise

Before starting

register to git at https://github.com/

git config --global user.github <your github username>

Installation

export SCRAM_ARCH=slc5_amd64_gcc462

cmsrel CMSSW_5_3_12_patch2

cd CMSSW_5_3_12_patch2/src/

cmsenv

wget -q -O - --no-check-certificate https://raw.github.com/pfs/sm_cms_das/master/TAGS.txt | sh

scram b -j 9

Creating ntuples

cmsRun test/runSManalyzer_data_cfg.py

cmsRun test/runSManalyzer_mc_cfg.py

or use the crab/multicrab files under test/grid

Analysis scripts

To analyze a single file

python test/wz/runEventSelection.py -i file.root

To analyze a set of files for full analysis

python test/runFullAnalysis.py -e test/wz/runEventSelection.py -i /store/cmst3/user/psilva/CMSDAS_v2 -j test/wz/wz_samples.json -o ./results -p "-p -t -w pu,/store/cmst3/user/psilva/CMSDAS_v2/LowLumiRuns_pileup.root,jec,${CMSSW_BASE}/src/UserCode/sm_cms_das/data" -s 8nh

To launch the computation of the PDF weights

python test/runFullAnalysis.py -e ${CMSSW_BASE}/test/${SCRAM_ARCH}/computePDFvariations -i /store/cmst3/user/psilva/CMSDAS_v2 -j test/wz/wz_samples.json -o ./results/pdf -p "-t smDataAnalyzer/data -p CT10.LHgrid" -s 1nd

Make some control plots

python test/runPlotter.py -i results -j test/wz/wz_samples.json -l 18

Run tag and probe

cmsRun test/wz/runTagAndProbe_cfg.py

Authors

sm_cms_das's People

Contributors

pfs avatar stiegerb avatar violatingcp avatar perrozzi avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar

Forkers

violatingcp

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.