G4analysis - PowerPoint PPT Presentation

About This Presentation
Title:

G4analysis

Description:

Have architectures able to evolve and that permits to share the work. Abstract interfaces are one part of the solution ... XrayTel already shakes G4AM v0... – PowerPoint PPT presentation

Number of Views:89
Avg rating:3.0/5.0
Slides: 20
Provided by: barr101
Category:

less

Transcript and Presenter's Notes

Title: G4analysis


1
G4/analysis

2
What is analysis ?
  • Histogram, Tuple, Fitter, Function, Plotter.

3
What is analysis ?
Storage
Languages
Net
Analysis
Data
Vis
Histo, Fitter,
GUI
  • Analysis conjunction of everything !!!!

4
Huge turnover of facilities
C, java
Objectivity, ?
Net
Analysis
Data
OpenGL, Inventor, j3D
Histo, Fitter,
Gtk, Qt, awt, SWING
How to face ?
5
The TUniverse ?
TC
TIO
TNet
TData
TAnalysis
TVis
TGeant
TGUI
THisto, TFitter,
TUniverse -gt leave the real world !
(Zf77-Universe whilst the world migrates toward
OO,)
6
What else ?
  • Have architectures able to evolve and that
    permits to share the work.
  • Abstract interfaces are one part of the solution
    (others are standards XML, IDL, OpenGL, etc)

7
Abstract interfaces
IHistogram int dimensions() 0 int
entries() 0 .
Plotter(IHistogram)
A plotter in a dll does not depend of a concrete
implementation of histogram -gt modularity !
Sharing the work assumes an agreement over
IHistogram.
8
AIDA
  • Abstract interfaces exist in JAS, Lizard,
    OpenScientist, Gaudi,
  • AIDA the set of agreed one ! (?)
  • AIDA IHistogram1D, 2D, Factory.
  • Take care of what you buy ! Agreed interfaces or
    interfaces of a specific analysis environment ?
  • No agreement -gt cant share the work.

9
AIDA difficulties
  • Difficulties
  • Agreement take times because analysis things
    had never been really formalised !
  • Burden of historical design mistakes of well
    established first generation of analysis tools.
  • The TUniverse do not want (obviously) to discuss !

10
Exa, IHistogram
  • IHistogram1D IHistogram

  • void fill(double,double) 0



  • Must it define only the user interface to
    histograms ?
  • Must it be the interface designed by architects
    to reach interoperabilities of implementations ?
  • Must it be the interface of the histogram
    embedded in a framework (then having store, vis,
    methods) ?

11
Geant4 and analysis
  • Did not take party for such or such analysis
    environment.
  • Does Geant4 collaboration have to take party for
    such or such set of abstract interfaces ?
  • If answer is yes, it should be for a set of
    collaborative agreed ones !

12
Agreed interfaces permit to do something
JAS
OpenScientist
G4Kernel
G4AnalysisManager
AAIDA
Lizard
?
  • G4AnalysisManager gateway toward analysis
    systems.
  • (G4VisManager hub for graphics systems)
  • First draft design get out from Naruto workshop.

13
MyAnalysisManager v0
  • MyAnalysisManager G4AnalysisManager
    IHistogram1D fEnteringEnergy
  • MyAnalysisManager(const G4String aSystem)
    RegisterAnalysisSystem(new G4JasSystem)
    RegisterAnalysisSystem(new
    G4OpenScientistSystem) IHistogramFac
    tory hFac GetHistogramFactory(aSystem) fEnt
    eringEnergy hFac-gtcreateHistogram1D(En
    tering energy,100,0,0.002)
  • void MyAnalysisManagerStep(G4Step aStep)
  • double energy
  • fEnteringEnergy-gtfill(energy)
  • void EndOfRun(G4Run aRun)
    Store()

14
Usage
  • void main()
  • G4AnalysisManager am new MyAnalysisManager
    (JAS)
  • runManager-gtSetUserAction(new
    MyStepping(am))
  • runManager-gtSetUserAction(new MyRun(am))
  • MyStepping G4AnalysisManager fAM
    MyStepping(G4AnalysisManager aAM)
    fAM(aAM) void UserSteppingAction(G4Step
    aStep) fAM-gtStep(aStep)
  • Analysis concentrated in ONE CLASS.

15
Source/analysis
  • Source/analysis/management G4AnalysisManager
  • lt source/analysis/ltsystemsgt gt ?
  • No dependencies of the kernel toward analysis !
  • G4AnalysisManager IS NOT AN ANALYSIS SYSTEM.

16
v1 ? After (non?)discussion
  • Suppress Registration of systems ? Use dynamic
    loading of implementations by hooking factories
    ?
  • G4AnalysisManager IAnalysisManager
  • IAnalysisManager methods ?

17
XrayTel
  • What are you buying at this workshop ?
    Agreed interfaces or interfaces of a specific
    analysis environment ?

18
XrayTel G4AnalysisManager v0
  • XrayTel already shakes G4AM v0
  • The Stepping action analysis does not rely only
    on the G4Step received in argument.
  • The analysis uses tuples ITuple (and then
    IStorage) not yet in the set of agreed interfaces
    !

19
Then
  • Does Geant4 collaboration have to take party for
    a set of abstract interfaces ?
  • If answer is yes, it should be for a set of
    collaborative agreed ones !
Write a Comment
User Comments (0)
About PowerShow.com