Git Product home page Git Product logo

ntupleanalysis's Introduction

nTupleAnalysis

Base classes for flat ROOT nTuple processing

Quickstart example slc6

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

Quickstart example slc7

cmsrel CMSSW_11_1_0_pre6
cd CMSSW_11_1_0_pre6/src/
cmsenv 
git cms-init
git cms-merge-topic patrickbryant:MakePyBind11ParameterSetsIncludingCommandLineArguments
git clone -b CMSSW_11  [email protected]:patrickbryant/nTupleAnalysis.git
git clone -b CMSSW_11  [email protected]:johnalison/TriggerStudies.git

Edit nTupleAnalysis/baseClasses/src/myParameterSetReader.cc nTupleAnalysis/baseClasses/src/myMakeParameterSets.cc to make sure that line

#define NTUPLEANALYSIS_SLC6 1

is commented OUT

ntupleanalysis's People

Contributors

johnalison avatar patrickbryant avatar chuyuanliu avatar ianwharris avatar

Watchers

 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.