JAS3 + AIDA LC Simulations Workshop SLAC 19 th May 2003.

22
JAS3 + AIDA LC Simulations Workshop SLAC 19 th May 2003

Transcript of JAS3 + AIDA LC Simulations Workshop SLAC 19 th May 2003.

JAS3 + AIDA

LC Simulations Workshop

SLAC

19th May 2003

May, 2003JAS3 + AIDA

Contents

Why move to JAS3?

Tour of major components of JAS3AIDA

Root and PAW file readersTuple ExplorerJava compiler and loaderScripting Languages

PnutsRecord loopSpreadsheet

JAS3 Architecture

Status

Future plans

May, 2003JAS3 + AIDA

Why move to JAS3?

First version of JAS2 released in 2000Has worked well, but some limitations

Too heavily based on event loop– No all analysis tasks involve looping over events

No support for scriptingLimited fitting capabilitiesLimited N-Tuple analysis capabilities

Often used for online monitoring, often used outside HEPNot really designed for this use

OpportunitiesRealized a lot of overlap with WIRED project

Created FreeHEP Java library to– Pull out (refactor) common parts of JAS, WIRED– Implement new common requirements for JAS and WIRED

• Vector Graphics, Application Framework, Utilities

Formed collaboration with developers of similar tools to create AIDA package

May, 2003JAS3 + AIDA

JAS3 Lightning Tour

Tour designed to

give you an

overview of the

capabilities of JAS3,

you can try them

out for yourself this

afternoon.

Welcome Page, gives initial info and links to example

scripts and programs

Memory monitor

May, 2003JAS3 + AIDA

Opening Files

Use file menu

Drag from explorer

May, 2003JAS3 + AIDA

Graphical Interface to AIDA

Histograms, Clouds, Tuples all presented in

AIDA tree

.aida files, .hbook

files, .root files all presented

as AIDA objects

Drag items onto page, or use

(popup) menus

May, 2003JAS3 + AIDA

Printing

Can send individual

plots or full page

direct to printer

Or save as PS, EPS, PDF, SWF, SVG, PNG, GIF…

Or copy/paste into Word, PowerPoint

etc.

May, 2003JAS3 + AIDA

Java Editor, Compiler and Loader

Built-in Java compiler

Tree shows loaded

programsBuilt-in

editor for writing

analysis code

Unlike JAS2 which only supported “event analyzers” JAS3 allows any Java program

to be loaded. This example “main routine” is taken directly from the AIDA manual

May, 2003JAS3 + AIDA

Scripting

Can also write and run

scripts

Console allows direct interaction

with scripting language

May, 2003JAS3 + AIDA

Pnuts Language

Currently support Pnuts scripting languageComplete and well documented

http://javacenter.sun.co.jp/pnuts/doc/guide.html

Fast (although not as fast as compiled Java)Syntax very similar to JavaCan easily call compiled Java classes from scripts – best of

both worlds

Plan to support other languages in futureIn particular Python

May, 2003JAS3 + AIDA

Record Sources

Opening record (or event) based files

causes the run control toolbar

to appear

Works similarly to JAS2 Job control, but now also supports random access and “tagged” data sets

(mainly for event displays)

May, 2003JAS3 + AIDA

Histogram Profile

ScatterPlot

XY Data(More appropriate forsmaller data sets)

Tuple Explorer - Plots

Works with any tuple, read from file or

dynamically created

May, 2003JAS3 + AIDA

Tuple Explorer – Define Columns

May, 2003JAS3 + AIDA

Tuple Explorer - Cuts

May, 2003JAS3 + AIDA

Tuple Explorer - Tabulate

May, 2003JAS3 + AIDA

To be used with record loop

Tuple Explorer – Record Source

May, 2003JAS3 + AIDA

JAS3 Spreadsheet

Simple spreadsheet pluginfor

Displaying resultsCalculationsSimple Plots

Supports reading/writing.csv filesExcel files

Cut/Paste with Excel etcComing Soon…

Scripting interfaceGUI for building plotsUser defined functions

– Java, scripting

May, 2003JAS3 + AIDA

Miscellaneous Features

Save/Restore configuration

User Preferences

Plugin Manager

May, 2003JAS3 + AIDA

JAS3 Architecture

Design based on Application Shell, into which many

(optional) modules can be pluggedAll of the features we have discussed previously are implemented by

one (or more) plugin modulesLoose coupling between modules allows for modules to be removed

without breaking remainder of programExtra modules (e.g. LCD specific modules) can be easily added

Highly customizable for different application domainsHEP/Astrophysics/OtherDST analysis/Online Monitoring/GRID analysisExperiment/User specific modules

Modules can be updated independently of shellPossible to release bug fixes fast

May, 2003JAS3 + AIDA

Status

Currently released JAS3 version 0.7AIDA functionality is quite solidCompiler, Loader, Record Loop all quite recently added,

Certainly still some rough edges

Documentation is still quite limitedThese talks, tutorials, built-in example scripts and programsThese will become the JAS built-in tutorial, once we factor our

experience from having you try it this week.

If you are used to JAS2 you will find some functionality

not yet ported to JAS3Remote (client/server) access to data (this is being worked on)3D Lego/Surface plots

May, 2003JAS3 + AIDA

Help us make it better

We have recently purchased and

are now seriously using a

commercial bug tracking system.Used not only for bugs, but also for

tracking tasks, ideas etc.Please report any problems you

find, and make suggestions for changes or improvements you would like to see.http://bugs.freehep.org

May, 2003JAS3 + AIDA

JAS3 Links, More Info

JAS – Java Analysis Studio - http://jas.freehep.org

JAS3 – http://jas.freehep.org/jas3

JAIDA – http://java.freehep.org/jaida/

AIDA – http://aida.freehep.org

FreeHEP - http://www.freehep.org

FreeHEP Java Libraries - http://java.freehep.org

WIRED – http://wired.freehep.org