Maria Grazia Pia - PowerPoint PPT Presentation

About This Presentation
Title:

Maria Grazia Pia

Description:

reusable design of (part of) a software system on a low or medium abstraction level ... the User* classes, the Singleton only provides access to the analysis ... – PowerPoint PPT presentation

Number of Views:28
Avg rating:3.0/5.0
Slides: 10
Provided by: mariagr
Category:

less

Transcript and Presenter's Notes

Title: Maria Grazia Pia


1
http//cern.ch/geant4/geant4.htmlhttp//www.ge.in
fn.it/geant4/events/salamanca.html
Analysis
  • Maria Grazia Pia
  • INFN Genova
  • Maria.Grazia.Pia_at_cern.ch
  • Salamanca, 15-19 July 2002

2
Collaborating Frameworks
In our application
  • Simulation
  • to model the experimental setup and generate
    effects from particle interactions
  • User Interface
  • to control configuration and flow of execution
  • Visualisation
  • detector geometry, particle tracks, hits etc.
  • Analysis
  • histogramming of physics quantities

3
Components and Frameworks
  • Frameworks are composed of components
  • Abstract Interfaces de-couple components and
    frameworks
  • Frameworks
  • correlated groups of classes (components)
    together with their interactions
  • re-usable (generic) designs of a software system
    on a very high abstraction level
  • flow of control is bi-directional between
    application and the framework library
  • Component
  • a correlated group of classes together with their
    interactions
  • reusable design of (part of) a software system on
    a low or medium abstraction level
  • Weakly coupled components and frameworks have
    large advantages
  • ease of re-use of component or framework
  • flexibility through independence of
    implementation
  • maintainability through independent evolution of
    components

4
Interface to external tools in Geant4
Through abstract interfaces
no dependence minimize coupling of components
  • Visualisation
  • (G)UI
  • Persistency
  • Analysis

Similar approach
The user is free to choose the concrete system
he/she prefers for each component
5
Brachytherapy exercise (histograms)
See how to do in geant4/examples/advanced/gammaray
_telescope/
6
Design choices
  • Analysis is based on AIDA
  • Independence of implementation Anaphe, JAS,
    OpenScientist can be used interchangeably without
    changing code
  • All analysis is concentrated in a Singleton
  • Eases access from several different classes
  • Analysis is done in the User classes, the
    Singleton only provides access to the analysis
    objects
  • Histograms, tuple

7
(No Transcript)
8
(No Transcript)
9
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com