Sept 11, 2003ROOT Day1, Suzanne Panacek39 ROOT An object oriented HEP analysis framework. Day 1.

Slides:



Advertisements
Similar presentations
© 2011 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Advertisements

Geo GIS Practicuum Introduction to ArcGIS 8 Exercise 5 - ESRI Virtual Campus Chapters 1-2, ArcGIS Methods …
ROOT Root Commands and CINT Functions and Fitting (The Tree Viewer)
Why ROOT?. ROOT ROOT: is an object_oriented frame work aimed at solving the data analysis challenges of high energy physics Object _oriented: by encapsulation,
Click the Enter button to begin using the Compendium Click to continue.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: First Steps Kay Kasemir ORNL/SNS June 2014.
© 2010 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
Postgraduate Computing Lectures Applications I: Analysis Tools 1 Applications: Analysis Tools Analysis Tools –Used to extract Physics from reconstructed.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTION Lesson 1 – Microsoft Office XP Basics and the Internet.
Postgraduate Computing Lectures ROOT 1 What is ROOT? Tool and a Framework for OO Data Analysis As a Tool –Enter commands to display and manipulate data.
Macromedia Dreamweaver MX 2004 Design Professional Web Page DEVELOPING A.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Getting Started with Dreamweaver
Adobe Dreamweaver CS3 Revealed CHAPTER ONE: GETTING STARTED WITH DREAMWEAVER.
ROOT An object oriented HEP analysis framework.. Computing in Physics Physics = experimental science =>Experiments (e.g. at CERN) Planning phase Physics.
CHEP Feb 2000 A comparison of data analysis packages A Comparison of Data Analysis Packages Irwin Gaines, Jeff Kallenbach Fermilab.
MCTS Guide to Microsoft Windows 7
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
JAS3 + AIDA LC Simulations Workshop SLAC 19 th May 2003.
IE 411/511: Visual Programming for Industrial Applications
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Introduction to Matlab & Data Analysis
21-Apr-2005J. Adamczewski1 DVEE C++ course 2005 The ROOT framework 1: Introduction.
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Chapter 10 Fireworks: Part II The Web Warrior Guide to Web Design Technologies.
1.Getting Started 2.Modifying Design 3.Page 4.News 5.Events 6.Photo Gallery 7.Newsletter Index Training 15 th Mar., 2011.
Macromedia Dreamweaver 8 Revealed DREAMWEAVER GETTING STARTED WITH.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
System for Administration, Training, and Educational Resources for NASA SATERN Overview for Users December 2009.
XP New Perspectives on Microsoft Windows 2000 Professional Windows 2000 Tutorial 1 1 Microsoft Windows 2000 Professional Tutorial 1 – Exploring the Basics.
With Windows 7 Introductory© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 Windows 7 Introductory Chapter 3 Advanced File Management and Advanced.
ROOT Tutorial An object oriented HEP data analysis framework Presented by Dimitri Bourilkov University of Florida UltraLight Workshop, June 2005, FIU,
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
SATERN for Supervisors Updated: December Session Objectives At the end of the session, participants will be able to:  Describe SATERN  Log in.
ROOT What & Why? ROOT Status ROOT Application ROOT Install ROOT Example ROOT References Introduction to March 13, 2003 Dae Jung CHEP.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Chapter Three The UNIX Editors.
06/13/2001Dmitry Litvintsev CDF Event Display Dmitry Litvintsev, Fermilab CDF Collaboration Introduction Elements of CDF Run II Event.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GGO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4GO4G.
2004/051 >> Supply Chain Solutions That Deliver Users.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Postgraduate Computing Lectures PAW 1 PAW: Physicist Analysis Workstation What is PAW? –A tool to display and manipulate data. Learning PAW –See ref. in.
LCG AA Meeting 31 October 2007 The new dynamically and extensively customizable ROOT browser Bertrand Bellenot.
S.Linev: Go4 - J.Adamczewski, H.G.Essel, S.Linev ROOT 2005 New development in Go4.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
GLAST 1 Event Display VRVS meeting Glast software collaboration Pisa experience with ROOT N Lumb and G Spandre INFN-Pisa.
1 G4UIRoot Isidro González ALICE ROOT /10/2002.
Go4 Workshop J.Adamczewski-Musch, S.Linev Go4 advanced features.
LCG AA Meeting 30 June 2004 Ilka Antcheva Graphics User Interface in ROOT.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
User Manual for Tmaptool – T1 ρ processing tool Guruprasad Krishnamoorthy Chetana Bayas Gargi Pednekar.
Sitecore Basic Training Content Management System (CMS) University Communications Web Services
Online Data Monitoring Framework Based on Histogram Packaging in Network Distributed Data Acquisition Systems Tomoyuki Konno 1, Anatael Cabrera 2, Masaki.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
2001 ROOT Workshop The Summary. Content Most Requested Request already satisfied Build and Distribution Web Page Information and Documentation.
Chapter 2: The Visual Studio .NET Development Environment
Chapter A - Getting Started with Dreamweaver MX 2004
Chapter A - Getting Started with Dreamweaver MX 2004
Distributed object monitoring for ROOT analyses with Go4 v.3
Getting Started with Dreamweaver
ROOT Class Day 1 An Object Oriented Data Analysis Framework
ROOT Support and Developments at FNAL
Presentation transcript:

Sept 11, 2003ROOT Day1, Suzanne Panacek39 ROOT An object oriented HEP analysis framework. Day 1

Sept 11, 2003ROOT Day1, Suzanne Panacek1 ROOT User's Workshop Fermilab June 13-15,

Sept 11, 2003ROOT Day1, Suzanne Panacek1 The ROOT Team

Sept 11, 2003ROOT Day1, Suzanne Panacek1 ROOT contacts at Fermi Philippe Canal, x2545 Suzanne Panacek, x Jeff Kallenbach, x

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Mailing Lists the ROOT mailing list: archives: Fermilab mailing list: archives:

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Class Schedule: Day 2: Monday, 3/19/01 : 9AM – 11AM in EOC Large Class Room Day 3: Tuesday, 3/20/01 : 1PM- 3PM in EOC Large Class Room

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Class Schedule - Day 1 Overview of the ROOT Framework GUI basics Command line basics Finding Information (class reference guide) Getting started with the exercises

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Class Schedule - Day 2 Root Commands and CINT Discuss Exercises Functions and Fitting The Tree Viewer

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Class Schedule - Day 3 Building ROOT Trees Reading Trees Using Trees in Analysis TTree->Draw TTree->MakeClass Chains Exercise discussion How to add your Own Class With the Interpreter With the compiler (shared library) With ACLiC

Sept 11, 2003ROOT Day1, Suzanne Panacek1 ROOT Overview What about PAW Concepts: Object Oriented Design, Frameworks Services and Utilities Libraries Physical Organization

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Differences from PAW Regular grammar (C++) on command line Single language (compiled and interpreted) Object Oriented (use your class in the interpreter) Advanced Interactive User Interface Well Documented code. HTML class descriptions for every class. Object I/O including Schema Evolution 3-d interfaces with OpenGL and X3D.

Sept 11, 2003ROOT Day1, Suzanne Panacek1 PAW to ROOT File Conversion Get the example PAW file from At the system prompt type > h2root toyz.rz toyz.root Once you've done the conversion, you can then start a ROOT session and open toyz.root Also see:

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Object Oriented Concepts Members: a “has a” relationship to the class. Inheritance: an “is a” relationship to the class.  Class: the description of a “thing” in the system  Object: instance of a class  Methods: functions for a class

Sept 11, 2003ROOT Day1, Suzanne Panacek1 A Framework provides utilities and services.

Sept 11, 2003ROOT Day1, Suzanne Panacek1 ROOT's Services/Utilities  Histogramming and Fitting  Graphics (2D, 3D)  I/O to file or socket: specialized for histograms, Ntuples (Trees)  Collection Classes and Run Time Type Identification User Interface  GUI: Browsers, Panels, Tree Viewer  Command Line interface: C++ interpreter CINT  Script Processor (C++ compiled  C++ interpreted)

Sept 11, 2003ROOT Day1, Suzanne Panacek1 The Libraries Over 350 classes Core CINT Libraries loaded at startup: Hist, Tree … Libraries loaded when needed: HistPainter, TreePlayer,… Special purpose libraries: EG, Physics…

Sept 11, 2003ROOT Day1, Suzanne Panacek1 The Framework Organization

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Three User Interfaces GUI windows, buttons, menus Root Command line CINT (C++ interpreter) Macros, applications, libraries (C++ compiler and interpreter)

Sept 11, 2003ROOT Day1, Suzanne Panacek1 ROOT Overview Summary PAW Concepts: Object Oriented Design, Frameworks Services and Utilities Libraries Physical Organization

Sept 11, 2003ROOT Day1, Suzanne Panacek1 GUI Basics Browsing and opening files Drawing histograms Right click, left click, middle click Draw Panel Fit Panel Adding Color and Zooming Adding text and other objects Dividing the canvas Setting the log scale

Sept 11, 2003ROOT Day1, Suzanne Panacek1 GUI Basics Display the browser 1. TBrowser b; Start root > root Quit root (just in case) root[0]>.q

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Displaying a Histogram Display a histogram The Canvas Open the root file Browse the file

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Basic Navigation by Clicking Left Click select the object drag the object resize the object Right Click context menu class::name methods Middle Click activate canvas freezes event status bar

Sept 11, 2003ROOT Day1, Suzanne Panacek1 The Draw Panel The Event Status The Draw Panel Adding Error bars Slider Defaults

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Fitting, Coloring, and Zooming Adding a gaussian fit Coloring the histogram Zooming/unzooming

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Adding Objects to the Canvas The Editor Adding an Arrow Adding Text

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Adding another Pad Add a Pad Select the new Pad Draw a histogram Add a title for the axis

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Modifying the Statistics The Canvas in the Browser Setting the (7) statistics options default =

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Dividing the Canvas Create a new Canvas Divide it in 2 Draw two histograms. 1. Lego plot 2. LogY

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Command Line Basics Use up and down arrows to recall commands $HOME/.root_hist Use emacs commands to navigate

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Open a File Open a file for reading root [] TFile f("Example.root") Look at the contents of the file root [] f.ls() TFile** Example.root ROOT file TFile* Example.root ROOT file KEY: TTree myTree;1 Example ROOT tree KEY: TH1F totalHistogram;1 Total Distribution KEY: TH1F mainHistogram;1 Main Contributor KEY: TH1F s1Histogram;1 First Signal KEY: TH1F s2Histogram;1 Second Signal

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Plotting a Variable Plot a variable root [] myTree->Draw("xs1") Where did myTree come from? ROOT executed an implicit gROOT->FindObject("myTree") And now.. root[] f.ls() … OBJ: TTree myTree Example ROOT tree: 0 KEY: TTree myTree;1 Example ROOT tree

Sept 11, 2003ROOT Day1, Suzanne Panacek1 The ROOT File A TFile is a directory structure like UNIX Object in Memory (OBJ) Object on Disk (KEY)

Sept 11, 2003ROOT Day1, Suzanne Panacek1 The ROOT Tree Stores large quantities of same class objects: Optimize disk space Optimize access speed Had analysis methods (TTree::Draw) TNtuple is a TTree limited to floating point numbers. More details later …

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Fitting To add a Gaussian Fit root [] htemp->Fit("gaus") Where did htemp come from? automatically generated histogram by the TTree::Draw command.

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Color and Error Bars To add color root [] htemp->SetFillColor(9) See pg. 134 of the Users Guide for color index Or on any Canvas choose View:Colors Drawing Error Bars root[] htemp->Draw("E1,same") Many Draw Options See the User's Guide

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Command Line Basics Open and browse a file Drawing histograms Adding a Fit Adding Error bars Adding Color

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Where to Find Information The ROOT Home: Talks and publications on ROOT: To get information on a specific class :

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Class Reference Guide Find the class in the index, for example TH1. Class Inheritance class TH1 : public TNamed, public TAttLine, public TAttFill, public TAttMarker Class Description Private members Public methods Code

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Finding Examples The ROOT Tutorials: The ROOT How To's: For on-line help for a particular topic it's very useful to use their facility to search the ROOT site.

Sept 11, 2003ROOT Day1, Suzanne Panacek1 More Information To subscribe to roottalk: To submit a bug report: About ROOT at Fermi: To subscribe to the about-root mailing list send mail to with the body of the subscribe about-root

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Summary Overview of ROOT GUI Basics Command line basics Using the Class reference guide PAW to ROOT conversion

Sept 11, 2003ROOT Day1, Suzanne Panacek1 Getting started with the Exercises Go to: for setup instructions using Reflection and ssh on fcdfsgi2 and d0mino and minos1. Find the exercises on line at: