Giter Club home page Giter Club logo

hcalclosuretest1's Introduction

HcalClosureTest

Code to calibrate CMS's HCAL in eta using dijet balance. Created by J. P. Chou (Brown) https://github.com/johnpaulchou/usercode/tree/master/HcalClosureTest and updated by David G. Sheffield (Rutgers).

Runs in CMSSW_5_3_18.

Creating the tree

Running Analyzers/test/testRespCorrDiJets_cfg.py creates a tree containing the information needed for dijet balancing. It is set by default to run over CaloJets, PFJets, and GenJets. Any of these can be shut off by adding the lines

process.calcrespcorrdijets.doCaloJets = cms.bool(False)
process.calcrespcorrdijets.doPFJets   = cms.bool(False)
process.calcrespcorrdijets.doGenJets  = cms.bool(False)

When using PFJets, the dataset being run over must be RECO as AOD does not save the necessary PF block information. When using GenJets, the dataset must contain SIM information.

Testing the results

The source code Analyzers/test/testRespCorrDiJetsTree.cc creates an executable CMSSW_5_3_18/test/slc5_amd64_gcc462/testRespCorrDiJetsTree that creates plots to validate the tree.

Getting response corrections

The source code DataFormat/test/runCaloJetCorr.cc creates an excecutable CMSSW_5_3_18/test/slc5_amd64_gcc462/runPFJetCorr that takes the tree and determines the response corrections.

Testing the results

The source code DataFormat/test/testResponseCorr.cc creates an executable CMSSW_5_3_18/test/slc5_amd64_gcc462/testResponseCorr that creates plots of Ereconstructed/Egen for response corrections of unity and response corrections found in the last step to compare their performance.

hcalclosuretest1's People

Contributors

davidsheffield avatar andjuo avatar arnabpurohit avatar swagata87 avatar lovedeepkaursaini 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.