Geant4 Visualization Review

Slides:



Advertisements
Similar presentations
11 January 2011 Geant4 Visualization Commands J. Perl 1 DAWN OpenGL Geant4 Visualization Commands Basic Visualization Commands Makoto Asai (SLAC) slides.
Advertisements

Introduction to Geant4 Visualization
10 January 2011 Introduction to Geant4 Visualization J. Perl 1 DAWN OpenGL So many options, it needs three title pages Introduction to Geant4 Visualization.
4 November 2009 Geant4 Data Analysis J. Perl 1 Trivial Data Analysis for Geant4 Joseph Perl, SLAC Geant4 v9.2p02.
12 Dec 2006 J. Perl Recent Developments in Geant4 Vis 1 HepRep/WIRED DAWN OpenGL Recent Developments in Geant4 Visualization Geant4 Lecture Course Tsukuba,
14 May 2011 Geant4 Tutorial Introduction J. Perl 1 Geant4 Tutorial University of Pennsylvania May 2011 A five day hands-on course based on Geant4.
April 2007 J. Perl Geant4 Review 2007: Visualization 1 HepRep/HepRApp DAWN OpenGL Geant4 Review 2007: Visualization Geant4 Review April at CERN.
Geant4 User Interface Overview Geant4 Mini-Tutorial Hebden Bridge 15 September 2007 Joseph Perl, SLAC (mostly stolen from a talk by Makoto Asai)
15 Sept 2007 J. Perl Overview of Geant4 Visualization 1 HepRep/HepRApp DAWN OpenGL Overview of Geant4 Visualization Geant4 Mini-Tutorial Hebden Bridge.
13 January 2011 Geant4 Data Analysis J. Perl 1 Trivial Data Analysis for Geant4 Joseph Perl, SLAC Geant4 v9.4.
12 May 2007 Geant4 Advanced Visualization J. Perl 1 DAWN OpenGL How to Control the Drawing Style and Filtering of Detector Geometry and Trajectories Geant4.
14 June 2010 Introduction to Geant4 Visualization J. Perl 1 DAWN OpenGL So many options, it needs two title pages Introduction to Geant4 Visualization.
14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
12 May 2007 J. Perl Future Plans for Geant4 Visualization 1 HepRep/HepRApp DAWN OpenGL Future Plans for Geant4 Visualization What’s Planned for the Next.
18th September 2007New Features in G4 Visualisation Hebden Bridge 1 Visualisation New or improved features 2007 Smooth trajectories Event keeping Picking.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Introduction to Computer Graphics Ed Angel Professor of Computer Science, Electrical and.
Highlights of latest developments ESA/ESTEC Makoto Asai (SLAC)
SLAC Geant4 Tutorial 2009 J. Perl
12 May 2007 Geant4 Visualization Commands J. Perl 1 DAWN OpenGL Geant4 Visualization Commands Basic Visualization Commands Joseph Perl, SLAC HepRep/HepRApp.
4 November 2009 Geant4 Advanced Visualization J. Perl 1 DAWN OpenGL How to Control the Drawing Style and Filtering of Detector Geometry and Trajectories.
14 Overview of Geant4 Examples 2 nd Finnish Geant4 Workshop 6-7 June 2005 Dennis Wright (SLAC)
Installing Geant4 Visualization and Analysis Tools using the Workshop CD Geant4 Workshop SLAC - February 2002 Tony Johnson Joseph Perl.
10 Nov 2006 J. Perl How to Make a Movie 1 Geant4 Visualization Special Topic: How to Make a Movie Geant4 Spenvis Joint Workshop Joseph Perl SLAC.
Introduction to Geant4 Visualization
November 17 & 18, UCSF Chimera Fall Workshop Producing Images and Movies An introduction to several useful tools for creating publication-quality.
Victor Serbo, SLAC30 September 2004, Interlaken, Switzerland JASSimApp plugin for JAS3: Interactive Geant4 GUI Serbo, Victor (SLAC) - presenter Donszelmann,
Geant4 application to X and Gamma-ray Telescopes B.Ferrero Merlino 1, D.Favretto 2, R. Giannitrapani 2, F.Longo 2, R.Nartallo 3, P.Nieminen 3, A.Pfeiffer.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Japan.
Improvements in Interface, Intercoms and environments Koichi Murakami (KEK/CRC) Koichi Murakami Geant4 Collaboration Workshop (18/Sep/2007) 1.
Section 2.1 Compare the Internet and the Web Identify Web browser components Compare Web sites and Web pages Describe types of Web sites Section 2.2 Identify.
Zubanov Alexei, 2006 Aug 07 – Sep 28 QtROOT package extension with Coin3D lib.
User Documents and Examples I Sébastien Incerti Slides thanks to Dennis Wrigth, SLAC.
Interface parallel session report Hajime Yoshida.
Python Interface, Geant4 Education, and Geant4 on Web Koichi Murakami (KEK/CRC) Koichi Murakami Geant4 Collaboration Workshop (18/Sep/2007) 1.
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Introduction to Computer Graphics Ed Angel Professor Emeritus of Computer.
1 Introduction to Computer Graphics SEN Introduction to OpenGL Graphics Applications.
Computer Graphics I, Fall 2008 Introduction to Computer Graphics.
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 CS4610/7610: Introduction to Computer Graphics.
V. Serbo, SLAC ACAT03, 1-5 December 2003 Interactive GUI for Geant4 by Victor Serbo, SLAC.
Geant4 Visualization 1 OpenGL DAWN VRML. Visualization Visualization Seeing what one does usually helps One can visualize geometry, hits, trajectories.
SiD Workshop October 2013, SLACDmitry Onoprienko SiD Workshop SLAC, October 2013 Dmitry Onoprienko SLAC, SCA FreeHEP based software status: Jas 3, WIRED,
WIRED 4 An extensible generic Event Display Mark Donszelmann SLAC, Stanford, U.S.A. CHEP2004, 27 september – 1 october Interlaken, Switzerland.
7 June 2005 Visualization & GGE Demo J. Perl 1 HepRep/WIRED DAWN OpenGL Geant4 Visualization & GGE Demo Joseph Perl, SLAC.
PowerPoint Basics Tutorial 3: Graphics In this tutorial we’ll be looking at graphics, and the various types of illustrations that can be included in a.
12 October 2006 G4Vis: Status, New Features and Issues 1 HepRep/WIRED DAWN OpenGL G4Vis: Status, New Features and Issues Geant4 Collaboration Workshop.
Visualization of Geant4 Data: Exploiting Component Architecture through AIDA, HepRep, JAS and WIRED Geant4 Workshop, CERN - 2 October 2002 Joseph Perl.
Documentation Gunter Folger / CERN Geant4 School, Annecy 2008.
May 20, 2005Wah-kai Ngai1 Basic Visualization Tutorial Using Geant4.
Parallel Session Report of P2 on October 1, 2002 Interactivity & External Frameworks: Picking Satoshi Tanaka Ritsumeikan University (Rits)
WIRED World-Wide Web Interactive Remote Event Display Mark Dönszelmann, IT/API, CERN CHEP 2000, 9 February 2000, Padova, Italy.
FreeHEP, JAS and WIRED Mark Dönszelmann, CERN/IT Charles Loomis, UC, Santa Cruz ATLAS Software Week, 30 November 2000.
17-19 Oct, 2007Geant4 Japan 2007 Geant4 Collaboration KEK/CRC 1.
WIRED for LCD Analysis Mark Dönszelmann Linear Collider Simulation Workshop May 19-22, 2003, SLAC.
Parallel Session Interfaces This session is intended to be a working session with a couple of introductory presentations “Geant4 Web Application” by Hajime.
LCD WIRED FutureLCD Workshop May Joseph Perl 1 Future Plans for the LCD WIRED Event Display Joseph Perl SLAC Computing Services
June 4-8, G4 Paris Visualization II P. Gueye/J. Perl 1 DAWN OpenGL Geant4 Visualization Commands Basic Visualization Commands Paul Guèye, HU Courtesy:
Chapter 2: Advanced programming concepts Part 3: The user interface Lecture 5 1.
Geant4 User Workshop 15, 2002 Lassi A. Tuura, Northeastern University IGUANA Overview Lassi A. Tuura Northeastern University,
A Short Course on Geant4 Simulation Toolkit Introduction
Geant4 for (Medical) Education “ Geant4 for (Medical) Education ” Toolkit and Courseware Geant4 Medical Workshop in Lyon 21 July 2006 Universite-Lyon I.
Trajectory and Hit Visualisation Jane Tinslay, SLAC October 2006.
New and Recent Features of Geant4 Visualisation 2016 Sep 2016John Allison -- G4 Workshop Ferrara1.
A C++ generic model for the GLAST Geometric Description
User Documents and Examples I
Geant4 Visualization Commands
Geometry checking tools
Geant4 Workshop, CERN - 1 October 2002 Joseph Perl
A Short Course on Geant4 Simulation Toolkit Introduction
Visualization Status/Development
WIRED 4 Event Display Linear Collider Simulation Workshop
Presentation transcript:

Geant4 Visualization Review Geant4 Collaboration Workshop Hebden Bridge 18 September 2007 Joseph Perl, SLAC HepRep/HepRApp DAWN OpenGL 18 Sept 2007 J. Perl Geant4 Visualization Review

Sorry, Vis Talks always need two pages of Cover Graphics RayTracer OpenInventor DAWN HepRep/FRED 18 Sept 2007 J. Perl Geant4 Visualization Review

J. Perl Geant4 Visualization Review Contents Overview of Visualization Drivers Enhanced Trajectory Drawing Trajectory and Hit Filtering Smooth and Rich Trajectories Movies Volume Rendering Coming in Next Year: Visualization of Fields Subsequent talks in this session, cool new stuff: Qt Interface - Laurent Garnier and Guy Barrand Smooth Trajectories, Event Keeping, Picking in OGLX - John Allison geant4Py Example and Web Application - Koichi Murakami 18 Sept 2007 J. Perl Geant4 Visualization Review

Quick Overview of Visualization Driver Choices Geant4 comes with Seven families of visualization drivers: OpenGL OpenInventor HepRep DAWN VRML RayTracer ASCIITree Just quick overview slides here. See references section for talks with more detail on individual drivers and commands. Different drivers are appropriate for different needs The set of commands the user sees are consistent regardless of the driver 18 Sept 2007 J. Perl Geant4 Visualization Review

J. Perl Geant4 Visualization Review Quick response with flexible camera control to study geometries, trajectories and hits OpenGL and OpenInventor Widely available world standards for fast, photo-realistic rendering. 18 Sept 2007 J. Perl Geant4 Visualization Review

High-quality Output for Publications DAWN Developed specifically for Geant4. Not fast, but the highest quality rendering available anywhere. Excellent for publications. 18 Sept 2007 J. Perl Geant4 Visualization Review

Interactive Picking to Get More Information on Visualized Objects HepRep Reuses interactive HepRep browser applications already developed for other user communities (BaBar and GLAST). Explore hierarchies, pick to show attributes, apply cuts and labels. 18 Sept 2007 J. Perl Geant4 Visualization Review

J. Perl Geant4 Visualization Review Understand Complex Boolean Solids and Transparent or Reflective Surfaces RayTracer Reuses Geant4’s own tracking to shoot photons through the geometry 18 Sept 2007 J. Perl Geant4 Visualization Review

3D Format Suitable for Web Distribution VRML Many VRML browsers available, some as web plug-ins 18 Sept 2007 J. Perl Geant4 Visualization Review

Tools to Understand Geometry Hierarchies ASCIITree, HepRep /vis/ASCIITree/Verbose 4 /vis/viewer/flush "HadCalorimeterPhysical":0 / "HadCalorimeterLogical" / "HadCalorimeterBox"(G4Box), 1.8 m3 , 11.35 g/cm3 "HadCalColumnPhysical":-1 (10 replicas) / "HadCalColumnLogical" / "HadCalColumnBox"(G4Box), 180000 cm3, 11.35 g/cm3 "HadCalCellPhysical":-1 (2 replicas) / "HadCalCellLogical" / "HadCalCellBox"(G4Box), 90000 cm3, 11.35 g/cm3 "HadCalLayerPhysical":-1 (20 replicas) / "HadCalLayerLogical" / "HadCalLayerBox"(G4Box), 4500 cm3, 11.35 g/cm3 "HadCalScintiPhysical":0 / "HadCalScintiLogical" / "HadCalScintiBox"(G4Box), 900 cm3, 1.032 g/cm3 18 Sept 2007 J. Perl Geant4 Visualization Review

J. Perl Geant4 Visualization Review Interactive Control of Trajectory Drawing Model Charge +1 -1 Creator Process muIoni Decay annihil eIoni brem Momentum (MeV) 0-1 1-10 10-20 20-30 30-50 50+ 18 Sept 2007 J. Perl Geant4 Visualization Review

Sample Commands: generic trajectory model # Create a generic model (will get default name of generic-0) # From here we can set overall defaults for things like line color, # whether to show step points or just the trajectory line, etc. /vis/modeling/trajectories/create/generic # Configure the generic model to colour all trajectories cyan and to show step points /vis/modeling/trajectories/generic-0/default/setDrawStepPts true /vis/modeling/trajectories/generic-0/default/setStepPtsSize 16 /vis/modeling/trajectories/generic-0/default/setLineColour cyan /vis/modeling/trajectories/generic-0/default/setStepPtsColour red 18 Sept 2007 J. Perl Geant4 Visualization Review

Interactive Control of Trajectory and Hit Filtering IMag > 2.5 MeV IMag > 2.5 MeV, particle = gamma Momentum (MeV) 0-2.5 2.5-5 5-7.5 7.5-10 10-10.25 12.5+ 18 Sept 2007 J. Perl Geant4 Visualization Review

Extra Information Available from the Trajectory Most users use the standard G4Trajectory Smooth Trajectory adds auxiliary points to allow smoother line in visualization (not Geant4 Steps, no physics at auxiliary points) Useful when trajectories are highly curved due to magnetic fields Rich Trajectory encodes additional information at every step point Control via: /vis/scene/add/trajectories /vis/scene/add/trajectories smooth /vis/scene/add/trajectories rich /vis/scene/add/trajectories smooth rich If you actually want to display the trajectory points, you need to issue the appropriate trajectory modeling commands, such as: /vis/modeling/trajectories/create/generic /vis/modeling/trajectories/generic-0/default/setDrawStepPts true /vis/modeling/trajectories/generic-0/default/setStepPtsSize 16 /vis/modeling/trajectories/generic-0/default/setStepPtsColour red 18 Sept 2007 J. Perl Geant4 Visualization Review

Smooth Trajectory for Vis in Magnetic Fields See talk by John Allison later in this session 18 Sept 2007 J. Perl Geant4 Visualization Review

J. Perl Geant4 Visualization Review Rich Trajectory 18 Sept 2007 J. Perl Geant4 Visualization Review

Movies: Stitched Together from Multiple Stills http://www.hep.man.ac.uk/u/johna/pub/Geant4/Movies/g4RayTracer.mpg 18 Sept 2007 J. Perl Geant4 Visualization Review

Movies: Live from Geant4 OpenGL 18 Sept 2007 J. Perl Geant4 Visualization Review

gMocren - to Visualization Volume Data Geant4 has been interfaced to a commercial tool for visualization of voxel data. Free to all Geant4 users. Does not actually function as integral part of the Geant4 visualization system. Implemented as a G4 example, outputs data in form appropriate for gMocren Ayumi Saitoh, Akinori Kimura, Satoshi Takana 18 Sept 2007 J. Perl Geant4 Visualization Review

Coming Soon: Visualization of Fields Project Lead: Jane Tinslay 18 Sept 2007 J. Perl Geant4 Visualization Review

References and Further Resources 18 Sept 2007 J. Perl Geant4 Visualization Review

Geant4 Visualization Resources Geant4 Installation Guides http://geant4.slac.stanford.edu/installation Hands on HepRApp Tutorial http://geant4.slac.stanford.edu/Presentations/vis/G4HepRAppTutorial/G4HepRAppTutorial.html Hands on DAWN Tutorial http://geant4.slac.stanford.edu/Presentations/vis/G4DAWNTutorial/G4DAWNTutorial.html Hands on OpenGL Tutorial http://geant4.slac.stanford.edu/Presentations/vis/G4OpenGLTutorial/G4OpenGLTutorial.html Introduction to Geant4 Visualization http://geant4.slac.stanford.edu/Presentations/vis/G4VisIntroduction.ppt (and .pdf) Geant4 Visualization Commands http://geant4.slac.stanford.edu/Presentations/vis/G4VisCommands.ppt (and .pdf) Geant4 Advanced Visualization http://geant4.slac.stanford.edu/Presentations/vis/G4VisAdvanced.ppt (and .pdf) How to Make a Movie http://geant4.slac.stanford.edu/Presentations/vis/HowToMakeAMovie.ppt (and .pdf) Visualization Chapter of the Geant4 User’s Guide for Application Developers http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ List of Visualization Commands: http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ AllResources/Control/UIcommands/_vis_.html For Questions or Comments: Geant4 Visualization Online Forum: http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/visualization.html 18 Sept 2007 J. Perl Geant4 Visualization Review

J. Perl Geant4 Visualization Review References OpenScientist Home Page http://openscientist.lal.in2p3.fr HepRep: a generic interface definition for HEP event display representables http://www.slac.stanford.edu/~perl/heprep HepRApp HepRep Browser http://www.slac.stanford.edu/~perl/HepRApp Wired4 JAS Plug-In http://wired.freehep.org Fred: oh no, another event display (a HepRep client) http://www.fisica.uniud.it/~glast/FRED DAWN Home Page http://geant4.kek.jp/~tanaka/DAWN/About_DAWN.html DAWNCUT Home Page http://geant4.kek.jp/~tanaka/DAWN/About_DAWNCUT.html DAVID Home Page http://geant4.kek.jp/~tanaka/DAWN/About_DAVID.html Satoshi Tanaka’s GEANT4 Ritsumeikan University Group Home Page (more information on DAWN, sample PRIM files, images, etc.) http://geant4.kek.jp/~tanaka/ 18 Sept 2007 J. Perl Geant4 Visualization Review