Maria Grazia Pia, INFN Genova Software Process: Physics Maria Grazia Pia INFN Genova on behalf of the Geant4 Collaboration Budker Inst. of Physics IHEP.

Slides:



Advertisements
Similar presentations
Configuration Management
Advertisements

QuEdge Testing Process Delivering Global Solutions.
Maria Grazia Pia, INFN Genova Maria Grazia Pia INFN Genova, Italy Advanced software engineering in simulation development and.
Maria Grazia Pia, INFN Genova Low Energy Electromagnetic Physics Maria Grazia Pia INFN Genova on behalf of the Low Energy Electromagnetic WG Geant4 Workshop.
Maria Grazia Pia Geant4 LowE Workshop 30-31/5/2002 ow Energy e.m. Workshop CERN, May 2002.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Unit 2. Software Lifecycle
Maria Grazia Pia, INFN Genova 1 Part V The lesson learned Summary and conclusions.
Geant4-Genova Group Validation of Susanna Guatelli, Alfonso Mantero, Barbara Mascialino, Maria Grazia Pia, Valentina Zampichelli INFN Genova, Italy IEEE.
SYSC System Analysis and Design
4.1 Blended approaches: Information Engineering IMS Information Systems Development Practices.
Introduction to Geant4 Part I – General Introduction Makoto Asai (SLAC) Takashi Sasaki (KEK) March 22 nd, NIRS.
GEANT4 Introduction, History Geant4 User’s Workshop February 2002.
Iterative development and The Unified process
IS550: Software requirements engineering Dr. Azeddine Chikh 4. Validation and management.
Supplement 02CASE Tools1 Supplement 02 - Case Tools And Franchise Colleges By MANSHA NAWAZ.
Maria Grazia Pia, INFN Genova CERN, 26 July 2004 Background of the Project.
1 M.G. Pia et al. The application of GEANT4 simulation code for brachytherapy treatment Maria Grazia Pia INFN Genova, Italy and CERN/IT
Maria Grazia Pia, INFN Genova Low Energy Electromagnetic Physics Maria Grazia Pia INFN Genova
Maria Grazia Pia, INFN Genova – CHEP 2001 ow Energy Electromagnetic Physics ow Energy Electromagnetic Physics S. Chauvie,G. Depaola, F. Longo, V. Ivanchenko,
Budker Inst. of Physics IHEP Protvino MEPHI Moscow Pittsburg University.
What is Business Analysis Planning & Monitoring?
UML - Development Process 1 Software Development Process Using UML (2)
Introduction to RUP Spring Sharif Univ. of Tech.2 Outlines What is RUP? RUP Phases –Inception –Elaboration –Construction –Transition.
P. Nieminen & M.G. Pia Achievements of the LowE e.m. WG Petteri Nieminen & Maria Grazia Pia Geant4 Workshop Paris, October 2000
-Nikhil Bhatia 28 th October What is RUP? Central Elements of RUP Project Lifecycle Phases Six Engineering Disciplines Three Supporting Disciplines.
Michela Piergentili, INFN Genova F. P. Brooks, “No Silver Bullet - Essence and Accidents of Software Engineering”, IEEE Computer 20(4):10-19, April, 1987.
Rational Unified Process Fundamentals Module 4: Disciplines II.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
Software Engineering CS3003 Lecture 3 Software maintenance and evolution.
©Ian Sommerville 2000, Mejia-Alvarez 2009 Slide 1 Software Processes l Coherent sets of activities for specifying, designing, implementing and testing.
M.G. Pia et al. Brachytherapy at IST Results from an atypical Comparison Project Stefano Agostinelli 1,2, Franca Foppiano 1, Stefania Garelli 1, Matteo.
Usability Issues Documentation J. Apostolakis for Geant4 16 January 2009.
Identify steps for understanding and solving the
A. Aimar - EP/SFT LCG - Software Process & Infrastructure1 Software Process panel SPI GRIDPP 7 th Collaboration Meeting 30 June – 2 July 2003 A.Aimar -
OOAD… LowE Electrons From HEP computing to medical research and vice versa Bidirectional From HEP computing to medical research and vice versa Bidirectional.
Maria Grazia Pia, INFN Genova User Requirements: Maria Grazia Pia Genova, 29 September 2000 Capture Geant4-DNA.
Maria Grazia Pia, INFN Genova Test & Analysis Project aka “statistical testing” Maria Grazia Pia, INFN Genova on behalf of the T&A team
Maria Grazia Pia, INFN Genova 1 User Requirements: Maria Grazia Pia Genova, 31 May 2000 their definition and application in the project Geant4-DNA.
Maria Grazia Pia, INFN Genova 1 Part II Software engineering Geant4 rigorous approach to software.
Information Systems Engineering. Lecture Outline Information Systems Architecture Information System Architecture components Information Engineering Phases.
Release Management Configuration management. Release Management Goal Coordinate the processes through the project development life cycle Ensure the.
Geant4 Space User Workshop 2004 Maria Grazia Pia, INFN Genova Proposal of a Space Radiation Environment Generator interfaced to Geant4 S. Guatelli 1, P.
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
Maria Grazia Pia, INFN Genova Training Genova 2-6 July 2001 Maria Grazia Pia INFN Genova.
PROC-1 1. Software Development Process. PROC-2 A Process Software Development Process User’s Requirements Software System Unified Process: Component Based.
P. Nieminen & M.G. Pia. Assessment on the Milestones 2000 Maria Grazia Pia Geant4 Workshop Paris, October 2000
Geant4 Training 2006 Short Course Katsuya Amako (KEK) Gabriele Cosmo (CERN) Susanna Guatelli (INFN Genova) Aatos Heikkinen (Helsinki Institute of Physics)
Maria Grazia Pia, INFN Genova Statistics Toolkit Project Maria Grazia Pia, INFN Genova AIDA Workshop.
G.Govi CERN/IT-DB 1 September 26, 2003 POOL Integration, Testing and Release Procedure Integration  Packages structure  External dependencies  Configuration.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
P. Nieminen & M.G. Pia Summary of the LowE e.m. WG week and common LowE/Standard e.m. sessions Petteri Nieminen & Maria Grazia Pia Geant4 Workshop Paris,
Maria Grazia Pia, INFN Genova Maria Grazia Pia INFN Genova Salamanca, July 2002
Geant4 Training 2004 Short Course Katsuya Amako (KEK) Gabriele Cosmo (CERN) Giuseppe Daquino (CERN) Susanna Guatelli (INFN Genova) Aatos Heikkinen (Helsinki.
Maria Grazia Pia, INFN Genova and CERN1 Geant4 highlights of relevance for medical physics applications Maria Grazia Pia INFN Genova and CERN.
Maria Grazia Pia, INFN Genova - G4 WG Coord. Meeting, 13/11/2001 ow Energy Electromagnetic Physics ow Energy Electromagnetic Physics New physics features.
Follow-up to SFT Review (2009/2010) Priorities and Organization for 2011 and 2012.
Maria Grazia Pia, INFN Genova Advanced Examples Maria Grazia Pia, INFN Genova on behalf of the LowE/advanced examples WG
Configuration Management
Software Project Configuration Management
EGEE Middleware Activities Overview
Advanced Examples Maria Grazia Pia, INFN Genova
Configuration Management
Low Energy Electromagnetic Physics
Introductory Course PTB, Braunschweig, June 2009
G.Cosmo - URD improvements Gabriele Cosmo (CERN/IT-API)
Short Course Siena, 5-6 October 2006
Workshop Genova July
Overview Activities from additional UP disciplines are needed to bring a system into being Implementation Testing Deployment Configuration and change management.
Presentation transcript:

Maria Grazia Pia, INFN Genova Software Process: Physics Maria Grazia Pia INFN Genova on behalf of the Geant4 Collaboration Budker Inst. of Physics IHEP Protvino MEPHI Moscow Pittsburg University Univ. of Helsinki Univ. of Barcelona Geant4 Review CERN, June 2001

Maria Grazia Pia, INFN Genova Outline User Requirements l Capture l Specification, Analysis, Maintenance l Approval, prioritisation OOAD Testing and validation Traceability SPI Various methodologies followed by the Physics WGs Adapted to the scope of each WG, its management etc. Also adapted to the user communities addressed A rigorous software process is applied in support of a better quality of the software especially relevant in the physics domain

Maria Grazia Pia, INFN Genova UR: capture Elicitation through interviews and surveys l Useful to ensure that UR are complete and there is wide agreement Joint workshops with user groups Direct requests from users to WG coordinators or members Use cases Not only functional requirements, users also ask for l Documentation l Proof of validation of the physics models and their implementation l Examples of application in real-life set-ups Various methodologies adopted User requirements evolve …and we should be able to cope with their evolution! The requirements derive from many sources, in diverse domains l HEP, astrophysics, space, medical etc. Analysis of existing Monte Carlo codes Study of past and current experiments Prototyping l Useful especially if requirements are unclear or incomplete l Prototype based on tentative requirements, then explore what is really wanted

Maria Grazia Pia, INFN Genova UR: specification, analysis and maintenance UR 4.1 The user shall be able to simulate polarised Compton scattering. Need : Essential Priority : Needed by end 2001 Stability : Stable Source : INFN-Argentinian telescope, UNH Clarity : Clear Verifiability : To be verified An example Posted on the WG web site Other methodologies adopted eg. Hadronic Physics: UR described in a publication Specification: Specification: PSS-05 standardMaintenance: under configuration management, in CVS repository Analysis: Analysis: in WG workshops

Maria Grazia Pia, INFN Genova UR approval, prioritisation Affect a single physics WG, not other categories Handled within the WG l WG coordinator decides l Decided in WG meetings l Informal discussions within the WG Then reported to the TSB l Usually as part of the WG plans for a Geant4 release Recorded l In WG public documents l In WG internal documents l In WG coordinator’s private documents Affect more than one class category, or relevant architectural issues Discussed in the TSB Recorded in the TSB minutes Internal requirements Collaboration-wide requirements

Maria Grazia Pia, INFN Genova OOAD – extensively used for the initial generation of design documents – regularly used as part of the software life-cycle by some WGs – where required, also for reverse engineering (Hadronic Physics, Standard EM, LowE EM initially) Booch methodology for OOAD The life-cycle model adopted for most domains in Geant4 is both iterative and incremental  especially relevant in the physics domain! Spiral approach – has been chosen as the common language for documentation of designs and internal design reviews – old documents in Booch notation are being progressively updated and converted to UML UML notation Rational Rose CASE tool

Maria Grazia Pia, INFN Genova Design process Framework functional requirements are obtained through use-case analysis Framework components are found through grouping use-cases into independent bundles A Russian dolls approach to framework design Keep abstractions general and implement in framework interfaces Address more specific use-cases in specialized frameworks, that are implementing the interfaces of the more general frameworks An example of OOAD in the physics domain

Maria Grazia Pia, INFN Genova Testing & QA Various levels of testing Unit testing Cluster testing System/integration testing Acceptance testing Physics validation Documentation of procedures, essential to a rigorous software process Other tools and methods to improve quality: Automated code checking (Code Wizard) Code reviews Defect analysis and prevention Posted on the WG web site

Maria Grazia Pia, INFN Genova Unit tests Examples

Maria Grazia Pia, INFN Genova Validation Comparison with experimental data At various levels: details of physics models and global features Shower profile Multiple scattering p elastic scattering on hydrogen Some examples

Maria Grazia Pia, INFN Genova Collaboration with user groups in testing LIP & Portuguese Oncological Institute Italian National Institute for Cancer Research INFN Torino Independent validation of physics models and implementation Some examples Photon attenuation coefficient in water Pixel ionisation chamber Relative dose in water

Maria Grazia Pia, INFN Genova Traceability Traceability between l Requirements l Design l Implementation l Tests One of the objectives of the SPI programme in progress  Traceability process Already fully implemented and documented in one of the Physics WGs In progress in other WGs Emphasis at the Geant4 Workshop in July

Maria Grazia Pia, INFN Genova URDesign Implementation Unit testSystem test 1.1 LowE.mdl e/photon G4LowEnergyBremsstrahlung G4LowEnergyIonisation G4LowEnergyCompton G4LowEnergyPhotoelectric G4LowEnergyRayleigh G4LowEnergyGammaConversion G4LowEnergyGammaConversionTest G4BremsstrahlungTest G4IonisationTest G4ComptonTest G4Photoelectric G4RayleighTest Test Future 1.3 Future 1.4 Future A.1 LowE.mdl e/photon See 1.1 Test14 A.2 LowE.mdl e/photon See 1.1 Test14 A.3 LowE.mdl e/photon See 1.1 Not available yetTest14 A.4 LowE.mdl e/photon Future Example of traceability map

Maria Grazia Pia, INFN Genova SPI Improvements motivated by the assessment in 2000 èfocus on design and QA Tailor Geant4-wide processes to the specific context of WGs, or even of projects Aim: a continuously improving software process

Maria Grazia Pia, INFN Genova Relevant activities in User Requirements The maintenance of the general Geant4 URD is part of the SPI in progress Collection, specification and analysis of new requirements Maintenance of WG URD (for WGs having specific URD) OOAD Testing & QA New tests Extension of coverage of existing tests Collaboration with users in validation Design and code reviews Design iterations OOAD cycles for new features Move to UML notation SPI Traceability Internal training to SPI