Top Banner
12.10.02 H.G.Essel: Go4 - http://go4.g si.de 1 J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel , S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4 v2.0 Status & Overview
23

12.10.02H.G.Essel: Go4 - J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

Jan 21, 2016

Download

Documents

Regina Carroll
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 1

J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev

ROOT 2002

GSIOnlineOfflineObjectOriented

Go4 v2.0 Status & Overview

Page 2: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 2

Package Layers Go4 v2.0

ROOT Framework

TThread

Go4 GUI Go4 Analysis

Qt Library

QtROOT

Go4TaskHandler

Go4ThreadManager

Page 3: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 3

Releases

• Go4 thread manager package (Nov 2001, June 2002)

• Go4 task handler package (June 2002)

• Go4 Qt-ROOT interface (Nov 2001, July 2002)

• Go4 v1.x GSI internal release (May 2002)

• Go4 fit package (API) (Oct 2002) soon ( roottalk)

• Go4 v2.0 public release (Oct 2002) soon ( roottalk)

Linux is the strategic platform for experiment data processing at GSI

Page 4: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 4

Features of Go4

• Framework for many experiments (AP & NP)

• The analysis is written by the user (unlimited ROOT)

• A GUI controls and steers the analysis

• An analysis may run permanently (e.g. on-line)

• An analysis may update graphics asynchronously

• The GUI provides efficient interactivity

• The GUI is never blocked

• The analysis may run in batch mode

Page 5: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 5

How One Can Use Go4

• Use GUI as ROOT-file browser / viewer- Histograms- Trees

Page 6: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 6

zoom/shift

Root File Browser

Page 7: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 7

Tree Viewer

Page 8: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 8

How to Use Go4 cont.

• Use GUI as ROOT-file browser / viewer- Histograms- Trees

• Connect your ROOT analysis to GUI- little efford to adapt- dynamic tree draw- Example: HADES online analysis

• Develop analysis with Go4 framework- Event classes (composite)- Event IO (trees, branches)- Analysis steps- Parameters, conditions

• Use Fit package independent of Go4 more by Sergey Linev

-> Go4 tasks

Page 9: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 9

Go4 Tasks: GUI

- QApplication- TApplication

Go4 GUI

ROOT files

GSI histogram API

GUI

Page 10: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 10

Go4 Tasks: GUI

- QApplication- TApplication

Go4 GUI

User GUI

Preferences

ROOT files

GSI histogram API

GUI

Page 11: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 11

Go4 Tasks: GUI & Analysis

- QApplication- TApplication

sock

et

thre

ads

sock

et

thre

ads

Go4 GUI

User GUI

Preferences

- Commands- Objects

ROOT files

GSI histogram API

AnalysisGUI

Page 12: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 12

Go4 Tasks: GUI & Analysis

User event loop

- QApplication- TApplication

sock

et

thre

ads

sock

et

thre

ads

Autosave

Event IO:- DAQ

- Server- Files- User

Go4 GUI

User GUI

Preferences

- Commands- Objects

ROOT files

GSI histogram API

AnalysisGUIPreferences

Page 13: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 13

Go4 Tasks: GUI & Analysis

User event loop

- QApplication- TApplication

sock

et

thre

ads

sock

et

thre

ads

Histogramserver

Event IO:- DAQ

- Server- Files- User

Histogram clients:- Go4

- Origin- LeA

Go4 GUI

User GUI

Preferences

- Commands- Objects

Histogramclient

Histogram servers:- Go4- LeA

- MBS DAQ- GOOSY

ROOT files

GSI histogram API

AnalysisGUIPreferences

Page 14: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 14

GUI: Stand Alone Features

• Program written in standard ROOT & Qt

• Uses QtROOT interface

• Qt and ROOT widgets work

• Developed with Qt designer

• Extended browser (files)

• Extended tree viewer (unlimited levels)

• Additional layer of graphical interaction

• Fit

• Save/restore layout

More by Mohammad Al-Turany

Page 15: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 15

• Analysis control

• Analysis step control (built from analysis)

• Visualize analysis status (from analysis)

• Remote browser (objects from analysis)

• Remote tree draw

• Condition editing (window, polygon from analysis)

• Object editing (from analysis)

• Adding user GUIs

• Event displays (user), can be initiated from analysis

GUI for Analysis

Page 16: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 16

Analysis

• User written (main program)

• Runs in CINT, line mode (batch) or GUI controlled

• Analysis step factory

Page 17: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 17

Analysis Steps (Event Loop)

Factorystep 1

input1

process1

output1

input

input2 = output1

process2

output2

file2

Factorystep 2

more by Jörn Adamczewski

Page 18: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 18

Analysis Steps (Event Loop)

Factorystep 1

input1

process1

output1

file1

input

input2 = output1

process2

output2

file2

Factorystep 2

more by Jörn Adamczewski

Page 19: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 19

Analysis cont.

• Composite event classes (more by Denis Bertini)

• Event IO (GSI sources, others)

• Conditions (windows, polygons)

• Persistency through autosave

• Optional object server

Page 20: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 20

Analysis step control

Analysis started

Page 21: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 21

Output from analysis task

Analysis started

Page 22: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 22

fields updated by analysis

Monitored histogram

Analysis started and running

Page 23: 12.10.02H.G.Essel: Go4 -  J. Adamczewski, M. Al-Turany, D. Bertini, H.G.Essel, S.Linev ROOT 2002 GSI Online Offline Object Oriented Go4.

12.10.02 H.G.Essel: Go4 - http://go4.gsi.de 23

What´s Next

• Release Go4 v2.0

• Fit GUI

• Remote object editing

• Integrate OpenInventor

• Support event displays

• More graphical interaction

• More dynamic analysis

• Documentation