Title: WIRED
1- WIRED
- World-Wide Web Interactive Remote Event Display
- Mark Dönszelmann, IT/API, CERN
- CHEP 2000, 9 February 2000, Padova, Italy
2Features
- Framework for building Event Displays
- 10 of code is experiment specific
- Client Server Architecture
- Client can be used as Application or Applet
(browser mode) - Written entirely in Java
- Client in Java, Server can be in a different
language - Access to data
- reads files or connects to Java, FORTRAN, C and
C - Graphics Engine to do HEP specific projections
- 3D as well as non-linear (fish-eye) projections
- ATLAS, BaBar, CHORUS, DELPHI and LHCb
- Development infrastructure available for
collaboration
3WIRED as Application (Delphi)
4WIRED as Applet in Netscape (BaBar)
5Client-Server Architecture
WIRED Application
WIRED Server
Geometry and Events
Geometry and Events
WIRED Code
WIRED Gateway
WWW Browser
WIRED Applet
WWWServer
WIRED Code
6Plug-in Architecture
ApplicationorApplet
EventLoader
GUI Draw
Cache
WIRED
GeometryLoader
Representables
Represent
Project
Representations
Projections
Projectables
Drawables
7GUI (Views and Controls)
MenuBar
ToolBar
ViewTop
ControlTop
Console
8Event Visibility Tree
9Infobus to connect Views to Controls
Comm. Status
Event Selector
Event Info
Command
Info Bus
Views
Parts Select
Info Bus
10Merge Controller
Bus
Merge Controller
Control 1
unknown
View 1 5003
View 2 5003
View 3 5007
View 4 5003
View 5 5007
Control 2
Merge Controller
5007
Select Bus
11Graphics Engine - Special Projections
Parallel Projectionbased on a matrix calculation
X-Fish Eye Projectionbased on functions
12WIRED Graphics Engine versus 3D
Scaling using a 3D Graphics Engine
All drawables based on volume
Scaling using theWIRED Graphics Engine
All drawables based on fixed sized symbols
13Rendering Pipe
Store
Canvas
Pipe
Representation
EventCache
Projection
Hits, Tracks, ...
2D Symbols in 3D
2D Symbols in 2D
3D Transformationto 2D
14Cascaded Projections
Single Projectionat draw time W is discarded
Cascaded ProjectionU,V,W output is X,Y,Z
input at draw time final W value is discarded
15Layering
Layering System
Result
16Access to Data
- XML
- File access (direct or over web server)
- Easiest way to get data in WIRED, but also slow
- Relatively large files, but compression factor is
high - Use for fixed geometry (DTD is available)
- No interaction possible
- ATLAS, DELPHI, LHCb
- RMI
- Copy of objects is possible (e.g. full event
object structure) - Server is in Java
- CHORUS (to FORTRAN via C)
- CORBA
- Copy of structures is possible
- Server can be in C or Java
- BaBar (to C)
17WIRED as JAS Plug-In
- Access to Data
- Access to/from GUI
- Selection of single events
- Selection of tracks and hits
- Connection to Infobus
- Display of status information
- Collaboration with Tony Johnson is ongoing...
18Libraries and Tools (3rd party)
- Jikes (compiler)
- Swing (gui)
- Aelfred and xml4j (XML parsers)
- JavaMail (bug reporting)
- BeanShell (java scripting engine)
- Infobus (software bus)
- JavaHelp (help system)
- JUnit (unit testing framework)
- ORBacus (CORBA)
- Log4j (logging facility)
19Infrastructure for development
- Unix and NT support for development
- AFS to access repository --gt migrate to CVS
server - CVS repository and CVSWeb
- GNUMake
- Nightly build and test on different platforms
- JIndent for coding convention
- JInstall Toolkit to create distribution
20Summary
- Now
- Graphics Engine, including picking, reasonably
complete - Printing in PostScript
- Easy event selection
- Access to Data in XML, RMI and CORBA
- Near Future
- Integration - Coupling to JAS
- Further Infobus integration
- Additional Controls
- Addition of the scripting engine
- Configuration saving and restoring (in XML)
- HepRep implementation
- Access to C objects directly (without CORBA)
21Authors (including students)
- Andrea Ballaminut, University of Udine, Italy
- Cristian Colonello, University of Udine, Italy
- Mark Dönszelmann, CERN
- Eric van Herwijnen, CERN
- Dies Köper, NIKHEF, Amsterdam, The Netherlands
- Jari Korhonen, University of Oulu, Finland
- Maarten Litmaath, Fermilab, U.S.A.
- Joseph Perl, SLAC, U.S.A.
- Anna Theodorou, CERN
- Daniel Whiteson, CERN
- Eberhard Wolff, CERN