geant4 model testing framework from paw to root
play

Geant4 Model Testing Framework: From PAW to ROOT 12/08/2009 - PowerPoint PPT Presentation

Geant4 Model Testing Framework: From PAW to ROOT 12/08/2009 Author: Roman Atachiants (PH-SFT) Summer Student Presentation Supervised by: Mikhail Kosov (PH-SFT) 1 r.atachiants@student.maastrichtuniversity.nl 12/8/2009 Contents


  1. Geant4 Model Testing Framework: From PAW to ROOT 12/08/2009 Author: Roman Atachiants (PH-SFT) Summer Student Presentation Supervised by: Mikhail Kosov (PH-SFT) 1 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  2. Contents  Introduction  PAW? ROOT? Geant4?  Model comparison 101  Framework  PAW to ROOT Conversion  Architectural Overview  Usage  Conclusions and Future Work  References 2 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  3. Introduction  Project  PAW to ROOT translation of several .kumac macro files in order to build a framework/tool for Geant4 models testing  Building an underlying unified database for the models testing  PAW: Physics Analysis Workstation  Provides interactive graphical presentation and statistical or mathematical analysis (FORTRAN)  ROOT  cf. Fons Rademakers lecture: Introduction to ROOT [1]  Geant4  Toolkit for the simulation of the passage of particles through matter 3 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  4. The goal is to compare the data points with the simulation curves 4 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  5. PAW to ROOT Conversion (1)  Some useful information can be found in: http://root.cern.ch/root/HowtoConvertFromPAW.html  PAW vectors treated as ROOT TTrees  The C++ methods of ROOT are more comprehensive than the PAW shortcuts, for example:  PAW handles histograms using ID’s an in ROOT one can extract the pointer by ID: gDirectory->Get(ID), and than use this pointer for different functions.  PAW [put/get]/[abscissa/error/content] are loops in ROOT:  get/abs [id]([hf]:[hn]) wx  TAxis* axis = hDT ->GetXaxis(); for(Int_t i = 0; i< hnbin; ++i) vZeroLevels[i] = axis->GetBinCenter(i); 5 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  6. PAW to ROOT Conversion (2)  Exactly the same result is achieved  2 modes of analysis:  Secondaries per Model  Models per Secondary 6 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  7. Architectural Overview ROOT Test programs, on top of Geant4 • CINT • Test 19 and Test 29 • Introspection • By Mikhail Kosov • MonteCarlo extensions (ParticlePDG) • 10+ libraries Tools: Simulation and Analysis Data Model for Publications and Helpers and Utilities Simulations • Plotting • Simulating • DataObject and DataItemObject.. • Extended ParticlePDG DataBase (With Secondary Fragments) 7 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  8. Usage  // Example of a ROOT Macro that launches the Geant4 model testing { // load the Library gSystem->Load("libG4ModelTester.so"); // run the simulation (proj.: p , targ.: Al27, 90 MeV) gSimulationTool->Run(1000010010, 1000130270, 90, 450, ”preco”); } 8 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  9. Conclusions and Future Work  The universal experimental DB for model testing in Geant4 is completed, but still can be improved (designed to be)  Show that ROOT can give bigger statistics and therefore better comparison results than PAW. The main reason for the PAW to ROOT porting  ROOT Graphical User Interface for easier use of the tool (using the power of the framework) 9 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  10. Thank you for your attention! 10 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

  11. References  [1] Rademakers F., CERN Summer Student Lecture, Introduction to ROOT  [2] ROOT User’s Guide, http://root.cern.ch/root/doc/ RootDoc.html  [3] PAW – Physics Analysis Workstation, http:// wwwasd.web.cern.ch/wwwasd/paw/  [4] Geant4 - http://www.geant4.org/geant4/ 11 r.atachiants@student.maastrichtuniversity.nl 12/8/2009

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend