Giter VIP home page Giter VIP logo

voronoi_xaod's Introduction

Voronoi_xAOD

This is a tool for calculating and applying cluster-based pileup mitigation and subtraction algorithms. It also includes tools for writing out certain quantities to an output tree for performance testing.

Dependencies

This package makes use of UChicago's xAODAnaHelpers package.

Installing

To install,

mkdir myRootCore && cd $_
setupATLAS
rcSetup Base,2.4.33
git clone https://github.com/UCATLAS/xAODAnaHelpers
git clone https://github.com/AvivCukierman/VoronoiWeightTool
git clone https://github.com/AvivCukierman/Voronoi_xAOD
mv Voronoi_xAOD MyAnalysis
rc checkout_pkg atlasoff/AsgExternal/Asg_FastJet/tags
rc checkout_pkg atlasoff/AsgExternal/Asg_FastJetContrib/tags
rc find_packages
rc compile

Running

Two sample run scripts (run_withTool_test.sh, for running on a file stored locally) and (run_withTool_jz1_lsf.sh, for running on a file stored on the grid; uses DQ2 which is currently deprecated) are included in the scripts folder. The --driver option allows you to run on batch, by specifying --driver lsf. I'll document this better later but just ask me for help if you need it for now.

How it works

MyxAODAnalysis

This analysis applies the VoronoiWeightTool tool for applying Voronoi weights to input clusters. It then clusters the resulting clusters into jets using JetReclustering.

JetMatching

This tool calculates two things. First, it matches jets in a jet container to jets in a truth jet container. Then, it attaches a decoration to each truth jet as the minimum distance to any other truth jet (pT > 5 GeV) and to each reco jet as the minimum distance to any other reco jet (pT > 2 GeV). There is also a "isPU" label attached to reco jets that are more than 0.6 from any truth jet above 5 GeV. These metrics are for performance studies, as we look at reconstructed jets matched to isolated truth jets for performance studies, and also calculate the fake rate.

WriteTree

This tool writes out a tree containing some quantities necessary for performance testing, such as reconstructed pT, matched truth jet pT, etc. Again, this tool is for performance studies.

voronoi_xaod's People

Contributors

avivcukierman avatar

Watchers

 avatar  avatar

voronoi_xaod's Issues

Spreading isn't implemented

For now spreading is just equivalent to negative suppression. We need the ANN package to do spreading properly, but adding an external package to Rootcore is notoriously difficult.

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.