Computational Physics Java Analysis Studio Dr. Guy Tel-Zur.

Slides:



Advertisements
Similar presentations
Continuation of chapter 6…. Nested while loop A while loop used within another while loop is called nested while loop. Q. An illustration to generate.
Advertisements

Alberto Ribon CERN Geant4Workshop Vancouver, September 2003 Tutorial of the Statistical Toolkit
Maria Grazia Pia, INFN Genova 1 Data analysis with R in an experimental physics environment Andreas Pfeiffer (CERN) and Maria Grazia Pia (INFN Genova)
Lab III – Linux at UMBC.
For(int i = 1; i
Introduction to Computer Science Robert Sedgewick and Kevin Wayne Copyright © Recursive GCD Demo public class.
Introduction to Computer Science Robert Sedgewick and Kevin Wayne Recursive Factorial Demo pubic class Factorial {
Firefly Synchronisation Java Demo in 1D Array. 1 Dimension Firefly in Java two neighbors 1. Initialization: 2.
Computer Programming Lab(7).
Picture It Very Basic Game Picture Pepper. Original Game import java.util.Scanner; public class Game { public static void main() { Scanner scan=new Scanner(System.in);
Java POWERED BY: ARVIND DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING RADHA GOVIND GROUP OF INSTITUTIONS,MEERUT.
User Interface The full set of lecture notes of this Geant4 Course is available at
CSC469 Tutorial2 Inline assembly, cycle counters, Gnuplot, LaTeX
June 4-8, 2007 G4ParisAnalysis 2 P. Gueye1 Analysis 2 Histograms and ntuples Paul Guèye Hampton University Hampton VA
Computer Programming Lab 8.
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.
Alice in Action with Java Chapter 5 Random Numbers.
Stack buffer overflow.
Victor Serbo, CHEP071 JAIDA, JAS3, WIRED4 and the AIDA tag library - experience and new developments DONSZELMANN, Mark (SLAC)DONSZELMANN, Mark JOHNSON,
JAS – Distributed Data Analysis Grid Enabled Analysis Workshop Caltech - June 23-25, 2003.
Random (1) Random class contains a method to generate random numbers of integer and double type Note: before using Random class, you should add following.
Computational Physics Dr. Guy Tel-Zur Bench In Valley Gardens by Petr Kratochvil. Version :50.
Analysis with Geant4 and AIDA Tony Johnson SLAC-Geant4 Workshop February 2002 Tony Johnson.
Victor Serbo, SLAC30 September 2004, Interlaken, Switzerland JASSimApp plugin for JAS3: Interactive Geant4 GUI Serbo, Victor (SLAC) - presenter Donszelmann,
Will Smythe Senior Program Manager Developing Java projects on Visual Studio Online with Team Explorer Everywhere.
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.
Java Root IO Part of the FreeHEP Java Library Tony Johnson Mark Dönszelmann
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.
Java Commodity Grid (Java CogKit) Java CogKits allow developers to use commodity technologies such as Java or Python in programming the Grid based on Globus.
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
Fitting in AIDA General Concepts Requirements JAIDA Examples Interfaces Overview Conclusions.
Update on IS performance issues Classes for storing and retrieving scan data from IS GUI updates –Scripting support –Histogramming Overview.
G.Barrand, LAL-Orsay G4/analysis. G.Barrand, LAL-Orsay What is “analysis” ? Histogram, Tuple, Fitter, Function, Plotter.
Visualization of Geant4 Data: Exploiting Component Architecture through AIDA, HepRep, JAS and WIRED Geant4 Workshop, CERN - 2 October 2002 Joseph Perl.
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.
Int fact (int n) { If (n == 0) return 1; else return n * fact (n – 1); } 5 void main () { Int Sum; : Sum = fact (5); : } Factorial Program Using Recursion.
Mobile Analyzer A Distributed Computing Platform Juho Karppinen Helsinki Institute of Physics Technology Program May 23th, 2002 Mobile.
亚洲的位置和范围 吉林省白城市洮北区教师进修学校 郑春艳. Q 宠宝贝神奇之旅 —— 亚洲 Q 宠快递 你在网上拍的一套物理实验器材到了。 Q 宠宝贝打电话给你: 你好,我是快递员,有你的邮件,你的收货地址上面 写的是学校地址,现在学校放假了,能把你家的具体 位置告诉我吗? 请向快递员描述自己家的详细位置!
Utilizzo del codice GEANT4 in campo medico LNS (Mon 12-Oct Wed 14-Oct-2009) Gestione ed analisi dei dati prodotti.
Discussion with Blueprint RTAG August 2002 Tony Johnson SLAC.
GLAST Science Support Center July 16, July Ground Software Workshop Plotting Facilities for the GLAST Science Tools James Peachey, HEASARC Dan.
Dell Laptop Technical Support Number
using System; namespace Demo01 { class Program
Scientific Plotting for J2EE
Buy Skin Lightening Cream UK | Everything4you
Computing Adjusted Quiz Total Score
March 29th Odds & Ends CS 239.
TO COMPLETE THE FOLLOWING:
AP Java Warm-up Boolean Array.
Cs212: DataStructures Computer Science Department Lab 3 : Recursion.
Java Lesson 36 Mr. Kalmes.
Medications Utilities – Mass Void Medications
Recursive GCD Demo public class Euclid {
class PrintOnetoTen { public static void main(String args[]) {
-.&- ·Af& Q 0 "i'/
Scientific Computing Home Assignment #3
Grid and Cloud Computing Lecture 8
Presentation transcript:

Computational Physics Java Analysis Studio Dr. Guy Tel-Zur

FreeHEP (High-Energy Physics) Demos: this laptop (but it gets hot), the other DELL laptop (Linux) under ~/Downloads/jas…

Example 1 - Java

import hep.aida.*; import java.util.Random; public class CreateAndPlotHistograms { public static void main(String[] argv) { IAnalysisFactory af = IAnalysisFactory.create(); ITree tree = af.createTreeFactory().create(); IHistogramFactory hf = af.createHistogramFactory(tree); tree.mkdir("/Histograms"); tree.cd("/Histograms"); IHistogram1D h1 = hf.createHistogram1D("Histogram 1D",50,-3,3); IHistogram2D h2 = hf.createHistogram2D("Histogram 2D",40,- 3,3,40,-3,3); tree.mkdir("/Clouds"); tree.cd("/Clouds"); ICloud1D c1 = hf.createCloud1D("Cloud 1D"); ICloud2D c2 = hf.createCloud2D("Cloud 2D"); IPlotter plotter = af.createPlotterFactory().create("CreateAndPlotHistograms.java plot");

plotter.show(); plotter.createRegions(2,2); plotter.region(0).plot(h1); plotter.region(1).plot(h2); plotter.region(2).plot(c1); plotter.region(3).plot(c2); Random r = new Random(); for (int i = 0; i < ; i++ ) { h1.fill(r.nextGaussian()); h2.fill(r.nextGaussian(),r.nextGaussian()); c1.fill(r.nextGaussian()); c2.fill(r.nextGaussian(),r.nextGaussian()); }

The same code in Python! from hep.aida import * from java.util import Random factory = IAnalysisFactory.create(); tree = factory.createTreeFactory().create(); hf = factory.createHistogramFactory(tree); tree.mkdir("/Histograms"); tree.cd("/Histograms"); h1 = hf.createHistogram1D("Histogram 1D",50,-3,3); h2 = hf.createHistogram2D("Histogram 2D",40,-3,3,40,-3,3); tree.mkdir("/Clouds"); tree.cd("/Clouds"); c1 = hf.createCloud1D("Cloud 1D"); c2 = hf.createCloud2D("Cloud 2D");

plotter = factory.createPlotterFactory().create("CreateAndP lotHistograms.py plot"); plotter.show(); plotter.createRegions(2,2); plotter.region(0).plot(h1); plotter.region(1).plot(h2); plotter.region(2).plot(c1); plotter.region(3).plot(c2); r = Random() for i in range(100000): h1.fill(r.nextGaussian()) h2.fill(r.nextGaussian(),r.nextGaussian()) c1.fill(r.nextGaussian()) c2.fill(r.nextGaussian(),r.nextGaussian())