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.

Slides:



Advertisements
Similar presentations
GLAST - LAT ICHEP Philadelphia, PA Aug 1, 2008 R.Dubois1/21 GLAST Large Area Telescope: Launched and Being Commissioned Richard Dubois Stanford.
Advertisements

GLAST The GLAST Balloon Flight experiment was performed with the collaboration of NASA Goddard Space Flight Center, Stanford Linear Accelerator Center,
Gamma-ray Mapping of the Interstellar Medium and Cosmic Rays in the Galactic Plane with GLAST Yasushi Fukazawa 1, T. Kamae 1,2, T. Ohsugi 1, T. Mizuno.
The Gamma-Ray Large Area Space Telescope: UNDERSTANDING THE MOST POWERFUL ENERGY SOURCES IN THE UNIVERSE Anticoincidence Detector for GLAST Alexander Moiseev,
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.
GLAST LAT ProjectDOE/NASA Review of the GLAST/LAT Project, Feb , 2001 S. Ritz 1 GLAST Large Area Telescope: Instrument Design Steven M. Ritz Goddard.
GLAST Science Support CenterJuly, 2003 LAT Ground Software Workshop Science Analysis Tools Design Robert Schaefer – Software Lead, GSSC.
Gamma-ray Large Area Space Telescope IEEE Nuclear Science Symposium Wyndham El Conquistador Resort, Puerto Rico October , 2005 The Gamma Ray Large.
GLAST LAT Project DOE Mini-review 12 October 2004 S. Ritz 1 IntroductionS. Ritz Technical and Production StatusL. Klaisner Instrument Science Operations.
Eduardo do Couto e Silva - ATC/LM Colloquium, June How many neutralinos are there? Expansion of universe Depletion of neutralinos Creation of neutralinos.
1 Gamma-Ray Astronomy with GLAST May 24, 2008 Toby Burnett WALTA meeting.
T. BurnettGeant Workshop user presentation 1 Geant4 and GLAST Description of the mission and instrument Simulation requirements How we are a little.
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.
Particle Physics and Astrophysics (PPA) Mechanical Engineering Ken Fouts.
GLAST Science Support CenterAugust 9, 2004 Implementation of the Standard Analysis Environment (SAE) James Peachey (HEASARC/GLAST SSC—GSFC/L3)
ICHEP 04 - August 16-22, 2004, Beijing Monica Pepe – INFN Perugia 1 Gamma-ray Large Area Space Telescope High Energy Gamma Physics with GLAST Monica Pepe.
Fermi Large Area Telescope (LAT) Integration and Test (I&T) Data Experience and Lessons Learned LSST Camera Workshop Brookhaven, March 2012 Tony Johnson.
Seeing the Invisible Prof. Lynn Cominsky Sonoma State University Director, Education and Public Outreach.
1 Arecibo Synergy with GLAST (and other gamma-ray telescopes) Frontiers of Astronomy with the World’s Largest Radio Telescope 12 September 2007 Dave Thompson.
Root, GLAST, and IDL Heather Kelly NASA/GSFC Emergent Corporation.
Instrument Performance Sensitivity The improved angular resolution, effective area and field of view of the LAT result in greatly improved source sensitivity,
GLAST CHEP 03 March R.Dubois1/17 GLAST Large Area Telescope: Overview of GLAST Offline Software Richard Dubois Stanford Linear Accelerator Center.
Introduction to gamma-ray astronomy GLAST-Large Area Telescope Introduction to GLAST Science New way of studying astrophysics Schedule of GLAST project.
GLAST CHEP 03 March K.Young1/22 GLAST Large Area Telescope: Release System for GLAST Offline Software Karl Young, Richard Dubois, Alex Schlessinger.
Search for Gamma Rays from LKP Dark Matter in the UED framework with GLAST a E.Nuss b, J.Cohen-Tanugi c and A.Lionetto d on behalf of GLAST DM & Exotic.
GLAST LAT ProjectCDR/CD-3 Review May 12-16, 2003 Document: LAT-PR-01967Section 1 Introduction & Science Overview 1 GLAST Large Area Telescope: Introduction.
Gamma-ray Large Area Space Telescope IEEE Nuclear Science Symposium Wyndham El Conquistador Resort, Puerto Rico October , 2005 The Gamma Ray Large.
GLAST Mission – G.Barbiellini GLAST The Gamma-ray Large Area Space Telescope The GLAST Mission AGILE-GLAST Workshop Guido Barbiellini University and INFN.
National Aeronautics and Space Administration November 23, Gamma-ray Large Area Space Telescope (GLAST) Kevin Grady, Project Manager Steven Ritz,
T. Burnett1 GLAST LAT ProjectDOE/NASA Baseline-Preliminary Design Review, January 9, 2002 SAS Software: Sources Detector geometry model Simulation Event.
Heather Kelly PPA Scientific Computing Apps LAT was launched as part of the Fermi Gamma-ray Space Telescope on June 11 th 2008.
December 8, 2007R.P. Johnson1 Presentation to the HEPAP Subpanel on the University Grants Progam Robert P. Johnson University of California at Santa Cruz.
1 GLAST The Gamma-ray Large Area Space Telescope Status of the Mission F.Longo see
GLAST Large Area Telescope (LAT) Overview Peter F. Michelson Instrument Principal Investigator Stanford University William E.
Feb. 7, 2007First GLAST symposium1 Measuring the PSF and the energy resolution with the GLAST-LAT Calibration Unit Ph. Bruel on behalf of the beam test.
Colliders To Cosmic Rays, Lake Tahoe February 25 – March 1, 2007 GLAST Large Area Telescope Overview Elliott Bloom SLAC - KIPAC Stanford University Representing.
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,
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.
GLAST The GLAST Balloon Flight experiment was performed with the collaboration of NASA Goddard Space Flight Center, Stanford Linear Accelerator Center,
ESAC_3_24_05.ppt 1 GLAST Large Area Telescope Overview and Science Update Peter F. Michelson Stanford University GLAST User’s Committee.
Launch The Gamma-ray Large Area Space Telescope (GLAST) S. Ritz (GSFC, Project Scientist), J. Grindlay (Harvard, Users Committee Chair), C. Meegan (MSFC,
GLAST Ground Software CHEP 2007, Victoria, Daniel Flath 1 The GLAST Data Handling Pipeline “Pipeline II” Daniel Flath for the GLAST Collaboration Stanford.
High Redshift Gamma-Ray Bursts observed by GLAST Abstract The Gamma-ray Large Area Space Telescope (GLAST) is the next generation satellite for high energy.
GLAST Mission: Status and Science Opportunities Peter F. Michelson Stanford University Gamma-ray Large Area Space Telescope.
1 Getting Involved with GLAST Workshop, CFA, 06/21/ C. Shrader, NASA/GSFC GLAST Data & Software Release plans + Science Support Center Services C.
The High Energy Gamma-Ray Sky after GLAST Julie McEnery NASA/GSFC Gamma-ray Large Area Space Telescope.
1 Study of Data from the GLAST Balloon Prototype Based on a Geant4 Simulator Tsunefumi Mizuno February 22, Geant4 Work Shop The GLAST Satellite.
Fermi Gamma-ray Space Telescope Searches for Dark Matter Signals Workshop for Science Writers Introduction S. Ritz UCSC Physics Dept. and SCIPP On behalf.
Feb. 3, 2007IFC meeting1 Beam test report Ph. Bruel on behalf of the beam test working group Gamma-ray Large Area Space Telescope.
Gamma-ray Large Area Space Telescope -France -Germany -Italy -Japan -Sweden -USA Energy Range 10 keV-300 GeV. GLAST : - An imaging gamma-ray telescope.
Gamma-ray Large Area Space Telescope: Physics Goals and Instrument Status Jennifer Carson SLAC/KIPAC for the GLAST LAT collaboration GLAST lifetime: 5+5.
GLAST LAT ProjectSeptember 15, 2006: Pre-Shipment Review Project Overview 1 Presentation 1 of 12 GLAST Large Area Telescope: LAT Pre-Shipment Review W.
GLAST Large Area Telescope:
GLAST Large Area Telescope Instrument Science Operations Center
Gamma-ray Large Area Space Telescope ACD Final Performance
Comparison of GAMMA-400 and Fermi-LAT telescopes
GLAST LAT tracker signal simulation and trigger timing study
Gamma-ray Large Area Space Telescope
CALET-CALによる ガンマ線観測初期解析
“Running Monte Carlo for the Fermi Telescope using the SLAC farm”
GLAST Large Area Telescope:
Gamma-ray Large Area Space Telescope
GLAST Large Area Telescope Instrument Science Operations Center
Gamma Ray Satellites Simulations with Geant4
SLAC – KIPAC GLAST Physics Elliott Bloom, Roger Blandford Co-Chairs, KIPAC GLAST Physics Department Stanford University SLAC DoE Review June 5-8, 2006.
LAT Instrument Operations Center
KIPAC-SLAC, Stanford University
Presentation transcript:

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 Science Systems and Applications Inc. For the GLAST LAT Collaboration SAS Gamma-ray Large Area Space Telescope

GLAST ADASS 2005 Oct 4 2/21 GLAST Mission GLAST measures the direction, energy and arrival time of celestial gamma rays -LAT measures gamma-rays in the energy range ~20 MeV - >300 GeV -There is no telescope now covering this range!! - GBM provides correlative observations of transient events in the energy range ~20 keV – 20 MeV Launch: August 2007 Florida Orbit: 565 km, 28.5 o inclination Lifetime: 5 years (minimum; 10 yrs goal)

GLAST ADASS 2005 Oct 4 3/21 GLAST Participation NASA - DoE Partnership on LAT LAT is being built by an international team Stanford University (SLAC & HEPL, Physics) Goddard Space Flight Center Naval Research Laboratory University of California, Santa Cruz University of Washington Ohio State University CEA/Saclay & IN2P3 (France) INFN & ASI (Italy) Hiroshima University, ISAS, RIKEN (Japan) Royal Inst. of Technology & Stockholm Univ. (Sweden) GBM is being built by US and Germany MPE, Garching (Germany) Marshall Space Flight Center Spacecraft and integration - Spectrum Astro France Germany Italy Japan Sweden USA LAT managed by SLAC PI – Peter Michelson

GLAST ADASS 2005 Oct 4 4/ GeV 0.1 GeV 1 GeV 10 GeV 100 GeV 1 TeV Gamma Ray Bursts Unidentified sources Cosmic ray acceleration Active Galactic Nuclei Dark matter GLAST science - the sky above 20 MeV Pulsars Solar flares

GLAST ADASS 2005 Oct 4 5/21 GLAST Large Area Telescope (LAT) GLAST Large Area Telescope (LAT) e+e+ e–e–  Si Tracker Tower pitch = 228 µm channels 12 layers × 3% X layers × 18% X layers Grid (& Thermal Radiators) 3000 kg, 650 W (allocation) 1.8 m  1.8 m  1.0 m 20 MeV – 300 GeV CsI Calorimeter Hodoscopic array 8.4 X 0 8 × 12 bars 2.0 × 2.7 × 33.6 cm  cosmic-ray rejection  shower leakage correction ACD Segmented scintillator tiles efficiency  minimize self-veto Data acquisition 16 identical towers 300 Hz average downlink Single Photon Angular Resolution MeV GeV Good Energy Resolution  E/E ~ 10%; 100 MeV – 10 GeV ~ < 20%; 10 GeV – 300 GeV

GLAST ADASS 2005 Oct 4 6/21 GLAST Concept Low profile for wide f.o.v. Segmented anti-detector to minimize self- veto at high E. Finely segmented calorimeter for enhanced background rejection and shower leakage correction. High-efficiency, precise track detectors located close to the conversions foils to minimize multiple-scattering errors. Modular, redundant design. No consumables. Low power consumption (650 W) Calorimeter (energy measurement) Particle tracking detectors Conversion foils (W) Charged particle anticoincidence shield  e+e- Pair production is the dominant photon interaction in our energy range  detection – pair conversion telescope

GLAST ADASS 2005 Oct 4 7/21 A Special Note This talk discusses the LAT data format and software. FITS and FTOOLs will be delivered to the user community. Science End-Users view GLAST data as photon lists, tend to be taken in aggregate. LAT team looks at data on an event by event basis. –Upon triggering GLAST freezes its detectors and writes out its buffers. –Once on the ground, the game is to separate gammas from background. (1000:1) Determine best estimate for direction and energy. –Part of the LAT collaboration’s job is to provide the highest quality photon lists to the science user community.

GLAST ADASS 2005 Oct 4 8/21 Some Background ~25 developers distributed across 9 time zones –VRVS ( and Instant Messaging (ICQ/Gaim) –Face-to-Face meetings twice a year –Close-knit team Support Windows, Red Hat Linux, (perhaps Mac OS X) –Why Windows??? Visual Studio Development Environment Currently ~35 MB of source code for: –Detailed Monte Carlo Simulation –Reconstruction and Calibration algorithms –I/O infrastructure GLAST LAT software is open and available to anyone who wants it. –Brookhaven group - KOPIO C++ was adopted for coding efforts – early on By 1999, we had detailed Monte Carlo simulation and prototype reconstruction code. –This was before the proposal!!!

GLAST ADASS 2005 Oct 4 9/21 Why Use a Framework? By 1999, we had plenty of code – but it was unmaintainable. Our MC generator was custom built, planned move to Geant4 –Looked to re-use existing code as much as possible HEP offered a number of packages: CLHEP, Geant4 Small team, of distributed programmers, with varying amounts of OO C++ programming experience. Provide one code system for simulation, test data analysis, and flight operations. Needed organization and clear lines of division between the components of our code. Flexible Extensible

GLAST ADASS 2005 Oct 4 10/21 Gaudi Framework An Object Oriented C++ Framework –“The implementation of an architecture which defines a structure flexible enough to support all types of physics data processing needs..from simulation to analysis to visualization.” Promotes the creation of small maintainable components which can be loaded at runtime –Components = algorithms, services, I/O, etc Standard Gaudi interface for each type of component Embraces the division of data from algorithms Gaudi provides a number of basic services such as: –Event Data Service (TDS) – a fancy OO common block! –Messaging and Logging Services –Infrastructure for I/O where various output formats may be supported Provides standard event loop Job parameters are handled via an input ASCII file Optional Python interface

GLAST ADASS 2005 Oct 4 11/21 Example of Using Gaudi Tools IEnergyCorr* m_lastLayerTool; sc = toolSvc()->retrieveTool(m_lastLayerToolName, m_lastLayerTool); m_lastLayerTool->setTrackSlope(slope); m_lastLayerTool->doEnergyCorr((*it)->getEnergySum(),(*it)); Retrieve tool by name via base class Refer to base class functions. Does not know which concrete tool it is. Concrete classes that customize behaviour Tools id’ed by name in ascii config file (“jobOptions”)

GLAST ADASS 2005 Oct 4 12/21 Data flow in the Gaudi framework Transient Data Store Ntuple Level 1 Simulation Algorithms Level 0 Reconstruction Algorithms Ntuple Service Persistency Algorithms G4 ACD, TKR, CAL Digitization Algorithms Source Generators Root ACD, TKR, CAL, Trigger Raw data Ready for astronomy MC Real Data User-Defined Algorithms

GLAST ADASS 2005 Oct 4 13/21 Gaudi Interface to Geant4 Usurp this!

GLAST ADASS 2005 Oct 4 14/21 FRED: Our Event Display

GLAST ADASS 2005 Oct 4 15/21 What is ROOT? (circa 1995) A floor wax and a dessert topping –Machine independent file format –An analysis toolkit written in C++ –Created to address the needs of large scale data analysis Object I/O Self-describing files Utilizes gzip algorithm for compression (user controlled) Typically store event data in trees C/C++ interpreter for command line analysis PyROOT – python interface

GLAST ADASS 2005 Oct 4 16/21

GLAST ADASS 2005 Oct 4 17/21 Pretty Pictures

GLAST ADASS 2005 Oct 4 18/21 Why ROOT? As of 1999, our output was tab-delimited ASCII ntuples GLAST code is Object-Oriented C++ A OO friendly file format seemed better suited for our needs –Store our objects “as is” in ROOT Either read them back into our sim/analysis framework Or use ROOT/JAS or any ROOT capable analysis toolkit to perform analysis. Open-source, widely used within the HEP community Well supported and good user documentation Pledged backward compatibility Development is actively extending and improving the system –Planning support for multi-core –Adding context-sensitive help

GLAST ADASS 2005 Oct 4 19/21 Persistent ROOT Output Four types of ROOT files: MC, Digitization, Reconstruction and ntuple. Two Levels of Output at end of Reconstruction: –Root Trees Basically, all the output of all steps of reconstruction Enough information to read back in and continue reconstruction from that point Detailed offline analysis for reconstruction algorithm improvements Main component of System Tests –Output Ntuple A detailed branch which contains enough information for checking of reconstruction performance The analysis data which is ultimately FITisfied.

GLAST ADASS 2005 Oct 4 20/21 Advantages and Disadvantages Provides standardized structure Free, source code available Pick and Choose Components Python Interface OO Not well documented Steep learning curve Slow start up during loading Requires use of DataObject interface Open-source Strong user support and documentation OO Python interface Extending capabilities ADVANTAGES DISADVANTAGES GAUDI ROOT Steep Learning Curve for users unfamiliar with OO C/C++ interpreter can be flaky Up to now, has required use of TObject interface

GLAST ADASS 2005 Oct 4 21/21 Have you seen these men? Richard Dubois P.7 Overview of SAS Dan Flath P.35 Data processing Pipeline Navid Golpayegani P.13 Release Manager Tony Johnson P.24 JAS3 Tom Stephens P.61 SSC Data Server Max Turri P.26 Scientific plotting