Skip to content

Simple example on how to access CMS' NanoAOD files and read some information from it.

License

Notifications You must be signed in to change notification settings

ftorrresd/pyroot_example_nanoaod

Repository files navigation

PyROOT Example on CMS' NanoAOD

Simple example on how to access CMS' NanoAOD files and read some information from it.

Note: Assuming (1) CMSSW environment is available, (2) the user have GRID certificate (3) registered to CMS' VO.

More info:

pyroot_example_nanoaod

Download or clone (HTTPS) or clone (SSH)

wget https://github.com/ftorresd/pyroot_example_nanoaod/archive/refs/heads/main.zip
unzip main.zip
cd pyroot_example_nanoaod-main

or

git clone https://github.com/ftorresd/pyroot_example_nanoaod.git

or

git clone [email protected]:ftorresd/pyroot_example_nanoaod.git

Setup

Only once per session.

source setup_env.sh

Run

python analyser.py

Output

Histograms will be saved at output_file.root.

About

Simple example on how to access CMS' NanoAOD files and read some information from it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published