Code Monkey home page Code Monkey logo

htomumu's Introduction

HtoMuMu

Gen Level

Studies over the kinematics of the HtoMuMu samples.

export SCRAM_ARCH=slc6_amd64_gcc481
cmsrel CMSSW_7_1_20
cd CMSSW_7_1_20/src
cmsenv
git cms-addpkg GeneratorInterface/Pythia6Interface

To convert the LHE file into Root file and Hadronize: mkdir Configuration/GenProduction/python cd Configuration/GenProduction/python

copy the file: test_PowhegPythiaH190_cff.py and modifies the file according your necesities. scram b -j 10

cd ../../..
cmsRun Configuration/GenProduction/python/test_PowhegPythiaH190_cff.py

After that step you obtain a py. file test_PowhegPythiaH190_cff_py_LHE_GEN.py. Modify the path of the LHE file location. cmsRun test_PowhegPythiaH190_cff_py_LHE_GEN.py

At this point, you get a root file.

To Run the GenLevel analisis code:

git clone https://github.com/lchaparr/HtoMuMu
mv HtoMuMu/BasicTester.cc GeneratorInterface/Pythia6Interface/test
scram b
cmsRun BasicTester_cfg.py

RecoLevel

make 
./H2MuAnalysis -i INPUT_FILE 

It is mandatory have an n-tuple made using the TNT Maker. There are another options like rochester correction off or on. ./H2MuAnalysis -h list all of them.

FSR Photons

Photons from PF paticle collection. The Selector, save the relevant parameters as phi, eta, pt, energy, RelISo, etc., in the n-tuples. The code for ntuplizer (https://github.com/florez/NtupleMaker_740/tree/for_CMSSW_8X) must be modify in order to obtain the FSR photons using this selector.

Ntuples

Ntuple code used for Moriond's samples is located at https://github.com/florez/NtupleMaker_740/tree/for_CMSSW_8025, but must be modify in order to make muon trigger match and FSR photons. The files that you need modified are located at Ntuple_maker directory.

htomumu's People

Watchers

James Cloos avatar Luisa Fda Chaparro avatar

htomumu's Issues

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.