Analysis with Geant4 and AIDA Tony Johnson SLAC-Geant4 Workshop February 2002 Tony Johnson.

Slides:



Advertisements
Similar presentations
Physicist Interfaces Project an overview Physicist Interfaces Project an overview Jakub T. Moscicki CERN June 2003.
Advertisements

Maria Grazia Pia, INFN Genova 1 Data analysis with R in an experimental physics environment Andreas Pfeiffer (CERN) and Maria Grazia Pia (INFN Genova)
Computational Physics Java Analysis Studio Dr. Guy Tel-Zur.
JAS in SDA. My Experience My assignment was to use JAS to read SDA data and make plots. –I used OSDA and OSDAphysics to read SDA data. OSDA and OSDAphysics.
Victor Serbo, SLACACAT’2002, Moscow, June 24-28, Status of AIDA and JAS 3 by Victor Serbo What is AIDA History/Collaboration/Documentation Some Details.
G.Barrand / LAL / IN2P3 / CNRS AIDA analysis tools and Geant4 A user roadmap.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Victor Serbo, CHEP071 JAIDA, JAS3, WIRED4 and the AIDA tag library - experience and new developments DONSZELMANN, Mark (SLAC)DONSZELMANN, Mark JOHNSON,
1 Chapter 12 Working With Access 2000 on the Internet.
4 November 2009 Geant4 Data Analysis J. Perl 1 Trivial Data Analysis for Geant4 Joseph Perl, SLAC Geant4 v9.2p02.
David Adams ATLAS DIAL Distributed Interactive Analysis of Large datasets David Adams BNL March 25, 2003 CHEP 2003 Data Analysis Environment and Visualization.
Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
13 January 2011 Geant4 Data Analysis J. Perl 1 Trivial Data Analysis for Geant4 Joseph Perl, SLAC Geant4 v9.4.
JAS – Distributed Data Analysis Grid Enabled Analysis Workshop Caltech - June 23-25, 2003.
MENUS AND THE MENU EDITOR Elements of a Menu Menu bar Menu title Separator bar Menu items.
Installing Geant4 Visualization and Analysis Tools using the Workshop CD Geant4 Workshop SLAC - February 2002 Tony Johnson Joseph Perl.
Victor Serbo, SLAC30 September 2004, Interlaken, Switzerland JASSimApp plugin for JAS3: Interactive Geant4 GUI Serbo, Victor (SLAC) - presenter Donszelmann,
Susanna GuatelliGeant4 Workshop 2004 Use of Analysis Tools Geant4 Workshop 2004, Catania Susanna Guatelli, INFN Genova.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
ROOT An object oriented HEP analysis framework.. Computing in Physics Physics = experimental science =>Experiments (e.g. at CERN) Planning phase Physics.
JAS3 – Current Status and Prospects by Victor Serbo, SLAC.
Java Analysis Studio Status Update 12 May 2000 Altas Software Week Tony Johnson
Advanced Analysis Environments What is the role of Java in physics analysis? Will programming languages at all be relevant? Can commercial products help.
JAS3 + AIDA LC Simulations Workshop SLAC 19 th May 2003.
JAIDA, AIDA-JNI, JAS3 Status and Plans Mark Dönszelmann, Tony Johnson, Joseph Perl, Victor Serbo, Max Turri AIDA Workshop CERN July 2003.
IX International Workshop on Advanced Computing and Analysis Techniques in Physics Research KEK, Tsukuba, December 2003
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
JAS/Wired + Geant 4 Tony Johnson July Contents What is JAS? What is WIRED? –Future Directions JAS+AIDA+GAG+Wired + Geant 4= ? Making it easy to.
Java Root IO Part of the FreeHEP Java Library Tony Johnson Mark Dönszelmann
G.Barrand, LAL-Orsay OpenScientist Status (v11) Relationship with AIDA
Writing Extension Modules (Plugins) for JAS 3 Mark Donszelmann Tony Johnson Victor Serbo Max Turri CHEP2004, 27 september-1 october 2004, Interlaken, Switzerland.
V. Serbo, SLAC ACAT03, 1-5 December 2003 Interactive GUI for Geant4 by Victor Serbo, SLAC.
07 Apr, 2000 GAUDI Histograms Pavel Binko, LHCb / CERN 1 LHCb Software Week GAUDI Histograms Pavel Binko LHCb / CERN.
Using JAS3 for LCD Analysis Tony Johnson 20 th May 2003.
JAS3 - A general purpose data analysis framework for HENP and beyond Tony Johnson, Victor Serbo, Max Turri, Mark Dönszelmann, Joseph Perl SLAC.
What is Web Site Administration Tool ? WAT Allow you to Configure Web Site With Simple Interface –Manage Users –Manage Roles –Manage Access Rules.
SiD Workshop October 2013, SLACDmitry Onoprienko SiD Workshop SLAC, October 2013 Dmitry Onoprienko SLAC, SCA FreeHEP based software status: Jas 3, WIRED,
WIRED 4 An extensible generic Event Display Mark Donszelmann SLAC, Stanford, U.S.A. CHEP2004, 27 september – 1 october Interlaken, Switzerland.
AIDA Web Interface Tony Johnson, Victor Serbo, Max Turri AIDA Workshop, CERN, July 2003.
CLAS12 software paradigm My two cents… Vardan Gyurjyan Friday, August 26, 2005.
GranSasso, Jul-2002 Andreas Pfeiffer, CERN/IT-API, AIDA Abstract Interfaces for Data Analysis Andreas Pfeiffer CERN IT/API
Java Analysis Studio - Status CHEP 98 - September 1998 Tony Johnson - SLAC Jonas Gifford + Kevin Garwood - University of Victoria.
JACO JACO - Java Access to C++ Objects Mark Dönszelmann and Tony Johnson 25 May 2000.
G.Barrand, LAL-Orsay G4/analysis. G.Barrand, LAL-Orsay What is “analysis” ? Histogram, Tuple, Fitter, Function, Plotter.
WIRED Detector Description in XML Mark Dönszelmann, Applications for Physics and Infrastructure, IT, CERN XML Detector Description Workshop CERN, 14 April,
BOĞAZİÇİ UNIVERSITY DEPARTMENT OF MANAGEMENT INFORMATION SYSTEMS MATLAB AS A DATA MINING ENVIRONMENT.
Visualization of Geant4 Data: Exploiting Component Architecture through AIDA, HepRep, JAS and WIRED Geant4 Workshop, CERN - 2 October 2002 Joseph Perl.
Recent Advances in ViPER David Mihalcik David Doermann Charles Lin.
Interactive Data Analysis on the “Grid” Tech-X/SLAC/PPDG:CS-11 Balamurali Ananthan David Alexander
FreeHEP, JAS and WIRED Mark Dönszelmann, CERN/IT Charles Loomis, UC, Santa Cruz ATLAS Software Week, 30 November 2000.
Postgraduate Computing Lectures PAW 1 PAW: Physicist Analysis Workstation What is PAW? –A tool to display and manipulate data. Learning PAW –See ref. in.
WIRED for LCD Analysis Mark Dönszelmann Linear Collider Simulation Workshop May 19-22, 2003, SLAC.
JAS and JACO – Status Report Atlas Graphics Group August 2000 Tony Johnson.
Features of JAS Plots Plots update in real time. Data for plots can be local or remote (use Java RMI to connect to JAS Data Server). Rich variety of styles.
Summary of the AIDA workshop AIDA Workshop, July What is AIDA  AIDA defines today interfaces for some common analysis data objects  IHistogram,
AIDA Abstract Interfaces for Data Analysis Massimiliano Turri, SLACCHEP, La Jolla, March “The goal of the AIDA project is to define abstract.
1 G4UIRoot Isidro González ALICE ROOT /10/2002.
Discussion with Blueprint RTAG August 2002 Tony Johnson SLAC.
1 SLAC simulation workshop, May 2003 Ties Behnke Mokka and LCDG4 Ties Behnke, DESY and SLAC MOKKA: european (france) developed GEANT4 based simulation.
David Adams ATLAS DIAL Distributed Interactive Analysis of Large datasets David Adams BNL May 19, 2003 BNL Technology Meeting.
Business rules.
Potential use of JAS/JAIDA etc. SAS J2EE Review
Project Status and Plan
Andreas Pfeiffer, CERN/IT,
Java Analysis Studio - Status
Software Installation, release 4.0
WIRED 4 Event Display Linear Collider Simulation Workshop
Presentation transcript:

Analysis with Geant4 and AIDA Tony Johnson SLAC-Geant4 Workshop February 2002 Tony Johnson

What is AIDA? AIDA = Abstract Interfaces for Data Analysis AIDA = Abstract Interfaces for Data Analysis AIDA User Code (e.g. Geant 4) Analysis Tool 1 Analysis Tool 2

Why AIDA? Goal Goal Provide the user with a powerful set of interfaces which can be used regardless of which underlying analysis tool they are using.Provide the user with a powerful set of interfaces which can be used regardless of which underlying analysis tool they are using. Advantages Advantages The user will only need to learn one set of interfaces even if they use more than one tool.The user will only need to learn one set of interfaces even if they use more than one tool. By pooling the experiences of several different development teams we will be able to develop a more complete solution to the data analysis problem.By pooling the experiences of several different development teams we will be able to develop a more complete solution to the data analysis problem. Different analysis tools built using AIDA will be able to interoperate, for example by exchanging objects in a common storage format (initially XML).Different analysis tools built using AIDA will be able to interoperate, for example by exchanging objects in a common storage format (initially XML). Currently two versions of the AIDA interfaces exist, Currently two versions of the AIDA interfaces exist, one for Javaone for Java one for C++one for C++ The two interfaces are as identical as the underlying languages will permit. The two interfaces are as identical as the underlying languages will permit.

Who is AIDA? Many people have contributed Many people have contributed Key PlayersKey Players Guy Barrand (LAL) Guy Barrand (LAL) Mark Dönszelmann (CERN/SLAC) Mark Dönszelmann (CERN/SLAC) Tony Johnson (SLAC) Tony Johnson (SLAC) Andreas Pfeiffer (CERN) Andreas Pfeiffer (CERN) Tools Represented Tools Represented Anaphne/LHC++/Lizard, GAUDI, FreeHEP, JAS, Open Scientist, COLT, WIREDAnaphne/LHC++/Lizard, GAUDI, FreeHEP, JAS, Open Scientist, COLT, WIRED

What does AIDA currently support? Histograms (1D, 2D and 3D) Histograms (1D, 2D and 3D) Filling; Data Extraction; Arithmetic; Slices; ProjectionsFilling; Data Extraction; Arithmetic; Slices; Projections Clouds (unbinned histograms) (1D, 2D and 3D) Clouds (unbinned histograms) (1D, 2D and 3D) Rebinnable histograms; scatterplot; unbinned fits.Rebinnable histograms; scatterplot; unbinned fits. N-Tuples (with varying types of columns) N-Tuples (with varying types of columns) Filling; Data Extraction; Filters; Evaluators; ProjectionsFilling; Data Extraction; Filters; Evaluators; Projections Functions and Fitting (still needs work) Functions and Fitting (still needs work) Plotter Plotter Display of Histograms, Clouds, Functions; Regions, OverlaysDisplay of Histograms, Clouds, Functions; Regions, Overlays Trees Trees Folders; storage/persistency (.aida, database…)Folders; storage/persistency (.aida, database…) XML Persistency (.aida files) XML Persistency (.aida files)

Example AIDA program

What AIDA Compliant Tools exist? Current Version of AIDA is Current Version of AIDA is ToolsTools C++ C++ Open Scientist Scientist Anaphne AIDA-JNI Java Java JAIDA XML XML AIDA DIM for JAS DIM for JAS JAS Tuple Explorer Tuple Explorer All tools do not yet support all featuresAll tools do not yet support all features More contributors/implementers welcomeMore contributors/implementers welcome

AIDA with Geant4 AIDA allows Geant4 examples to illustrate analysis techniques with choosing a single analysis tool AIDA allows Geant4 examples to illustrate analysis techniques with choosing a single analysis tool The T01 tutorial has been set up to use AIDA for analysis The T01 tutorial has been set up to use AIDA for analysis By default links with a dummy implementation of AIDA By default links with a dummy implementation of AIDA Switching to a real AIDA implementation is easy, just set environment variables and relink Switching to a real AIDA implementation is easy, just set environment variables and relink source setup-analysis # (or source setup-analysis.csh)source setup-analysis # (or source setup-analysis.csh) makemake../../bin/$G4SYSTEM/T01app novis.mac../../bin/$G4SYSTEM/T01app novis.mac

Simple GUI build into JAIDA T01 also creates a T01.aida file which can be analyzed offline.

Adding to T01 Analysis T01AnalysisManager - This class is a simple wrapper around the AIDA factories used to create Histograms, Plotters and Tuples. You should not need to modify this class, but you may want to take a look at it to understand what it is doing. The useful methods it defines are: T01AnalysisManager - This class is a simple wrapper around the AIDA factories used to create Histograms, Plotters and Tuples. You should not need to modify this class, but you may want to take a look at it to understand what it is doing. The useful methods it defines are: static T01AnalysisManager* getInstance() - Get the (singleton) instance of T01AnalysisManagerstatic T01AnalysisManager* getInstance() - Get the (singleton) instance of T01AnalysisManager IHistogramFactory* getHistogramFactory() - Used for creating histogramsIHistogramFactory* getHistogramFactory() - Used for creating histograms ITupleFactory* getTupleFactory() - Used for create tuplesITupleFactory* getTupleFactory() - Used for create tuples ICloudFactory* getCloudFactory() - Used for creating clouds (unbinned histograms)ICloudFactory* getCloudFactory() - Used for creating clouds (unbinned histograms) IPlotter* createPlotter() - Create a Plotter (used for displaying histograms and clouds)IPlotter* createPlotter() - Create a Plotter (used for displaying histograms and clouds) T01EventAction - This is where the user defined analysis is performed. After reading the AIDA Users Guide the code here should be fairly self explanatory. A good exercise would be to add you own histograms and display them using the plotter, or add your own columns to the Tuple. T01EventAction - This is where the user defined analysis is performed. After reading the AIDA Users Guide the code here should be fairly self explanatory. A good exercise would be to add you own histograms and display them using the plotter, or add your own columns to the Tuple.AIDA Users GuideAIDA Users Guide

Future GUI/Analysis/Visualization Currently Currently VisualizationVisualization GUIGUI AnalysisAnalysis Are separate categories within Geant4 Are separate categories within Geant4 This makes sense for G4 designers This makes sense for G4 designers But perhaps not for usersBut perhaps not for users We hope to combine AIDA/GAG/Wired/JAS to form unified UI We hope to combine AIDA/GAG/Wired/JAS to form unified UI

Geant 4 menu. Used to start G4 executable Currently Available Commands G4 Output Command Arguments

Available HistogramsHistos update in real time

Wired Event Display shows current event

Conclusions Look at T01 source code Look at T01 source code T01AnalysisManagerT01AnalysisManager T01EventActionT01EventAction AIDA Users Guide AIDA Users Guide On CD, or at: ex.shtmlOn CD, or at: ex.shtml ex.shtml ex.shtml AIDA Web Site AIDA Web Site