Skip to content

hep-skku/LeptonAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Initial setup

Start from the standard CATTools. If you already have CATTools working directory, you can start from "Install Muon Tag and Probe additional package" step.

## Initialize work directory
cmsrel CMSSW_7_6_3_patch2
cd CMSSW_7_6_3_patch2/src
cmsenv
git-cms-init

## Add CATTools modification to CMSSW
git remote add vallot https://github.com/vallot/cmssw
git fetch vallot
git checkout cat76x

## Install CATTools
cd $CMSSW_BASE/src
git clone -n https://github.com/vallot/CATTools
cd CATTools
git checkout cat76x
git submodule init
git submodule update

## Install Muon Tag and Probe additional packages
cd $CMSSW_BASE/src
git cms-addpkg MuonAnalysis
cd MuonAnalysis
git clone -n https://github.com/cms-analysis/MuonAnalysis-TagAndProbe TagAndProbe
cd TagAndProbe
git checkout 76X

## Install Electron Tag and Probe packages
cd $CMSSW_BASE/src
git-cms-merge-topic matteosan1:egm_tnp_76X

## Install LeptonAnalysis subpackage
cd $CMSSW_BASE/src/CATTools
git clone https://github.com/hep-skku/LeptonAnalysis

## Build the whole package
cd $CMSSW_BASE/src
scram b -j8

Muon tag and probe exercise

Muon POG already provides well defined tag-and-probe ntuple in common eos space. You can skip ntuple production step and directly go to the fitting step. Most of configuration files are already prepared in this repository.

cd $CMSSW_BASE/src/CATTools/LeptonAnalysis/test/Efficiency/Muon
cmsRun tnp_fit_TightId_RD_cfg.py

will give root file containing fit results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published