Coder Social home page Coder Social logo

mex1upgradestudy's Introduction

MEX1UpgradeStudy

Code for studying impact of various CSC upgrade scenarios on muon reconstruction. CFEB failure code adapted from studies by Devin Taylor: https://github.com/dntaylor/CSCPostLS2RateStudies.

Instructions

Currently, the code is validated for running in SLHC releases of CMSSW 6 on the UCSD T2. To get started, you'll need to do:

export SCRAM_ARCH=slc6_amd64_gcc472
cmsrel CMSSW_6_2_0_SLHC25_patch1
cd CMSSW_6_2_0_SLHC25_patch1/src/
cmsenv
git clone [email protected]:jbradmil/MEX1UpgradeStudy.git
scram b -j 8

There are 3 main stages to this exercise: (1) re-running RECO on a SLHC GEN-SIM-RECO sample to simulate CFEB failure and RecHit loss, (2) making a flat tree out of the RE-RECO'd sample that (at-the-moment) stores gen muons, which may or may not be matched to StandAlone muons, and (3) making some simple efficiency plots and kinematic distributions from this tree. Steps (1) and (2) have been merged into one step.

Quick start guide

The top-level script for re-running RECO is [run_rereco_and_ntupler_cfg.py] (https://github.com/jbradmil/MEX1UpgradeStudy/blob/master/Production/test/run_rereco_and_nutpler cfg.py). It should run out-of-the-box on a sample Z' file if you do

cd Production/test/
cmsRun run_rereco_and_ntupler_cfg.py

To process a full dataset, you can create a crab task by running crabSubmit.py. First, you will want to edit the file to select the dataset and the desired fail rates for the ME2/1, 3/1, and 4/1 chambers. Then (assuming you've configured CRAB correctly), you can do

crab submit -c crabSubmit.py

It should be pretty easy to make some basic plots from these simple trees. You can find some of my plotting scripts in Plotting

mex1upgradestudy's People

Contributors

jbradmil avatar

Watchers

James Cloos avatar  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.