Skip to content

ilirjan92/ValidationTools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValidationTools

This package contains various scripts for analyzing the flat tree output produced in RecoNtuplizer and DelphesNtuplizer.

Table of contents

Clone

If you do not attempt to contribute to this repository, simply clone it:

git clone git@github.com:recotoolsbenchmarks/ValidationTools.git

If you aim at contributing to the repository, you need to fork this repository (via the fork button) and then clone the forked repository:

git clone git@github.com:YOURGITUSERNAME/ValidationTools.git
cd ValidationTools
git remote add upstream git@github.com:recotoolsbenchmarks/ValidationTools.git

You can then regularly update your fork via:

git fetch upstream && git merge upstream/master

If you want to submit a new feature to recotoolsbenchmarks/ValidationTools you have to do it via pull-request (PR): So, first commit and push your changes to YOURGITUSERNAME/ValidationTools and then make a PR via the github interface.

Initialisation

This package requires python, ROOT and pandas:

./init.sh

Run examples

NtupleDataFormat.py provides a wrapper to the ntuple such that it can be used as if it contained classes. An example implementation can be found in NtupleExample.py (ONLY GENPARTICLES AND MUON CLASSES HAVE BEEN IMPLEMENTED FOR NOW, NEED TO INCLUDE MISSING OBJECTS). You need to provide an ntuple ROOT file to it:

python ntuple_example.py tree.root

About

Contains scripts for reading flat Ntuples and plotting object efficiency, resolutions etc ...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.7%
  • Shell 0.3%