Introduction to ROOT and data analysis



Similar documents
How to create pop-up menus

Start Active-HDL by double clicking on the Active-HDL Icon (windows).

Introduction to Simulink

Getting started in Excel

Installation of ADS SiMKit startup script and designkit on Windows for SiMKit version 4.4

Understand for FORTRAN

CDOT Linking Excel Documents to MicroStation

KeePass Getting Started on Windows

Introduction to Windows XP

Getting Started Guide for FTP

Avaya Network Configuration Manager User Guide

Scientific Graphing in Excel 2010

Building a Personal Website (Adapted from the Building a Town Website Student Guide 2003 Macromedia, Inc.)

LabVIEW Day 1 Basics. Vern Lindberg. 1 The Look of LabVIEW

How to create buttons and navigation bars

Getting Started Using Mentor Graphic s ModelSim

Introduction to ROOT

TELECOMMUNICATIONS REQUIREMENTS FOR TRANSMITTING ELECTRONIC DATA FILES ADMINISTRATIVE SERVICES OF KANSAS

Tutorial Guide to the IS Unix Service

DiskPulse DISK CHANGE MONITOR

Using Adobe Dreamweaver CS4 (10.0)

Personal Geodatabase 101

Topic 2: Computer Management File Management Folders A folder is a named storage location where related files can be stored. A folder also known as

EMC Documentum Webtop

Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide

TIBCO Fulfillment Provisioning Session Layer for FTP Installation

Creating a Java application using Perfect Developer and the Java Develo...

Tutorial 2: Reading and Manipulating Files Jason Pienaar and Tom Miller

EBSCO MEDIA FILE TRANSFER SOFTWARE INSTALLATION INSTRUCTIONS

Changing Your Cameleon Server IP

MicroStrategy Quick Guide: Creating Prompts ITU Data Mart Support Group, Reporting Services

Introduction Course in SPSS - Evening 1

Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)

WIX: Building a Website with a Template. Choosing a Template First you will need to choose a template from the Create section of the Wix website.

DEVELOPMENT OF AN ANALYSIS AND REPORTING TOOL FOR ORACLE FORMS SOURCE CODES

GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4G

Tera Term Telnet. Introduction

TUTORIAL 4 Building a Navigation Bar with Fireworks

Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner

Create a PDF File. Tip. In this lesson, you will learn how to:

Web File Management with SSH Secure Shell 3.2.3

Lesson 1 - Creating a Project

Hypercosm. Studio.

How to FTP (How to upload files on a web-server)

The serial port is another kind of transmission mode in some outdated PC as a supplementary in failure of USB transmission.

TechTips. Connecting Xcelsius Dashboards to External Data Sources using: Web Services (Dynamic Web Query)

Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model.

Capture Pro Software FTP Server Output Format

HOW TO CREATE AN HTML5 JEOPARDY- STYLE GAME IN CAPTIVATE

Computer Skills: Files and Folders

Lab 3: Introduction to Data Acquisition Cards

Controllable Space Phaser. User Manual

Microsoft. File Management. Windows Desktop. Microsoft File Management NCSEA

Advanced Guide for Configuring SNMPc to Manage Any SNMP Enabled Device

STC: Descriptive Statistics in Excel Running Descriptive and Correlational Analysis in Excel 2013

Module 1: Getting Started With Altium Designer

ParishSOFT Remote Installation

File Manager Pro User Guide. Version 3.0

EET 310 Programming Tools

Using the ELMS Management Tool (EMT) to Create Independent Study Spaces in ELMS Canvas

USING SSL/TLS WITH TERMINAL EMULATION

Web Design. Links and Navigation

Quick Start Using DASYLab with your Measurement Computing USB device

Scan to PC. Create a scan profile Custom Scan to PC settings Make copies. Send faxes

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

WaveVision 5 Software

How to download your NI Press ebook for Nook Users

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

Data Mining. SPSS Clementine Clementine Overview. Spring 2010 Instructor: Dr. Masoud Yaghini. Clementine

HammerDB Metrics. Introduction. Installation

KI6501 Data Manager. Software User Manual

Using SQL Server Management Studio

Capture Pro Software FTP Server System Output

School of Electrical and Information Engineering. The Remote Laboratory System. Electrical and Information Engineering Project 2006.

4 Other useful features on the course web page. 5 Accessing SAS

PTC Integrity Eclipse and IBM Rational Development Platform Guide

Visual Basic Programming. An Introduction

Introduction to MS WINDOWS XP

Working With Your FTP Site

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

Programming in Access VBA

NetMeeting - User Guide

QQConnect Overview Guide

ClickView Digital Signage User Manual

CREATING AN IMAGE FROM AUTOCAD CADD NOTE 16. MENU: AutoCAD, File, Plot COMMAND: plot ICON:

Install FileZilla Client. Connecting to an FTP server

Getting Started Guide. Chapter 14 Customizing LibreOffice

CGS 1550 File Transfer Project Revised 3/10/2005

Hands-On: Introduction to Object-Oriented Programming in LabVIEW

Computer Basics: Tackling the mouse, keyboard, and using Windows

Topography of an Origin Project and Workspace

ABAQUS/CAE Tutorial: Analysis of an Aluminum Bracket

Zahner 08/2013. Monitor measurements in a separate window.

Building a Simulink model for real-time analysis V Copyright g.tec medical engineering GmbH

Making a Web Page with Microsoft Publisher 2003

Arena Tutorial 1. Installation STUDENT 2. Overall Features of Arena

Structural Health Monitoring Tools (SHMTools)

Rapid Application Design with the ROOT GUI Classes

Using HTML5 Pack for ADOBE ILLUSTRATOR CS5

Microsoft Word 2010 Tutorial

Transcription:

Introduction to ROOT and data analysis What is ROOT? Widely used in the online/offline data analyses in particle and nuclear physics Developed for the LHC experiments in CERN (root.cern.ch) Based on Object Oriented programming with C++ What can ROOT do? Save data Your data (and any C++ object) can be saved in a compressed binary form in a ROOT file. Access data Data saved into one or several ROOT files can be accessed from your PC. Process data Powerful mathematical and statistical tools are provided to operate on your data. Show results Results are shown with histograms, scatter plots, fitting functions, etc. Interactive or built application You can use the CINT C++ interpreter for your interactive sessions and to write macros, or compile your program to run.

GUI windows, buttons, menus Three ways to use ROOT Root Command line CINT (c++ interpreter) Macros, applications, libraries. The ROOT file A directory structure like UNIX Items in a directory can be: subdirectory objects (canvas, histograms, etc.) root trees In this Praktikum Histograms and some results can be saved in the root file

Start ROOT Getting started with the GUI Click the ROOT icon (or from the Start Menu) Quit ROOT (just in case) Root [0]>.q Display the browser Root [0]> new TBrowser(); Open the browser Click the root file Browse the file Click the histogram Displaying a histogram Basic navigations by clicking Left click select the object drag the object resize the object Right click context menu Middle click activate t canvas

Histogram Graphical display of tabulated frequencies, very frequently used on the statistical data analysis Usually shown as bars Important parameters Histogram range Minimum Maximum Size of divisions or number of divisions: bin Coloring histograms Changing styles of histograms Error bars Lines 2D or 3D Changing division (bin size) Draw panel

Histogram fitting with Default functions Gaussian Landau Exponential Linear Quadratic Users can also define their own functions Changing conditions interactively Results shown in the terminal Fitting with Fit Panel Analysis: Step 1 Taking the maximum amplitude data from the oscilloscope and save the data on the disc Reading the saved data by using a ROOT macro, ReadData.C Root[0]>.L ReadData.C; Root[1]> ReadData( file name ); Observing the amplitude data on the screen Create histogram for the saved amplitude by using a ROOT macro, HistoData.C Root[0]>.L HistoData.C; Root[1]> HistoData( file name ); Modify the histogram by changing the histogram parameters in TH1F() Perform analysis on the histogram

Name of method, name: input data file name ReadData.C Declaring parameters double: double float char: character string: character Checking if the file exists Iterating all signal data. Store x and y information in x[] and y[] Showing x and y values on the screen HistoData.C Creating a canvas to display a histogram Definition of histograms TH1F(name,title,divisions,min,max) Filling x[] in the histogram h1 Displaying h1 on the canvas c1

Analysis: Step 2 Taking the wave form data by the oscilloscope and save the data on the disc Reading the saved data by using a ROOT macro, ReadData_Gauss.C Root[0]>.L ReadData_Gauss.C; Root[1]> ReadData_Gauss( file name ); The macro ReadData_Gauss.C also performs fitting ov the wave form by using Gaussian. Fitted parameters, amplitide, sigma and mean are saved in the other output ascii file Read the saved fitting parameters and create a histogram of the amplitude parameters by using a ROOT macro, HistoData_Gauss.C Root[0]>.L HistoData_Gauss.C; Root[1]> HistoData_Gauss( fitting_output.txt ); t t t t t ) Modify the histogram by changing the histogram parameters in TH1F() Perform analysis on the histogram ReadData_Gauss.C Getting the session name to be analyzed Getting the number of the waveform files to be analyzed Creating the list of the g names of waveform data

ReadData_Gauss.C Creating a canvas to show the signal shape and fitting Creating output file to store the fitting i results Iterating on the data files from the created list Reading signal data (600 points) and store in x[] and y[] Plotting x[] and y[] data Defining Gaussian function and fit the plot Displaying the plot and the fitting Getting fitting results Write the fitting results to the output file HistoData_Gauss.C Reading the file for the fitting results Filling the amplitude to the histogram h1

More explanation on ROOT and C++ programming Date: December 3rd Time: 10:00 AM Place: Here