Skip to content

Base classes for flat ROOT nTuple processing

Notifications You must be signed in to change notification settings

johnalison/nTupleAnalysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nTupleAnalysis

Base classes for flat ROOT nTuple processing

Quickstart example

Setup your CMSSW release area:

cd CMSSW_10_2_0/src

cmsenv

Clone this repo with the flat nTuple analysis base class definitions:

git clone [email protected]:patrickbryant/nTupleAnalysis.git

Clone the ZZ4b analysis repo:

git clone [email protected]:patrickbryant/ZZ4b.git

Compile:

scram b ZZ4b/nTupleAnalysis

Initialize grid certificate:

voms-proxy-init -voms cms

Run on a simulated data sample:

nTupleAnalysis ZZ4b/nTupleAnalysis/scripts/nTupleAnalysis_cfg.py -i ZZ4b/fileLists/ZH4b2018.txt -o $PWD -y 2018 -l 59.6e3 --histogramming 1 --histFile hists.root --isMC --nevents 1000

This makes a skimmed nTuple called ZH4b2018/picoAOD.root and a ROOT file with histograms from the event loop called ZH4b2018/hists.root

About

Base classes for flat ROOT nTuple processing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.8%
  • Python 3.2%