Maria Grazia Pia, INFN Genova New rchitectural design for vel experimental domains New architectural design for novel experimental domains R&D on simulation.

Slides:



Advertisements
Similar presentations
Maria Grazia Pia, INFN Genova and CERN1 An OO model for intra-nuclear transport Maria Grazia Pia L. Bellagamba, A. Brunengo, E. Di Salvo for the Geant4.
Advertisements

Maria Grazia Pia, INFN Genova New techniques in Monte Carlo simulation: experience with a prototype of generic programming application to Geant4 physics.
Stefan Roesler SC-RP/CERN on behalf of the CERN-SLAC RP Collaboration
Simulation of X-ray Fluorescence and Application to Planetary Astrophysics A. Mantero, M. Bavdaz, A. Owens, A. Peacock, M. G. Pia IEEE NSS -- Portland,
Maria Grazia Pia, INFN Genova Design and performance evaluation of generic programming techniques in a R&D prototype of Geant4 physics CHEP 2009 Prague,
Maria Grazia Pia, INFN Genova Atomic Relaxation Models A. Mantero, B. Mascialino, Maria Grazia Pia INFN Genova, Italy P. Nieminen ESA/ESTEC
Hee Seo, Chan-Hyeung Kim, Lorenzo Moneta, Maria Grazia Pia Hanyang Univ. (Korea), INFN Genova (Italy), CERN (Switzerland) 18 October 2010 Design, development.
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.
Max-Planck-Institut für extraterrestrische Physik and Halbleiterlabor, Germany Space Sciences Lab., UC Berkeley, USA CNES, Toulouse, France INFN Genova.
Maria Grazia Pia, INFN Genova PhysicsLists in Geant4 Advanced Examples M.G.
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
Budker Inst. of Physics IHEP Protvino MEPHI Moscow Pittsburg University.
Maria Grazia Pia, INFN Genova and CERN1 Geant4 Hadron Kinetic Model for intra-nuclear transport Maria Grazia Pia CERN/IT and INFN, Sezione di Genova L.Bellagamba.
Physics data management tools: computational evolutions and benchmarks Mincheol Han 1, Chan-Hyeung Kim 1, Lorenzo Moneta 2, Maria Grazia Pia 3, Hee Seo.
Maria Grazia Pia, INFN Genova Software Process: Physics Maria Grazia Pia INFN Genova on behalf of the Geant4 Collaboration Budker Inst. of Physics IHEP.
Sergey Ananko Saint-Petersburg State University Department of Physics
1 GEANT4: Applications in Medical Physics B. Caccia Department of Technology and Health Istituto Superiore di Sanità (Italian National Institute of Health)
Capability Maturity Models Software Engineering Institute (supported by DoD) The problems of software development are mainly caused by poor process management.
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
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 Test & Analysis Project aka “statistical testing” Maria Grazia Pia, INFN Genova on behalf of the T&A team
Summer Practice in JINR Mathematical modeling of high-energy particle beams in accelerators.
Riccardo Capra 1, Stéphane Chauvie 2, Ziad Francis 3, Sebastien Incerti 4, Barbara Mascialino 1, Gerard Montarou 3, Philippe Moretto 4, Petteri Nieminen.
Maria Grazia Pia, INFN Genova New Physics Data Libraries for Monte Carlo Transport Maria Grazia Pia 1, Lina Quintieri 2, Mauro Augelli 3, Steffen Hauf.
Combining Theory and Systems Building Experiences and Challenges Sotirios Terzis University of Strathclyde.
Susanna Guatelli & Barbara Mascialino G.A.P. Cirrone (INFN LNS), G. Cuttone (INFN LNS), S. Donadio (INFN,Genova), S. Guatelli (INFN Genova), M. Maire (LAPP),
Geant4 Space User Workshop 2004 Maria Grazia Pia, INFN Genova Proposal of a Space Radiation Environment Generator interfaced to Geant4 S. Guatelli 1, P.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Computing Performance Recommendations #13, #14. Recommendation #13 (1/3) We recommend providing a simple mechanism for users to turn off “irrelevant”
Maria Grazia Pia, INFN Genova Training Genova 2-6 July 2001 Maria Grazia Pia INFN Genova.
THE ATTRACT INITIATIVE Marzio Nessi, Markus Nordberg CERN.
Maria Grazia Pia, INFN Genova 1 New models for PIXE simulation with Geant4 CHEP 2009 Prague, March 2009 Maria Grazia Pia INFN Genova G. Weidenspointner,
IEEE Nuclear Science Symposium and Medical Imaging Conference Short Course The Geant4 Simulation Toolkit Sunanda Banerjee (Saha Inst. Nucl. Phys., Kolkata,
Detector Simulation Presentation # 3 Nafisa Tasneem CHEP,KNU  How to do HEP experiment  What is detector simulation?
US LHC Accelerator Research Program Jim Strait For the BNL-FNAL-LBNL LHC Accelerator Collaboration DOE Meeting 18 April 2003 brookhaven - fermilab - berkeley.
ESFRI & e-Infrastructure Collaborations, EGEE’09 Krzysztof Wrona September 21 st, 2009 European XFEL.
Precision Validation of Geant4 Electromagnetic Physics Geant4 DNA Project Meeting 26 July 2004, CERN Michela.
Software Prototyping Rapid software development to validate requirements.
TPS & Simulations within PARTNER D. Bertrand, D. Prieels Valencia, SPAIN 19 JUNE 2009.
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
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.
Physics Data Libraries: Content and Algorithms for Improved Monte Carlo Simulation Physics data libraries play an important role in Monte Carlo simulation:
LCG – AA review 1 Simulation LCG/AA review Sept 2006.
NANO5 – Geant4 related R&D for new particle transport methods M. Augelli, M. Begalli, T. Evans, E. Gargioni, B. Grosswendt, S. Hauf, C. H. Kim, M. Kuster,
John Apostolakis & Makoto Asai for the Geant4 Collaboration 1(Draft) SNA-MC 2010.
Physics Performance. EM Physics: Observations Two apparently independent EM physics models have led to user confusion: –Different results for identical.
Maria Grazia Pia, INFN Genova 1 Part I The motivations for Geant4.
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.
Luciano Pandola, INFN Gran Sasso Luciano Pandola INFN Gran Sasso Genova, July 18 th, 2005 Geant4 and the underground physics community.
Maria Grazia Pia, INFN Genova - G4 WG Coord. Meeting, 13/11/2001 ow Energy Electromagnetic Physics ow Energy Electromagnetic Physics New physics features.
Maria Grazia Pia, INFN Genova Advanced Examples Maria Grazia Pia, INFN Genova on behalf of the LowE/advanced examples WG
Software Design and Development Development Methodoligies Computing Science.
A Short Course on Geant4 Simulation Toolkit Introduction
Workshop: La radiobiologia dell’INFN Trieste, 7 February 2008
Introductory Course PTB, Braunschweig, June 2009
Hadronic physics validation of Geant4
Short Course Siena, 5-6 October 2006
Collaborative planning for ion physics activities
The Hadrontherapy Geant4 advanced example
A Short Course on Geant4 Simulation Toolkit Introduction
Introductory Course ORNL, May 2008
Geant4 at IST Applications in Brachytherapy
Short Course IEEE NSS/MIC 2003 Katsuya Amako (KEK) Makoto Asai (SLAC)
Advanced Examples Alex Howard, Imperial College, UK
Low Energy Electromagnetic Physics Use Cases and PhysicsLists
Presentation transcript:

Maria Grazia Pia, INFN Genova New rchitectural design for vel experimental domains New architectural design for novel experimental domains R&D on simulation methods, technology and architectural design for new experimental domains Maria Grazia Pia INFN Genova INFN Commissione Nazionale V 17 settembre 2008 Nano5

Maria Grazia Pia, INFN Genova Courtesy Borexino Courtesy H. Araujo and A. Howard, IC London ZEPLIN III Courtesy CMS Collaboration Courtesy ATLAS Collaboration Courtesy GATE Collaboration Courtesy R. Nartallo et al.,ESA Widely used also in  Space science and astrophysics  Medical physics, nuclear medicine  Radiation protection  Accelerator physics  Humanitarian projects, security  etc. Technology transfer to industry, hospitals… Born from the requirements of large scale HEP experiments Most cited “Nuclear Science and Technology” publication! (> papers) 3 rd most cited INFN paper “Modern classic” S. Agostinelli et al. GEANT4 - a simulation toolkit NIM A 506 (2003) GEANT4 - a simulation toolkit

Maria Grazia Pia, INFN Genova Background Geant4 R&D phase: RD44  (Geant4 0: 15 December 1998) Designed and built Geant4 New software technology GEANT 3 experience + some new ideas Foundation of the current Geant4: dates back to the mid ’90s Requirements for core capabilities Software technology Evolution: Consolidation, validation Support to the experimental community Refinement of existing capabilities Extension of physics models, geometry tools etc. Same core capabilities and technology as in the mid ’90s 1994 mid of LEP era GEANT 3 successfully used in many experiments Collected from the experimental community Object Oriented methods introduced in HEP

Maria Grazia Pia, INFN Genova The world changes… New experimental domains New requirements New technology Start SPS 1976 W and Z observed 1983 Start LEP 1989 LHC SuperLHC? astrophysics nuclear power medical physics radiobiology nanotechnology detectors… hardware, software, OS WWW Grid 1998 Tevatron new R&D

Maria Grazia Pia, INFN Genova R&D Motivated by scientific interests within INFN scope Response to current limitations of Geant4 of all major Monte Carlo systems, not only Geant4 Address concrete experimental use cases core of Monte Carlo methods by going to the very core of Monte Carlo methods Exploit new software technology in response to experimental issues Build on existing experience Domain knowledge: simulation in multi-disciplinary research Software technology expertise R&D  launched LowE Electromagnetic Physics in 1998  new simulation capabilities and application domains for Geant4

Maria Grazia Pia, INFN Genova Topics of research R&D on complementary, co-working transport methods Condensed-random-walk Condensed-random-walk scheme Discrete Discrete scheme Monte Carlo Monte Carlo method Deterministic Deterministic methods Nanotechnology detectors Radiation effects on components Radiobiology Plasma physics Material analysis etc. Nuclear power plants Radiotherapy Homeland security etc. Side topics (instrumental to the main objectives) Physics configurability Concerns (scattered and tangled) Built-in physics V&V-ability

Maria Grazia Pia, INFN Genova Condensed-random-walk Discrete Condensed-random-walk approximation all general-purpose Monte Carlo codes (EGS, FLUKA, GEANT 3, Geant4, MCNP) charged particle tracks divided into many steps, several interactions occur in a step one energy loss and one deflection are calculated for each step  further simplification of Continuous Slowing Down Approximation: energy loss rate determined by stopping power collisions are treated as binary processes  target electrons free and at rest (or binding accounted only in an approximated way) adequate as long as the discrete energy loss events are » electronic binding energies Discrete simulation all collisions are explicitly simulated as single-scattering interactions prohibitively time-consuming on large scale for charged particles (infrared divergence) many “track structure” codes documented in literature  single-purpose, not public, maintenance not ensured, lack general functionality Simulation

Maria Grazia Pia, INFN Genova Two worlds… OR Condensed-random-walk OR “discrete” régime Characterizing choice in a Monte Carlo system Limited exception: Penelope (switch to elastic scattering near boundaries) Subtle consequences e.g. X-ray fluorescence emission (PIXE) by impact ionisation has a dependence on secondary production cut introduced to handle infrared divergence! can affect macroscopic applications: material analysis, precise dosimetry etc. ATLAS effects on components LHC + detector environment How do you estimate radiation effects on components exposed to LHC + detector environment? dosimetry radiation biology How do you link dosimetry to radiation biology? What does it mean in practice? plasmafusion reactor And what about the plasma facing materials in a fusion reactor? And nanotechnology-based detectors for HEP? And tracking in a gaseous detector? RADMON

Maria Grazia Pia, INFN Genova R&D on co-working CRW-discrete Scientific motivation Address large-scale and nano-scale simulation in the same environment Realistic model of the whole system Accurate evaluation of radiation effects in small scale structures Objective Seamless transition of simulation régime Capability of simulating complex multi-scale systems Conceptual and software design challenges Physics process adaptation to environment Embedding “mutability” in Monte Carlo physics entities Difficult …otherwise it would have already been done

Maria Grazia Pia, INFN Genova Re-think the design of Geant4 physics domain Kernel: how processes interact with tracking Processes: mutability “in the guts” Particles: they also become mutable entities  e.g. ions (beyond effective charge scaling) Multiple scattering, its relation to energy loss New domain design exploiting new technology physics requirements In response to physics requirements Configurability + performance Side-by-side with conventional OO methods Detangle the current spaghetti first Problem domain analysis Rigorous domain decomposition How? Lot of work Unavoidable

Maria Grazia Pia, INFN Genova Generic programming Relatively new technology Aka “programming with templates” Aka “modern design”: post-Alexandrescu’s book era C++ is capable of a Turing machine at two levels Exploit both Mix and match Further step: generative programming Extreme configurability Bind configurability at compile time Performance gain relevant to nano-scale simulation Memory consumption “the hardest of hardcore template programming”

Maria Grazia Pia, INFN Genova Aspect Oriented Programming Scattered concerns (+ tangled concerns ) e.g. atomic relaxation occurring in photoelectric effect (discrete), ionisation (continuous-discrete), Compton scattering, radioactive decay/photo-evaporation (Geant4 hadronic package) R&D on Aspect Oriented Programming Secondary priority: use only in support to prime objectives Not so well supported in C++ as, for instance, in Java Same design concept also suitable to native physics “testability” V&V is today’s greatest concern of Geant4! Geant4 does not have a test framework, nor a design supporting test processes V&V left to individual efforts

Maria Grazia Pia, INFN Genova Software Process Risk mitigation strategy No perturbation to a system currently in production in LHC experiments and many other projects Develop in parallel to Geant4 kernel Iterative-incremental process: to mitigate “waterfall” risk Frequent integration   -releases for testing and application feedback Transition to new kernel for production use when mature Freedom to explore different solutions Difficult problem Iterations and intermediate benchmarks to identify optimal design Sound confirmation from fully functional prototypes UP-based Tailored to the project(s) Mapped to ISO level 3 at least R&D at the very heart of Monte Carlo concepts and Geant4 architecture Not to be taken easily!

Maria Grazia Pia, INFN Genova Prototypes risk mitigation For risk mitigation PTB Monte Carlo models and data >30 years’ experience! Experimental set-up: nanodosimeter Experimental validation Collaboration: PTB+Hamburg, LLU “Conventional” PIXE Elemental analysis High-energy PIXE Next generation X-ray astrophysics Relevant to precision dosimetry too Collaboration with MPI Would the proposed technology be a suitable solution? Can the software address a realistic experimental use case? Does it work at a realistically large scale? macroscopic scale Can it handle systems at macroscopic scale? Fully functional nano-prototype Fully functional PIXE-prototype New design affecting Monte Carlo (Geant4) core Figure: G. Weidenspointner et al., Nature Figure courtesy of LLU

Maria Grazia Pia, INFN Genova Deterministic and Monte Carlo simulation Deterministic methods are widely used in Reactor physics calculations  Based on the concept of “neutron flux” Medical physics  Treatment planning Reactors: series of codes specialized in specific functions Cumbersome… Monte Carlo intrinsically more accurate Model geometry and physics accurately New trends Monte Carlo group constant generation for deterministic codes Conventional deterministic codes not well-suited to complex assembly designs, next generation reactors, advanced MOX technology etc. Monte Carlo calculations Figure credit: A. Leppanen

Maria Grazia Pia, INFN Genova Simulation for nuclear power studies New generation reactors ITER? of interest to INFN INFN expertise in simulation methods and tools is useful to approach this new research domain …but direct expertise in nuclear power plant simulation still to be built at INFN Geant4 not widely used in nuclear power studies yet MCNP is the “standard” Monte Carlo code… for standard problems Deterministic codes play a major role in reactor calculations  Monte Carlo methods are prohibitively time consuming for some problems MCNP is developed and maintained at LANL INFN priorities are not necessarily LANL priorities… R&D for nuclear power simulation with Geant4

Maria Grazia Pia, INFN Genova Co-working Monte Carlo - deterministic methods One calculation environment Use either transport method where it is best suited Profit of set-up modelling facilities developed for general-purpose Monte Carlo simulation Complex design problem in a new application domain R&D needed Plan to strengthen collaboration with ANS Design solutions to be explored in Geant4 Parallel worlds Multiple geometries in the same simulation environment Concept of “mutability” of transport

Maria Grazia Pia, INFN Genova Staged approach Due to the complexity of the problem And need to build new expertise not currently present at INFN No “tradition” in deterministic transport methods nor in reactor simulation methods 1 st phase Deterministic methods to calculate ingredients for biasing technique Produce concrete deliverable Build up expertise Project: use discrete ordinates adjoint function for automated variance reduction of Monte Carlo calculations Concrete deliverable Similar problem addressed with MCNP Evaluation benchmarks of Geant4 for nuclear power studies 2 nd phase Co-operation of the two approaches in the same environment

Maria Grazia Pia, INFN Genova Main deliverables CRW-discrete simulation Work Package Nano-prototype Requirements (or use case model) Design model Implementation (PTB-like models) Performance and physics benchmarks PIXE-prototype Requirements (or use case model) Design model Implementation Validation Deterministic-Monte Carlo methods Work Package Package for variance reduction calculation through deterministic methods Benchmarks of Geant4 applicability to nuclear power simulation Include new Monte Carlo kernel Geant4 Nano5 Geant5…

Maria Grazia Pia, INFN Genova Milestones CRW-discrete Problem domain analysis, design model, “detangled” prototype: July 2009 PIXE prototype: December 2009 PTB Monte Carlo reengineered: July 2010 Nanodosimeter prototype functional: end 2010 Nanodosimeter prototype validation: mid 2011 Transition phase: end 2011 Deterministic-Monte Carlo methods Use case model & analysis: end 2009 Discrete ordinates adjoint function calculation: end 2010 Variance reduction application: 2011 Geant4 evaluation for nuclear power studies: end 2009

Maria Grazia Pia, INFN Genova Book on Simulation Techniques in Physics Invito da primaria casa editrice a pubblicare un libro su tecniche di simulazione in fisica NANO5 scaturisce da una lunga esperienza di simulazione…

Maria Grazia Pia, INFN Genova Acknowledgment Thanks to: T. Evans (ORNL) E. Gargioni (PTB) S. Giani (CERN), RD44 Spokesman and Project Leader B. Grosswendt (PTB) L. Moneta (CERN) A. Pfeiffer (CERN) R. Schulte (LLU) E. Smith (PNL) G. Weidenspointner (MPI) A. Wroe (LLU) A. Zoglauer (LBL)