Root, GLAST, and IDL Heather Kelly NASA/GSFC Emergent Corporation.

Slides:



Advertisements
Similar presentations
The Gamma-Ray Large Area Space Telescope: UNDERSTANDING THE MOST POWERFUL ENERGY SOURCES IN THE UNIVERSE Anticoincidence Detector for GLAST Alexander Moiseev,
Advertisements

Simulation Project Major achievements (past 6 months 2007)
O. Stézowski IPN Lyon AGATA Week September 2003 Legnaro Data Analysis – Team #3 ROOT as a framework for AGATA.
GLAST LAT ProjectDOE/NASA Review of the GLAST/LAT Project, Feb , 2001 IOC – S.Williams SAS - R.Dubois 1 Instrument Operations Center (IOC) and Science.
25/03/2003Simulation Application for the LHCb Experiment CHEP March 2003 Presented by: W. Pokorski / CERN Authors: I. Belyaev, Ph. Charpentier,
GLAST Science Support CenterJuly, 2003 LAT Ground Software Workshop Science Analysis Tools Design Robert Schaefer – Software Lead, GSSC.
Simulation / Reconstruction Working group Toby Burnett University of Washington 11 Jan 2000 T.
GLAST Simulations Theodore E. Hierath Louisiana State University August 20, 2001.
GLAST LAT ProjectOnline Peer Review – July 21, Integration and Test L. Miller 1 GLAST Large Area Telescope: I&T Integration Readiness Review.
Geant4 application to X and Gamma-ray Telescopes B.Ferrero Merlino 1, D.Favretto 2, R. Giannitrapani 2, F.Longo 2, R.Nartallo 3, P.Nieminen 3, A.Pfeiffer.
November 2011 At A Glance GREAT is a flexible & highly portable set of mission operations analysis tools that increases the operational value of ground.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
ROOT: A Data Mining Tool from CERN Arun Tripathi and Ravi Kumar 2008 CAS Ratemaking Seminar on Ratemaking 17 March 2008 Cambridge, Massachusetts.
GLAST Science Support CenterAugust 9, 2004 Implementation of the Standard Analysis Environment (SAE) James Peachey (HEASARC/GLAST SSC—GSFC/L3)
Fermi Large Area Telescope (LAT) Integration and Test (I&T) Data Experience and Lessons Learned LSST Camera Workshop Brookhaven, March 2012 Tony Johnson.
GLAST ADASS 2005 Oct 4 1/21 GLAST Large Area Telescope: LAT Science Analysis Software’s Use of Gaudi & ROOT Heather Kelly NASA Goddard Space Flight Center.
Advanced Analysis Environments What is the role of Java in physics analysis? Will programming languages at all be relevant? Can commercial products help.
Presentation: SOAP in a distributed object framework, Application Servers & AXIS SOAP.
GLAST LAT ProjectDOE/NASA Baseline-Preliminary Design Review, January 8, 2002 K.Young 1 LAT Data Processing Facility Automatically process Level 0 data.
At A Glance VOLT is a freeware, platform independent tool set that coordinates cross-mission observation planning and scheduling among one or more space.
Status of Hall C 6 GeV Analysis Software Robust Fortran/CERNLIB code, “ENGINE”, for analysis of HMS/SOS coincidence and single arm experiments that has.
LC Software Workshop, May 2009, CERN P. Mato /CERN.
Greg Sullivan University of Maryland Data Filtering and Software IceCube Collaboration Meeting Monday, March 21, 2005.
GLAST CHEP 03 March R.Dubois1/17 GLAST Large Area Telescope: Overview of GLAST Offline Software Richard Dubois Stanford Linear Accelerator Center.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Charles Leggett The Athena Control Framework in Production, New Developments and Lessons Learned.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
1 Persistency – Update and Plans Malcolm Ellis Software Phone Meeting 25 th August 2005.
GLAST Gaudi Code Review, 10 Sept. 2002, H. Kelly, 2-1 GLAST Event Data Model and Persistency.
GLAST CHEP 03 March K.Young1/22 GLAST Large Area Telescope: Release System for GLAST Offline Software Karl Young, Richard Dubois, Alex Schlessinger.
MINER A Software The Goals Software being developed have to be portable maintainable over the expected lifetime of the experiment extensible accessible.
W. Pokorski - CERN Simulation Project1 Python binding for Geant4 toolkit using Reflex/PyROOT tool Witek Pokorski EuroPython 2006, CERN, Geneva
Postgraduate Computing Lectures Applications I: Overview 1 Applications: Overview Symbiosis: Theory v. Experiment Theory –Build models to explain existing.
T. Burnett1 GLAST LAT ProjectDOE/NASA Baseline-Preliminary Design Review, January 9, 2002 SAS Software: Sources Detector geometry model Simulation Event.
View_hdf Kam-Pui Lee Science Applications International Corporation CERES Data Management Team Linda Hunt Computer Sciences Corporation Atmospheric Sciences.
Heather Kelly PPA Scientific Computing Apps LAT was launched as part of the Fermi Gamma-ray Space Telescope on June 11 th 2008.
Detector Simulation Presentation # 3 Nafisa Tasneem CHEP,KNU  How to do HEP experiment  What is detector simulation?
March 2004 At A Glance autoProducts is an automated flight dynamics product generation system. It provides a mission flight operations team with the capability.
1 Stepping in everyone’s toes ( but for a good cause….) Eduardo do Couto e Silva Software Meeting – January 2001.
The CMS Simulation Software Julia Yarba, Fermilab on behalf of CMS Collaboration 22 m long, 15 m in diameter Over a million geometrical volumes Many complex.
Aa GLAST Particle Astrophysics Collaboration Instrument Managed and Integrated at SLAC/Stanford University The Gamma-ray Large Area Space Telescope (GLAST)
Gamma Ray Large Area Space Telescope Balloon Flight: Data Handling Overview E. do Couto e Silva, R. Dubois, D. Flath, I. Gable,T. Kamae, A. Kavelaars,
TB1: Data analysis Antonio Bulgheroni on behalf of the TB24 team.
HIGUCHI Takeo Department of Physics, Faulty of Science, University of Tokyo Representing dBASF Development Team BELLE/CHEP20001 Distributed BELLE Analysis.
Java Analysis Studio and the hep.lcd class library Mike Ronan - LBNL Joanne Bogart, Gary Bower, Tony Johnson - SLAC Nick Sinev - Oregon Don Benton - U.
Mantid Stakeholder Review Nick Draper 01/11/2007.
GLAST LAT Offline SoftwareCore review, Jan. 17, 2001 Review of the “Core” software: Introduction Environment: THB, Thomas, Ian, Heather Geometry: Joanne.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
Jean-Roch Vlimant, CERN Physics Performance and Dataset Project Physics Data & MC Validation Group McM : The Evolution of PREP. The CMS tool for Monte-Carlo.
23/2/2000Status of GAUDI 1 P. Mato / CERN Computing meeting, LHCb Week 23 February 2000.
GLAST LAT ProjectSAS PDR, Aug. 17, 2001 R.Dubois1 Schedule Balloon Science Tools, Analysis Platforms Calibrations Performance Tuning, Tracking Data Production.
1 Getting Involved with GLAST Workshop, CFA, 06/21/ C. Shrader, NASA/GSFC GLAST Data & Software Release plans + Science Support Center Services C.
GLAST LAT Offline SoftwareWorkshop - SLAC, Jan , 2001 TKR Software Review -- Jan. 17, Topics for the TKR Software Review Tracy Usher, Leon.
The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.
Marco Cattaneo, 6-Apr Issues identified in sub-detector OO software reviews Calorimeters:18th February Tracking:24th March Rich:31st March.
Next-Generation Navigational Infrastructure and the ATLAS Event Store Abstract: The ATLAS event store employs a persistence framework with extensive navigational.
1 Study of Data from the GLAST Balloon Prototype Based on a Geant4 Simulator Tsunefumi Mizuno February 22, Geant4 Work Shop The GLAST Satellite.
Feb. 3, 2007IFC meeting1 Beam test report Ph. Bruel on behalf of the beam test working group Gamma-ray Large Area Space Telescope.
VI/ CERN Dec 4 CMS Software Architecture vs Hybrid Store Vincenzo Innocente CMS Week CERN, Dec
Data Model: LCIO to LCIO2.0 Norman Graf (SLAC) ILC-CLIC Software, CERN May 28, 2009.
LHCb Software Week 25/11/99 Gonzalo Gracia Abril 1 r Status of Geant4 in LHCb. r Ideas on how to populate the LHCb Detector Description Data Base (LHCb.
Root I/O and the Gaudi Framework
Migration of reconstruction and analysis software to C++
Gamma-ray Large Area Space Telescope ACD Final Performance
Existing Perl/Oracle Pipeline
SW Architecture SG meeting 22 July 1999 P. Mato, CERN
Gamma Ray Satellites Simulations with Geant4
Simulation and Physics
Use of GEANT4 in CMS The OSCAR Project
GLAST Large Area Telescope Instrument Science Operations Center
Presentation transcript:

Root, GLAST, and IDL Heather Kelly NASA/GSFC Emergent Corporation

2 Gamma-ray Large Area Space Telescope Joint NASA/DOE project, with numerous collaborators from many countries. Pair Conversion Telescope – designed to detect photons in the energy range of 10 keV – 300 GeV. Scheduled for launch March, Modular 4x4 design of identical towers. Each tower consists of a Tracker and CsI Calorimeter. The 4x4 array is covered by an Anti-Coincidence Shield to reject charged cosmic rays.

3 GLAST’s Use of Root First use of Root – 1999 SLAC beamtest. –For both data storage and analysis Created our first Root classes to store raw detector data. Mid-2000 created Root classes to store our reconstructed data. Since then, we have migrated our simulation and reconstruction algorithms to the Gaudi framework. Currently preparing for a balloon flight this summer. –Now we will store HSK data in Root as well. Also gearing up for bulk Monte Carlo production. –Plan to store MC data in Root. –We are now prepared to handle Root I/O to store output data and to re-ingest that data for re-processing.

4 From Space/Simulation to Root MC Generator Raw Telemetry MC Hits Instrument Op Center MC Digitization Algorithms “raw” data Level 0 data Reconstruction Algorithms reconstruction data Gaudi Framework Root I/O Transient Data Store Raw Branch MC Branch Recon Branch User Analysis Algorithms TNtuple Branch Root Analysis Housekeeping Branch IDL

5 Interative Data Language A commercial product available from Research Systems Inc. It is an analysis tool kit, familiar to many astrophysicists and earth scientists. Very polished professional software, supported on a variety of platforms: Unix, Windows, VMS. Strong visualization tools. Accepts data in a variety of formats including FITs and HDF. Drawbacks: Expensive, commercial software There are some GLAST collaborators who are faithful IDL users!

6 How will GLAST support IDL users? Do nothing. –We have limited resources, we could choose to just support Root as our analysis toolkit and provide C++ code to access the data. Convert Root data into some other format that IDL will ingest. –Do we want 2 persistent copies of the same data? Provide a mechanism for IDL users to access Root files directly from within IDL. –Root is an I/O library and an analysis toolkit. –Allow users to choose what analysis toolkit they wish to use. –Good for the users and good for Root. In the end…it is about accessing the data. Many users have extensive libraries of IDL routines. Some are not interested in learning C++. Others are very excited to use Root as an analysis toolkit. We provide data access and a set of common routines written in C++ that will be accessible to both Root and IDL users.

7 Root2IDL: Proof of Concept For our 1999 beamtest – stored our data in Root trees. IDL is written in ANSI C – on all platforms. IDL provides a mechanism to call external routines through Dynamic Load Modules (shareable library). A DLM provides a common interface to IDL, that allows IDL to call the routines within a user-defined shared library. –The fact that the routine is external is transparent to the user. Behaves as an IDL system routine. For the beamtest, a DLM, Root2IDL, was created to handle the specific TTree structure we were using. The DLM reads in the Root tree data and converts it into an IDL structure (equivalent to a C structure). The data is then available within IDL.

8 Example Interface to IDL #include "export.h“ // Include file available with IDL distribution static IDL_VPTR testfun(int argc, IDL_VPTR *argv) { return IDL_StrToSTRING("TESTFUN"); } int IDL_Load(void) { static IDL_SYSFUN_DEF2 function_addr[ ] = { { testfun, "TESTFUN", 0, IDL_MAXPARAMS, 0, 0}, }; /* Register our routine.*/ return IDL_SysRtnAdd(function_addr, TRUE, ARRLEN(function_addr)); }

9 Root2IDL in Action

10 Problems / To Do List IDL’s DLM interface has migrated in versions 5.2…5.4. Need a generic interface for all Root files. –Our Root classes will certainly evolve – plus a general utility may be useful to the community at large. –This is possible due to TStreamerInfo! Optimization is necessary. Plan –Upgrade the Root2IDL DLM to handle our specific Root class structure for our upcoming balloon flight and MC simulations. –Once things settle down, we can then proceed to provide a generic utility for any Root file.

11 Suggestions for Root Windows support –Many GLAST collaborators are Windows users and will perform some analysis using Root interactively on Windows. There are quirks in the GUI. Root and Gaudi –Projects also using Gaudi as their framework would love to see a persistency mechanism that handles “real” Root. It is difficult to “keep up” with the upgrades in Root from version to version. We may not always be able to upgrade in a timely manner. Some Great New Things about Root –Dedicated users –Tree Friendship – Apache server