Coder Social home page Coder Social logo

roottutorial's Introduction

RootTutorial

Welcome to the root tutorial!

This is intended for incoming undergrad (or even grad students) interested high energy physics given during the summer 2017 session at Rutgers. Almost all experiments in the field utilize ROOT as the standard data analysis and visualization toolkit. The following tutorial assumes that you have ROOT 6.04 (or above) installed in your personal laptop and the corresponding pre-requisites. We begin with an assumption of familiarity with bash and c++ (or maybe some python).

I will be running this on my mac book air and its quite easy to install root via the source code from here: https://root.cern.ch/

If you do not have root installed by the start of this tutorial, please start the install procedure (with the help of someone, either myself of Ian) and in the meanwhile, you can run root (if you have a cern account) on the swan system here: https://swanserver.web.cern.ch/swanserver/rootdemo/.

This tutorial is based on the excellent 2015 summer school lectures at CERN https://indico.cern.ch/event/395198/attachments/791523/1084984/ROOT_Summer_Student_Tutorial_2015.pdf

The following are some of the most fundamental tasks

  1. Read a text file with input information
  2. Create and fit the histogram/distributions based on a given function
  3. Make plots/histograms and save the plots as .pdf

More advanced tasks

  1. Read and analyze events from a ROOT file with the tree structure
  2. Visualize the information in the trees via a object browser
  3. Loop over the events and create histograms to store meaningful variables
  4. Perform simple operations on the histograms and write the output to a ROOT file

roottutorial's People

Contributors

rkunnawa avatar

Watchers

James Cloos 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.