The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh...

21
The V-Atlas The V-Atlas Event Visualization Event Visualization Program Program J. Boudreau, L. Hines, J. Boudreau, L. Hines, V. Tsulaia V. Tsulaia University of Pittsburgh University of Pittsburgh A. Abdesselam A. Abdesselam University of Oxford University of Oxford T. Cornelissen T. Cornelissen NIKHEF NIKHEF J. Hoffman J. Hoffman Southern Methodist University, Soltan's Institute for Southern Methodist University, Soltan's Institute for Nuclear Studies Nuclear Studies W. Liebig W. Liebig CERN CERN R. McPherson R. McPherson University of Victoria/IPP University of Victoria/IPP E. Moyse E. Moyse University of Massachusetts University of Massachusetts A. Salzburger A. Salzburger Leopold-Franzens-Universitaet Innsbruck Leopold-Franzens-Universitaet Innsbruck M. Thioye M. Thioye State University of New York at State University of New York at Stony Brook Stony Brook I. Trigger I. Trigger TRIUMF TRIUMF CHEP 2006 CHEP 2006 TIFR, Mumbai TIFR, Mumbai

description

What Is Open Inventor? The Open Inventor is a free, object-oriented 3D modeling toolkit, developed by SGI The Open Inventor is a free, object-oriented 3D modeling toolkit, developed by SGI The Open Inventor is a library of objects and methods used to create interactive 3D applications The Open Inventor is a library of objects and methods used to create interactive 3D applications Scene Database, Node Kits, Manipulators… Scene Database, Node Kits, Manipulators… The Open Inventor uses OpenGL for rendering, takes advantage of hardware acceleration in the graphics card The Open Inventor uses OpenGL for rendering, takes advantage of hardware acceleration in the graphics card Frame rates of 100/s are not uncommon, but that depends on platform and complexity Frame rates of 100/s are not uncommon, but that depends on platform and complexity It can be extended to meet new needs It can be extended to meet new needs And it is very well documented. Two books by J. Wernecke and The Open Inventor Architecture group And it is very well documented. Two books by J. Wernecke and The Open Inventor Architecture group “The Inventor Mentor” – toolkit description “The Inventor Mentor” – toolkit description “The Inventor Toolmaker” – guide to extending “The Inventor Toolmaker” – guide to extending

Transcript of The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh...

Page 1: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

The V-Atlas The V-Atlas Event Visualization Event Visualization

ProgramProgramJ. Boudreau, L. Hines,J. Boudreau, L. Hines, V. TsulaiaV. Tsulaia University of PittsburghUniversity of Pittsburgh

A. AbdesselamA. Abdesselam University of OxfordUniversity of OxfordT. CornelissenT. Cornelissen NIKHEFNIKHEF

J. HoffmanJ. Hoffman Southern Methodist University, Soltan's Institute for Nuclear Southern Methodist University, Soltan's Institute for Nuclear StudiesStudies

W. LiebigW. Liebig CERNCERNR. McPhersonR. McPherson University of Victoria/IPPUniversity of Victoria/IPPE. MoyseE. Moyse University of MassachusettsUniversity of Massachusetts

A. SalzburgerA. Salzburger Leopold-Franzens-Universitaet InnsbruckLeopold-Franzens-Universitaet InnsbruckM. ThioyeM. Thioye State University of New York atState University of New York at Stony BrookStony Brook

I. TriggerI. Trigger TRIUMFTRIUMF

CHEP 2006CHEP 2006 TIFR, Mumbai TIFR, Mumbai

Page 2: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

IntroductionIntroduction

V-Atlas is the Event Visualization program integrated into V-Atlas is the Event Visualization program integrated into ATLAS analysis framework ATHENAATLAS analysis framework ATHENA

V-Atlas is based upon V-Atlas is based upon Open InventorOpen Inventor and it’s and it’s HEPVisHEPVis extensionsextensions

V-Atlas co-displays the real Detector Description/Simulation V-Atlas co-displays the real Detector Description/Simulation geometry together with event datageometry together with event data

V-Atlas renders in real time on regular laptop computers, V-Atlas renders in real time on regular laptop computers, using their available graphics acceleration.using their available graphics acceleration. No commercial software is requiredNo commercial software is required

V-Atlas has been also actively used as a powerful V-Atlas has been also actively used as a powerful debugging tool in various domains of ATLAS s/wdebugging tool in various domains of ATLAS s/w Detector Description, Simulation, ReconstructionDetector Description, Simulation, Reconstruction

Page 3: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

What Is Open Inventor?What Is Open Inventor?

The Open Inventor is a free, object-oriented 3D modeling The Open Inventor is a free, object-oriented 3D modeling toolkit, developed by SGItoolkit, developed by SGI

The Open Inventor is a library of objects and methods used The Open Inventor is a library of objects and methods used to create interactive 3D applicationsto create interactive 3D applications Scene Database, Node Kits, Manipulators…Scene Database, Node Kits, Manipulators…

The Open Inventor uses OpenGL for rendering, takes The Open Inventor uses OpenGL for rendering, takes advantage of hardware acceleration in the graphics cardadvantage of hardware acceleration in the graphics card Frame rates of 100/s are not uncommon, but that depends on Frame rates of 100/s are not uncommon, but that depends on

platform and complexityplatform and complexity It can be extended to meet new needsIt can be extended to meet new needs And it is very well documented. Two books by J. Wernecke And it is very well documented. Two books by J. Wernecke

and The Open Inventor Architecture groupand The Open Inventor Architecture group ““The Inventor MentorThe Inventor Mentor” – toolkit description” – toolkit description ““The Inventor ToolmakerThe Inventor Toolmaker” – guide to extending” – guide to extending

Page 4: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

HEPVis – an extension to the Open InventorHEPVis – an extension to the Open Inventor

The HEPVis project started in 1996. The main goal is to The HEPVis project started in 1996. The main goal is to provide HEP specific extensions to the Open Inventorprovide HEP specific extensions to the Open Inventor

These extensions are called Hepvis LibraryThese extensions are called Hepvis Library HEP specific shapes, like helices. GEANT shapesHEP specific shapes, like helices. GEANT shapes ““Smart Nodes” which can handle their own X-eventsSmart Nodes” which can handle their own X-events HEP specific viewer, based on Open Inventor viewerHEP specific viewer, based on Open Inventor viewer

Hepvis is an open library, it can expandHepvis is an open library, it can expand New shapes or other objectsNew shapes or other objects

The Open Inventor and its HEPVis extensions are well suited The Open Inventor and its HEPVis extensions are well suited to the requirements of an interactive event displayto the requirements of an interactive event display

Page 5: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas architectureV-Atlas architecture

V-Atlas consists of two main ATHENA modulesV-Atlas consists of two main ATHENA modules GeoModelGraphics – V-Atlas ‘core’ moduleGeoModelGraphics – V-Atlas ‘core’ module HitDisplay – extensible moduleHitDisplay – extensible module

HitDisplay module at initialization instantiates what we called HitDisplay module at initialization instantiates what we called an “embedded master”, which is a framework-within-a-an “embedded master”, which is a framework-within-a-frameworkframework The ATHENA framework handles events and database I/O, The ATHENA framework handles events and database I/O,

configuration options, loading of modular services and algorithmsconfiguration options, loading of modular services and algorithms The Embedded Master provides a framework for visualization The Embedded Master provides a framework for visualization

roughly defined as “translating abstraction into geometry”roughly defined as “translating abstraction into geometry” HitDisplay module consists of several Systems, each serving its HitDisplay module consists of several Systems, each serving its

own special purposeown special purpose Geometry System, Hit Display System, Calorimeter System, Track Geometry System, Hit Display System, Calorimeter System, Track

Parameters System, Template System and othersParameters System, Template System and others

Page 6: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas architectureV-Atlas architecture

How do the HitDisplay Systems work?How do the HitDisplay Systems work? V-Atlas user selects at run time which systems he/she V-Atlas user selects at run time which systems he/she

wants to usewants to use The selected System is called at each event. It has access The selected System is called at each event. It has access

to the Transient Object Store within ATHENA framework – to the Transient Object Store within ATHENA framework – the Store Gatethe Store Gate

The System is supposed to translate the Store Gate objects The System is supposed to translate the Store Gate objects (hits, digits, tracks etc.) into geometry(hits, digits, tracks etc.) into geometry

In addition, the System may do something when the object In addition, the System may do something when the object is clickedis clicked Print object specific information to the text boxPrint object specific information to the text box

Each System is accompanied by its personal Controller, Each System is accompanied by its personal Controller, which provides GUI for System methodswhich provides GUI for System methods Menu items, dialog boxes etcMenu items, dialog boxes etc

Page 7: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas architectureV-Atlas architecture

How to extend V-Atlas functionalities?How to extend V-Atlas functionalities? The functionality of V-Atlas program is extended by creating The functionality of V-Atlas program is extended by creating

new Systems or developing the existing onesnew Systems or developing the existing ones The modular structure of the V-Atlas allows independent The modular structure of the V-Atlas allows independent

development of HitDisplay Systemsdevelopment of HitDisplay Systems V-Atlas contains a special Template System which provides a V-Atlas contains a special Template System which provides a

good starting point for new developers good starting point for new developers When one runs the display and launches the template system it When one runs the display and launches the template system it

prints out the information on how to clone and extend the prints out the information on how to clone and extend the template systemtemplate system

The users of V-Atlas can develop private Systems addressing The users of V-Atlas can develop private Systems addressing their specific requirements and use these Systems for their specific requirements and use these Systems for analysis & debugginganalysis & debugging

Page 8: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems - GeometryV-Atlas Systems - Geometry

The earliest systems to be used within V-Atlas wereThe earliest systems to be used within V-Atlas wereGeometry SystemGeometry System, Measurement System, Hit Display System, Measurement System, Hit Display System The entire ATLAS DD geometry is visibleThe entire ATLAS DD geometry is visible Users can switch pieces on or offUsers can switch pieces on or off Users can navigate volume hierarchy up and downUsers can navigate volume hierarchy up and down Users can iconize pieces that get on their wayUsers can iconize pieces that get on their way It is possible to determine the software weight of any objectIt is possible to determine the software weight of any object

This functionality does not work yet for Boolean solidsThis functionality does not work yet for Boolean solids Users can print volume identifiers – names and ‘copy numbers’ – Users can print volume identifiers – names and ‘copy numbers’ –

at selectionat selection Users can get volume transformation in the local coordinate frameUsers can get volume transformation in the local coordinate frame If some volume is declared as ‘Alignable’, it is possible to If some volume is declared as ‘Alignable’, it is possible to

manipulate with its position interactivelymanipulate with its position interactively

Page 9: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems - GeometryV-Atlas Systems - Geometry

The earliest systems to be used within V-Atlas wereThe earliest systems to be used within V-Atlas wereGeometry SystemGeometry System, Measurement System, Hit Display System, Measurement System, Hit Display System

The various information The various information about selected volumes about selected volumes is printed out in the text is printed out in the text boxbox

Page 10: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems - GeometryV-Atlas Systems - Geometry

The earliest systems to be used within V-Atlas wereThe earliest systems to be used within V-Atlas wereGeometry SystemGeometry System, Measurement System, Hit Display System, Measurement System, Hit Display System

One can interactively One can interactively move the Alignable move the Alignable volume …volume …… … and get alignment and get alignment characteristicscharacteristics

Page 11: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems - MeasurementV-Atlas Systems - Measurement

The earliest systems to be used within V-Atlas wereThe earliest systems to be used within V-Atlas wereGeometry System, Geometry System, Measurement SystemMeasurement System, Hit Display , Hit Display SystemSystem

Page 12: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems – Hit DisplayV-Atlas Systems – Hit Display

The earliest systems to be used within V-Atlas wereThe earliest systems to be used within V-Atlas wereGeometry System, Measurement System, Geometry System, Measurement System, Hit Display Hit Display SystemSystem

Hit Display system Hit Display system played very important played very important role in verifying the role in verifying the integrity of the integrity of the geometry description geometry description and simulation. and simulation. That was done by That was done by relocating hits in space relocating hits in space using the geometry plus using the geometry plus local coordinates of the local coordinates of the hits.hits.

Page 13: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

GEANT4 can print in the log GEANT4 can print in the log file positions of potentially file positions of potentially dangerous points in geometry dangerous points in geometry descriptiondescription

It is possible to format them It is possible to format them up as .iv or .wrl file …up as .iv or .wrl file …

… … and then feed to V-Atlas in and then feed to V-Atlas in order to co-display with order to co-display with detector geometrydetector geometry

V-Atlas is not just a viewer, it V-Atlas is not just a viewer, it can act as a browser for VRMLcan act as a browser for VRML

V-Atlas Systems – Extra InputV-Atlas Systems – Extra Input

Page 14: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems – CalorimeterV-Atlas Systems – CalorimeterEnergy in ATLAS Hadronic Tile Calorimeter cells, with adjustable thresholdEnergy in ATLAS Hadronic Tile Calorimeter cells, with adjustable threshold

Page 15: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems – Tracking, SurfacesV-Atlas Systems – Tracking, Surfaces

Page 16: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems – BanksV-Atlas Systems – Banks

Page 17: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems – Calo Clusters, TracksV-Atlas Systems – Calo Clusters, Tracks

Page 18: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems – DigitsV-Atlas Systems – Digits

Page 19: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas Systems – Beam SpotV-Atlas Systems – Beam Spot

Page 20: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas as a debugging toolV-Atlas as a debugging tool‘‘Strange’ simulated event. It took forever to simulate… The Strange’ simulated event. It took forever to simulate… The visualization showed the problem immediately.visualization showed the problem immediately.

Page 21: The V-Atlas Event Visualization Program J. Boudreau, L. Hines, V. Tsulaia University of Pittsburgh A. Abdesselam University of Oxford T. Cornelissen NIKHEF.

V-Atlas – Final RemarksV-Atlas – Final Remarks

V-Atlas, initially born as a rubric under the general task of V-Atlas, initially born as a rubric under the general task of ATLAS detector description, has gradually turned into a ATLAS detector description, has gradually turned into a multifunctional Event Display programmultifunctional Event Display program

Thanks to its modular architecture V-Atlas is evolving Thanks to its modular architecture V-Atlas is evolving permanently by including new functionalities developed by permanently by including new functionalities developed by specialists of various ATLAS software domainsspecialists of various ATLAS software domains

V-Atlas is extensively used as a debugging tool for Detector V-Atlas is extensively used as a debugging tool for Detector Description software, Simulation and Reconstruction Description software, Simulation and Reconstruction algorithmsalgorithms

We are also going to install and use V-Atlas as an Event We are also going to install and use V-Atlas as an Event Display at ATLAS Point 1Display at ATLAS Point 1

… … More information on our web siteMore information on our web sitehttp://boudreau.home.cern.ch/boudreau/v-atlas-hepvis.htm