RootMaker v1.0.0 Jordan Damgov, Shuichi Kunori. Contents Introduction Root file - structure and objects File size and CPU time Example for root file analysis.

Slides:



Advertisements
Similar presentations
FAWP Fast Analysis With Pythia These notes will be updated as FAWP evolves Current version:
Advertisements

Joe Foster Visualizing Data with ROOT Joe Foster University of Manchester.
Must-Know ROOT Class I/O/TGraph/Tntuple/Ttree/…. 1.
Postgraduate Computing Lectures Applications I: Analysis Tools 1 Applications: Analysis Tools Analysis Tools –Used to extract Physics from reconstructed.
June 6 th, 2011 N. Cartiglia 1 “Measurement of the pp inelastic cross section using pile-up events with the CMS detector” How to use pile-up.
Introduction to Analysis Example tutorial D. Greenwood For P. Skubic 8/21-22/20141ASP2014 Grid School.
CS 101 Problem Solving and Structured Programming in C Sami Rollins Spring 2003.
ROOT courses1 The ROOT System A Data Access & Analysis Framework February 2003 Ren é Brun/EP Trees.
FULL CHAIN SIMULATION of CMS DETECTOR Ijaz Ahmed National centre for Physics, Islamabad.
ROOT An object oriented HEP analysis framework.. Computing in Physics Physics = experimental science =>Experiments (e.g. at CERN) Planning phase Physics.
Introduction to Analysis Example tutorial P. Skubic 8/6-8/20121ASP2012 Grid School.
JAS3 + AIDA LC Simulations Workshop SLAC 19 th May 2003.
First timing results from Pixels M. Cobal and L. Santi University of Udine and INFN Trieste.
Material budget, energy losses and multiple scattering.
Introduction Advantages/ disadvantages Code examples Speed Summary Running on the AOD Analysis Platforms 1/11/2007 Andrew Mehta.
Level 2 ID-tracking truth association Trigger AOD discussion 13 December 2006 Ricardo Gonçalo - RHUL.
ROOT for Data Analysis1 Intel discussion meeting CERN 5 Oct 2003 Ren é Brun CERN Distributed Data Analysis.
Muon Software Tutorial Rick Wilkinson Caltech. The Basics Q: Is there a Muon class? A : No. A muon is just a RecTrack, the same class as the Tracker uses.
Jose A. Hernando Trigger Gaudies Reconstruction Tools & Algorithms Inspectors MC & Data Algorithms Template preserved container Jose A. Hernando.
1 Request for MuDst revision Y.Fisyak, 03/05/08 S&C meeting.
Atlas CHEP‘2000 Padova, ITALY February 2000 Implementation of an Object Oriented Track Reconstruction Model into Multiple LHC Experiments.
MSSM H 0  3 prong using vertexing at CMS Helsinki b/tau workshop Lauri A. Wendland / HIP.
CBM Software Meeting 1 CBM Simulation & Analysis Framework Geant3 / Gean4 configuration M. Al-Turany, D. Bertini.
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
1 OO Muon Reconstruction in ATLAS Michela Biglietti Univ. of Naples INFN/Naples Atlas offline software MuonSpectrometer reconstruction (Moore) Atlas combined.
Level 2 ID-tracking truth association How it works Information in POOL How to use it.
FILE MANAGEMENT SYSTEM Group Members RAMOLY Nathan HEMMI Florent AZANGUE Roméo CHOUIKH Jaouher JRIDI Bayrem NINTIDEM Estelle Olivia Supervisor M. TIMSIT.
10-Dec-2008 / S.KunoriHCAL Noise Identification and Monitoring1 HCAL Noise Identification and Filtering (HPD behavior and noise identification) Shuichi.
Atlas ACAT2000 Batavia, IL, USA October 2000 More Performance and Implementation of an Object Oriented Track Reconstruction Model in Different OO.
Electron physics object tutorial C. Charlot / LLR Automn08 tutorials, 14 oct
Six-Fermion Production at ILC with Grcft Calculation of the Six-Fermion Production at ILC with Grcft -New algorithm for Grace- KEK Minamitateya group Yoshiaki.
Download the Minerva software at Read through the introduction and, using the Minerva help and instructions.
( ATLAS was designed for LHC: L=10 34 cm -2 s -1 ) [ Now we expect 7.5 x instantaneous and 10 x integrated luminosity ] PILEUP: from ~30  >200 proton.
Thomas Ruf, CERN EP Experience with C++ and ROOT used in the VX Beam Test Thomas Ruf, CERN, EP  Why? Event structure for VX-data rather complex: raw hits.
Axel Naumann, DØ University of Nijmegen, The Netherlands 6/20/2001 Dutch Morning Meeting 1 From n-Tuples to b-Tags ?
24 Jul 01 Simulation Meeting1 Status of PMS Sarah Eno.
BEACH 04J. Piedra1 SiSA Tracking Silicon stand alone (SiSA) tracking optimization SiSA validation Matthew Herndon University of Wisconsin Joint Physics.
BES III Software: Beta Release Plan Weidong Li 19 th October 2005.
P.Miné Visu CMS1 Philippe Miné LLR, Ecole Polytechnique, IN2P3/CNRS, France Introduction Views and options Tutorial Demonstration Practice Visualization.
Nikhef Bfys Workshop Day One: Exploring a (m)DST Juan Palacios
FCAL Krakow meeting, 6. May LumiCal concept including the tracker R. Ingbir, P.Růžička, V. Vrba.
Joe Foster 1 This talk extends the one I gave in 2006 called Visualizing Data with ROOT. –
HYDRA Framework. Setup of software environment Setup of software environment Using the documentation Using the documentation How to compile a program.
Persistent Object References in ROOT1 Persistent Object References in ROOT I/O Status & Proposal LCG meeting CERN- 5 June Ren é Brun ftp://root.cern.ch/root/longrefs.ppt.
ROOT1 Hands-on Sami Kama. S.Kama ROOT1 Hands-On ISTAPP2011 Dogus Univ.07/02/ Download root file from indico.
Material Budget Plots and Debugging Tools
GenFit and RAVE in sPHENIX under Fun4All
For the OSU Group and CDF
TNSmooth: Root Multi-dimensional PDFs
Using IP Chi-Square Probability
Indexing and hashing.
Tree based validation tool for track reconstruction
Upgrade Tracker Simulation Studies
Introduction to Analysis Example Tutorial
Introduction Goal: Can we reconstruct the energy depositions of the proton in the brain if we are able to reconstruct the photons produced during this.
Michele Pioppi* on behalf of PRIN _005 group
OO Muon Reconstruction in ATLAS
Atlantis and the Inner Detector
Summer Students Lecture 21 July 2004
Pedro Arce (CERN/CIEMAT)
Pedro Arce (CERN/CIEMAT) (on behalf of CMS collaboration)
FEDRA operation with EmuRec
Persistent Object References in ROOT I/O Status & Proposal
The LHCb Level 1 trigger LHC Symposium, October 27, 2001
C Programming Pointers
2 Getting Started.
GEANT4 performance studies
An Easy to Use Track Comparison Tool
BES III Software: Short-term Plan ( )
Presentation transcript:

RootMaker v1.0.0 Jordan Damgov, Shuichi Kunori

Contents Introduction Root file - structure and objects File size and CPU time Example for root file analysis Root files production Documentation - RootMaker,Root Conclusion 1

Introduction Root advantages: No space limit like for ntuples Faster data access Object-oriented System of references Secondary root files - friend trees mechanism Convenient GUI for browsing of root files - expressions and cuts Physics library - Tvector 2

Root file structure Using tree structure - branches, leafs 3

Root file contents Ntuple-like part Tracker part Pixel lines Pixel vertices PixelTracks - using pixel lines as seed Tracks - using 2 consecutive hits as seed 4

Pixel Vertex Pixel Line Z in mm Pt Z error Eta Pt : sum of Pixel Lines Pt Phi ID : 1=PV VertexID Number of Pixel Lines Charge 5

Tracks Vertex Outer ECAL face (last RecHit) (GEANE propagation) VertexP OutP ECALP VertexPt OutPosition ECALPosition VertexEta VertexPhi VertexZ Nhits Chi2 Charge Tvector3 * 6 * Tvector3: X(),Y(),Z(),Eta(),Phi(),Theta(),Mag(),Perp(),...

File size, CPU time CPU: AMD MP (1.66 Ghz) = 2.5x Pentium III 700 Mhz jm_2x1033PUjm602_TkMu_g125_UCSD jm02_hlt : root file size = 62k/event CPU time = 17.7s/event ntuple file size = 47k/event 56 PixelTracks;72 Tracks jm_1034PUjm602_TkMu_g125_UCSD jm02_hlt : root file size = 172k/event CPU time = 142s/event 113 PixelTracks;420 Tracks without Tracks : root file size = 137k/event CPU time = 7.8s/event without PixelLines, PixelVertices, PixelTracks, Tracks : root file size = 124k/event CPU time = 2.3s/event without Pile-up particles, PixelLines, PixelVertices, PixelTracks, Tracks : root file size = 59.5k/event CPU time = 2.2s/event 7

Example for root file analysis (Example.C) gROOT->Reset(); // Reseting ROOT gSystem.Load("libPhysics.so"); // Loading Physics library (TVector3) gSystem.Load("libEvent"); // Loading Event library (libRM100.so) RootMaker classes TFile *f = new TFile("Event.root"); // Openig Event root file TTree *T = (TTree*)f->Get("JetMet"); //Seting T pointer to JetMet tree JetMetRootEvent *event = 0 ; // Pointer to Event object T->SetBranchAddress("Event",&event); //Seting Event pointer //Booking some histograms... Int_t nevent = (Int_t) T->GetEntries(); // Geting number of entries(Events) for (int i=0;i<nevent;i++) // Loop over Events { T->GetEntry(i); //Read complete event in memory // Analysis code int ngenjet5 = event->getNGenJet5(); for (int j=0;j<ngenjet5;j++) //loop over GenJet5 { JetMetRootGenJet5 *genjet5 = event->GenJet5(j); h1->Fill(genjet5->getNParts()); if (genjet5->RecJet5()) { h1->Fill(genjet5->getEt(), genjet5->RecJet5()->getEt()); h2->Fill(genjet5->RecJet5()->getNTowers()); } // Drowing histograms h1->Draw();... c1->Modified(); c1->Update(); // Printing PS file each 100 events c1->Print("Example.ps"); // End of analysis code event->clear(); //clear event } f.Close(); //Closing root file 8

Root files production sundev.cern.ch:/shift/shift19/data3/zh/rootmaker/rm100_orca611_10Jun2002 jm_2x1033PUjm602_TkMu_g125_UCSD : 1000 events 2e33/jm02_hlt20-30_0_0.root 1000 events 2e33/jm02_hlt50-80_0_0.root 1000 events 2e33/jm02_hlt _0_0.root 1000 events 2e33/jm02_hlt _0_0.root 1000 events 2e33/jm02_hlt _0_0.root jm_2x1033PUjm602_TkMu_g125_FNAL : 1000 events 2e33/jm02b_hlt _0_0.root Speed estimation: Low luminosity : events/24h High luminosity : events/24h 9

Documentation RootMaker home page: Root home page: - User guide - Reference guide - Tutorials - HOWTOs 10

Conclusion Tracks reconstruction is needed of additional tuning. New objects: MidConeARecJets... Need of switches for turning on/off of some data. Root files analysis using root like external tool. Root files production 11