Giter Club home page Giter Club logo

ra1_utilities's Introduction

Here contains all the utilities used to help produce the RA1 analysis

This will contain

  1. PU Reweight Calculation Tool - Produce_PileUp_Weights

     - MC PU distribution is taken straight from twiki
    
     - Data PU distribution is taken from outputting filtered json in ICF code after applying Full Muon selection.
             . Use CMSSSW tools to merge jsons into single json
             . Tale Pileup json from json database. https://cms-service-dqm.web.cern.ch/cms-service-dqm/CAF/certification/Collisions12/8TeV/PileUp/
             . Use pileupCalc.py tool from 
                     https://twiki.cern.ch/twiki/bin/view/CMS/PileupJSONFileforData
                     
                      ./pileupCalc.py -i MyAnalysisJSON.txt --pileupjson.txt --calcMode true --minBiasXsec 69300 --maxPileupBin 60 --numPileupBins 60  MyDataPileupHistogram.root
    
  2. Calculating Btagging probabilities for event by event reweighting. Used in signal samples and Data/MC plots - Make_Eta_Pt_Maps.py

     - Used to calculate the eta and pt dependant tagging efficiencies for b,c and light flavoured jets. Last measured in late 2012, probably needs remeasuring before new paper. 
    
     - Run analysis over all MC samples with the lowest jet thresholds in the analysis
    
     - Btagger effieicncy should be analysis independent for a given eta and pt but Run RA1 Selection anyway for completeness
    
     - Then running this script on the output root file will calculate the efficiency of each eta/pt bin and output them for you. Now place this within the ICF Btag Reweighting code to apply to MC in future.
    
  3. Any other useful scripts I use

ra1_utilities's People

Watchers

James Cloos avatar Chris Lucas avatar Darren Burton 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.