Trajectory and Hit Visualisation Jane Tinslay, SLAC October 2006.

Slides:



Advertisements
Similar presentations
2D Graphics Drawing Things. Graphics In your GUI, you might want to draw graphics E.g. draw lines, circles, shapes, draw strings etc The Graphics class.
Advertisements

Tutorial 12: Enhancing Excel with Visual Basic for Applications
Unit 5: Building Presentation Layer Applications with ASP.NET 2.0.
12 Dec 2006 J. Perl Recent Developments in Geant4 Vis 1 HepRep/WIRED DAWN OpenGL Recent Developments in Geant4 Visualization Geant4 Lecture Course Tsukuba,
April 2007 J. Perl Geant4 Review 2007: Visualization 1 HepRep/HepRApp DAWN OpenGL Geant4 Review 2007: Visualization Geant4 Review April at CERN.
12 January 2011 Geant4 Advanced Visualization J. Perl 1 DAWN OpenGL How to Control the Drawing Style and Filtering of Detector Geometry and Trajectories,
15 Sept 2007 J. Perl Overview of Geant4 Visualization 1 HepRep/HepRApp DAWN OpenGL Overview of Geant4 Visualization Geant4 Mini-Tutorial Hebden Bridge.
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.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 7: Advanced File System Management.
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.
Geant4 Visualization Review
Highlights of latest developments ESA/ESTEC Makoto Asai (SLAC)
4 November 2009 Geant4 Advanced Visualization J. Perl 1 DAWN OpenGL How to Control the Drawing Style and Filtering of Detector Geometry and Trajectories.
Essentials of Interactive Computer Graphics: Concepts and Implementation K. Sung, P. Shirley, S. Baer Chapter 7 Chapter 7: Graphical Primitives.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 7: Advanced File System Management.
Chapter 5 Using Business Information Sets
1 Enabling Secure Internet Access with ISA Server.
Stork Prints Austria GmbH bestIMAGE 5.60 CAM Plus, CAM smart December 2012 Explore the new features of.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 7: Advanced File System Management.
Zubanov Alexei, 2006 Aug 07 – Sep 28 QtROOT package extension with Coin3D lib.
ITCS 6010 SALT. Speech Application Language Tags (SALT) Speech interface markup language Extension of HTML and other markup languages Adds speech and.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice SISP Training Documentation Template.
User Documents and Examples I Sébastien Incerti Slides thanks to Dennis Wrigth, SLAC.
1 Input and Interaction. 2 Input Devices Physical input devices Keyboard devices and pointing devices Logical input devices.
S. Guatelli, CPS Innovations, Knoxville, 13 th -21 st January Brachytherapy exercise.
XP Tutorial 12 New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Working with Special Effects Creating Rollovers, Menus, Filters, and Transitions.
WIRED 4 An extensible generic Event Display Mark Donszelmann SLAC, Stanford, U.S.A. CHEP2004, 27 september – 1 october Interlaken, Switzerland.
Exploring the Macromedia Flash Workspace – Lesson 2 1 Exploring the Macromedia Flash Workspace Lesson 2.
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)
XP Tutorial 5 New Perspectives on JavaScript, Comprehensive1 Working with Special Effects Creating Rollovers, Menus, Filters, and Transitions.
Geant4 release 5.1 summary Gabriele Cosmo EP/SFT.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Collaboration.
1 PSI/PhUSE Single Day Event – SAS Applications – June 11, 2009 SAS Drug Development from the Inside Magnus Mengelbier Director.
1 Visual Basic: An Object Oriented Approach 7 – The User interface.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 7: Advanced File System Management.
Building Dashboards with JMP 13 Dan Schikore SAS, JMP
Creating Visual Effects
JavaScript, Sixth Edition
Simulation Tools for Test Beam
CCS Engineering Tools The tools are used help development and debugging of VLT SW control applications This presentation will provide a general view of.
Physical Data Model – step-by-step instructions and template
Objectives At the end of this session, students will be able to:
Single Sample Registration
Status of Biasing Development
Better Interactive Programs
User Documents and Examples I
Introduction Goal: Can we reconstruct the energy depositions of the proton in the brain if we are able to reconstruct the photons produced during this.
Webinar – New KStutor Overview 25th October 2013
Basic Graphics Drawing Shapes 1.
Display Item Information
Geant4 Visualization Commands
IBM Cognos Analytics (R12) Overview
12 Product Configurator
Geant4 Advanced Visualization
Document Visualization at UMBC
Various News From Detector Description
Better Interactive Programs
Geant4 Workshop, CERN - 1 October 2002 Joseph Perl
Geant4 Workshop 02 October 2002, CERN Hajime Yoshida
Introducing Adobe Illustrator
Plotting Signals in MATLAB
HP ALM – General Navigation
File System Management
11.1 Applets & graphics.
Visualization Status/Development
WIRED 4 Event Display Linear Collider Simulation Workshop
CSC 221: Introduction to Programming Fall 2018
Presentation transcript:

Trajectory and Hit Visualisation Jane Tinslay, SLAC October 2006

Jane Tinslay, SLAC1 Contents Enhanced trajectory drawing Trajectory filtering Hit filtering

Jane Tinslay, SLAC2 Enhanced Trajectory Drawing Release 8.0  First release  Change trajectory colouring scheme through simple trajectory drawing models based on charge, particle type Release 8.1  Extend to cover default properties of trajectory imode parameter becomes redundant  Add a couple of new models December release  Introduce attribute based model

Jane Tinslay, SLAC3 Default Trajectory Visualisation Properties Default trajectory visualisation properties can be set through a G4VisTrajContext object  Line colour, visibility  Step/auxiliary point visibility, polymarker type, fill style, colour Attached to trajectory model Configurable through interactive commands Replaces imode functionality

Jane Tinslay, SLAC4 Attribute Based Trajectory Drawing New model accesses information about each trajectory through existing HepRep style attributes Access to additional information on  Creator process name & type (G4RichTrajectory)  Next volume name (G4RichTrajectory)  Initial volume name  Magnitude of momentum  Number of trajectory points  User defined attributes  … Configure visualisation properties for each single value/interval of given attribute - point size, line colour, etc

Jane Tinslay, SLAC5 Creator Process — muIoni — Decay — annihil — eIoni — brem Momentum (MeV) — 0-1 — 1-10 — — — — 50+ Charge — +1 — 0 — -1 Example A01, five events, drawByAttribute model

Jane Tinslay, SLAC6 Sample Macro Commands /vis/modeling/trajectories/create/drawByAttribute /vis/modeling/trajectories/drawByAttribute-0/verbose true /vis/modeling/trajectories/drawByAttribute-0/setAttribute CPN /vis/modeling/trajectories/drawByAttribute-0/addValue brem_key eBrem /vis/modeling/trajectories/drawByAttribute-0/addValue annihil_key annihil /vis/modeling/trajectories/drawByAttribute-0/addValue decay_key Decay /vis/modeling/trajectories/drawByAttribute-0/addValue muIon_key muIoni /vis/modeling/trajectories/drawByAttribute-0/addValue eIon_key eIoni /vis/modeling/trajectories/drawByAttribute-0/brem_key/setLineColour red /vis/modeling/trajectories/drawByAttribute-0/annihil_key/setLineColour green /vis/modeling/trajectories/drawByAttribute-0/decay_key/setLineColour cyan /vis/modeling/trajectories/drawByAttribute-0/eIon_key/setLineColour yellow /vis/modeling/trajectories/drawByAttribute-0/muIon_key/setLineColour magenta Creator process name attribute Configure visualisation parameters Select relevant attribute values

Jane Tinslay, SLAC7 December Release Summary G4TrajectoryDrawByCharge G4TrajectoryDrawByParticleID G4TrajectoryDrawByOriginVolume  Logical or physical volume G4TrajectoryGenericDrawer  Trajectory visualised using default properties G4TrajectoryDrawByAttribute  Uses HepRep style attributes (G4AttDef)

Jane Tinslay, SLAC8 Trajectory Filtering Display user defined subset of trajectories  Problems with large graphics files, busy events Two modes of operation  Rejected trajectories drawn but marked invisible  Rejected trajectories not drawn at all Similar structure to enhanced trajectory drawing  Set of simple filter models  Similar Interactive creation/configuration structure Chain multiple filters

Jane Tinslay, SLAC9 Releases Release 8.1  First release  Simple filters, eg, charge, particle type December release  Introduce attribute based filter model

Jane Tinslay, SLAC10 Momentum (MeV) — — — — — — HandsOn5, McGill tutorial, 1000 events, Attribute Filter IMag > 2.5 MeV IMag > 2.5 MeV, particle = gamma

Jane Tinslay, SLAC11 Sample Macro Commands /vis/modeling/trajectories/drawByAttribute-0/setAttribute IMag /vis/modeling/trajectories/drawByAttribute-0/addInterval interval1 0.0 keV 2.5MeV /vis/modeling/trajectories/drawByAttribute-0/addInterval interval2 2.5 MeV 5 MeV /vis/modeling/trajectories/drawByAttribute-0/addInterval interval3 5 MeV 7.5 MeV /vis/modeling/trajectories/drawByAttribute-0/addInterval interval4 7.5 MeV 10 MeV /vis/modeling/trajectories/drawByAttribute-0/addInterval interval5 10 MeV 12.5 MeV /vis/modeling/trajectories/drawByAttribute-0/addInterval interval MeV MeV /vis/modeling/trajectories/drawByAttribute-0/interval1/setLineColourRGBA /vis/modeling/trajectories/drawByAttribute-0/interval2/setLineColourRGBA /vis/modeling/trajectories/drawByAttribute-0/interval3/setLineColourRGBA /vis/modeling/trajectories/drawByAttribute-0/interval4/setLineColourRGBA /vis/modeling/trajectories/drawByAttribute-0/interval5/setLineColourRGBA /vis/modeling/trajectories/drawByAttribute-0/interval6/setLineColourRGBA /vis/filtering/trajectories/create/attributeFilter /vis/filtering/trajectories/attributeFilter-0/setAttribute IMag /vis/filtering/trajectories/attributeFilter-0/addInterval 2.5 MeV 1000 MeV /vis/filtering/trajectories/create/particleFilter /vis/filtering/trajectories/particleFilter-0/add gamma Momentum interval based colour scale Momentum filter Gamma filter Configure visualisation properties Momentum filter

Jane Tinslay, SLAC12 December Release Summary G4TrajectoryChargeFilter G4TrajectoryParticleFilter G4TrajectoryOriginVolumeFilter  Logical or physical volume G4TrajectoryAttributeFilter  Uses HepRep style attributes (G4AttDef)

Jane Tinslay, SLAC13 Hit Filtering Attribute based filtering implemented generically  Can apply to any class which implements these methods Get attribute based interactive hit filtering for free To activate, add a filter call to G4VVisManager in Draw method of hit class const std::map * GetAttDefs() const; std::vector * CreateAttValues() const; const std::map * GetAttDefs() const; std::vector * CreateAttValues() const; void MyHit::Draw() { … if (! pVVisManager->FilterHit(*this)) return; … void MyHit::Draw() { … if (! pVVisManager->FilterHit(*this)) return; …

Jane Tinslay, SLAC14 Summary Coming December release  Range of drawing & filtering models for trajectories  Attribute based filtering for hits  Attribute based drawing/filtering code in CVS See interactive help for details on command usage Documentation will be updated to cover recent developments