Ben Lloyd 1 New Developments in GDML and in Generator Services Ben Lloyd University of the West of England, Bristol, UK 11.04.2007.

Slides:



Advertisements
Similar presentations
With Folder HelpDesk for Outlook, support centres and other helpdesks can work efficiently with support cases inside Microsoft Outlook. The support tickets.
Advertisements

With Public Folder HelpDesk for Outlook, support centres and other helpdesks can work efficiently with support cases inside Microsoft Outlook. The support.
Web Applications Development Using Coldbox Platform Eddie Johnston.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Simulation Project Major achievements (past 6 months 2007)
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
Russell Taylor Lecturer in Computing & Business Studies.
Witek Pokorski, Radovan Chytracek, Jeremy McCormick, Giovanni Santin
Collections Management Museums EMu 3.1 / 3.2 – New Features EMu 3.1 / 3.2 New Features Bernard Marshall Chief Technology Officer KE Software.
Linux Operations and Administration
Business Optix Library Service – Workflow
Overview of Mini-Edit and other Tools Access DB Oracle DB You Need to Send Entries From Your Std To the Registry You Need to Get Back Updated Entries From.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
A guide for UICET for using Wikispaces.  A wiki is a web page or collection of web pages that can be linked together as a website.  Wikis are often.
Introduction With TimeCard users can tag SharePoint events with information that converts them into time sheets. This way they can report.
Indo-US Workshop, June23-25, 2003 Building Digital Libraries for Communities using Kepler Framework M. Zubair Old Dominion University.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Website Design Lecture 1. Outline Introduction to the module Outline of the Assessment Schedule Lecture Static XHTML, client side and server side Why.
Updating JUPITER framework using XML interface Kobe University Susumu Kishimoto.
0 eCPIC User Training: Resource Library These training materials are owned by the Federal Government. They can be used or modified only by FESCOM member.
FlexElink Winter presentation 26 February 2002 Flexible linking (and formatting) management software Hector Sanchez Universitat Jaume I Ing. Informatica.
W. Pokorski - EP/SFT Simulation Project1 GDML - recent developments Witek Pokorski
W. Pokorski - CERN Simulation Project1 Python binding for Geant4 toolkit using Reflex/PyROOT tool Witek Pokorski EuroPython 2006, CERN, Geneva
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
Dean Anderson Polk County, Oregon GIS in Action 2014 Modifying Open Source Software (A Case Study)
IBM Lotus Software © 2006 IBM Corporation IBM Lotus Notes Domino Blog Template Steve Castledine.
SoLID simulation with GEMC Zhiwen Zhao 2015/03/26.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
G.Govi CERN/IT-DB 1 September 26, 2003 POOL Integration, Testing and Release Procedure Integration  Packages structure  External dependencies  Configuration.
K. Harrison CERN, 22nd September 2004 GANGA: ADA USER INTERFACE - Ganga release status - Job-Options Editor - Python support for AJDL - Job Builder - Python.
Module 6: Configuring User Environments Using Group Policies.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
GDML “Geometry Description Markup Language” by Daniele Francesco Kruse University of Rome “Tor Vergata” European Organization for Nuclear Research.
Understanding Web-Based Digital Media Production Methods, Software, and Hardware Objective
Enterprise Oracle Solutions Oracle Report Manager The New ADI and More Revised:June 20091Report Manager/SROAUG Presentation.
CIS-NG CASREP Information System Next Generation Shawn Baugh Amy Ramirez Amy Lee Alex Sanin Sam Avanessians.
STATUS OF GDML SUPPORT IN ROOT A.Gheata SFT group meeting, June 2, 2014.
CERN, 7 November 2011 Anton Pytel Slovak Technical University TRIP FROM GENERATORS TO GEOMETRIES.
E-Procurement Solution for the Northern Ireland 1 Contract and Project Management Solution for the Northern Ireland.
AdisInsight User Guide July 2015
Product Training Program
Doron Orbach UCMDB Product Manager
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
Integrating ArcSight with Enterprise Ticketing Systems
SharePoint Broken Link Manager
Moveware Client Wiki.
Using E-Business Suite Attachments
Complex Geometry Visualization TOol
European Organization for Nuclear Research
LCG Generator Services project
Content Management System
Geant4 Geometry Objects Persistency using ROOT
GLAST Release Manager Automated code compilation via the Release Manager Navid Golpayegani, GSFC/SSAI Overview The Release Manager is a program responsible.
Core WG Meeting November 16th, 2017.
Introduction With TimeCard users can tag SharePoint events with information that converts them into time sheets. This way they can report.
Part of the Multilingual Web-LT Program
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
A technical look at the new capabilities
Engineering Workbench Version 2.0
SharePoint Broken Link Manager
Microsoft PowerPoint 2007 – Unit 2
Simulation Framework Subproject cern
Tutorial 7 – Integrating Access With the Web and With Other Programs
G4 Workshop 2002 Detector Description Parallel Session
Use of GEANT4 in CMS The OSCAR Project
Links Launch Outlook Launch Skype Place Skype on Do Not Disturb.
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Kaspersky Social Channel
Presentation transcript:

Ben Lloyd 1 New Developments in GDML and in Generator Services Ben Lloyd University of the West of England, Bristol, UK

Ben Lloyd2 Outline What have I been working on all year? GDML Geant4 Binding to GDML ROOT Binding to GDML GDML Main Package Updates Generator Services subproject

Ben Lloyd3 GDML

Ben Lloyd4 What is GDML? Geometry Description Markup Language “Providing a means to share Geometry Information among applications” XML is used to provide: -An application independent format -Also architecture & platform independent -Extensible and Modular friendly -The ability to use standard I/O to read/write GDML -Easy to edit GDML files

Ben Lloyd5 GDML Currently.. Geant4ROOT G4Box box = new G4Box; G4PhysicalVolume = … … TGeoBBox box = new TGeoBBox; TGeoVolume = … … GDML Currently has good bindings to Geant4 and ROOT. Allowing import or export of GDML to/from these formats. GDML File GDML

Ben Lloyd6 Geant4 Binding to GDML

Ben Lloyd7 Supported Solids The final solids supported by Geant4 were added to the GDML Geant4 Binding.. This process consists of: Add solid to GDML Schema Adding Subscribers to read/convert GDML to Geant4 objects Adding G4 Processors to read Geant4 code and convert to GDML

Ben Lloyd8 Auxiliary Tag The auxiliary tag in GDML is there to carry information inside GDML volumes that is not widely supported. Information such as… Sensitive Detector Information Geometry colours An ‘aux pair’ consists of the type and value:

Ben Lloyd9 Auxiliary Tag This sits within a GDML volume like so: You can use the auxiliary tag as many times as you like in a volume. The tag was in the schema but user had no access to it.

Ben Lloyd10 Auxiliary Tag map > > The above map is populated during import of a GDML file. The current volume’s pointer is used as the key Each volume has a vector of aux pairs GDMLProcessor::AuxiliaryPairsMap* GetAuxiliaryMap(); vector >* GetAuxVector(G4LogicalVolume* auxvol);

Ben Lloyd11 Definition of Rotations GDML allows the definition of a position (x,y,z) and also it’s rotation. A rotation is also defined using x, y and z. Natively these values are resolved from a 3x3 matrix. I am currently extending GDML to allow the definition of a rotation through a 3x3 matrix.

Ben Lloyd12 Definition of Rotations This was previously restricted to: Soon to be available in addition to above… As matrices can already be defined independently, the author will be able to directly reference to a previously defined 3x3 matrix: Also the ability to directly define a new 3x3 matrix within the rotation definition: <matrix name=“new_matrix” xx=“-1” xy=“1” xz=“1” yx=“1” yy=“-1” yz=“1” zx=“1” zy=“1” zz=“-1” />

Ben Lloyd13 GDML Installation Previously the GDML package did not guide you through installation. It had: Default script in CVS for CERN installation: User to modify by hand configure switches in this script Somewhat unclear to the user what switches they could & couldn’t change For external installation, the script would need to be completely modified

Ben Lloyd14 GDML Installation A New script was created to collect information from the user including path’s to dependencies, enable features etc. By running the script, it will do the following: Requests user input (paths, options etc) Creates MyConfigure.(c)sh from this -This can be used in the future for clean installation Runs MyConfigure.(c)sh Issues make Issues make install (if required) Installation Complete!

Ben Lloyd15 GDML Installation Preview of script..

Ben Lloyd16 GDML Manual Previous revision barely existed, had not even been published. New Manual now represents GDML Package in its entirety. Small contributions from other authors. Now available from

Ben Lloyd17 Current Status of GDML G4 Installation of GDML in one easy step ALL G4 Solids now supported and implemented Auxiliary information accessible Definition of volume/geometry rotations through matrices GDML Manual now up-to-date and accessible

Ben Lloyd18 XersesC GDML Common Geant4 Binding What’s Next for G4 GDML Remove G4 Binding from GDML Installation Fully integrate GDML G4 bind in Geant4 Make GDML Package stand-alone Geant4 Installation GDML PackageGDML Package

Ben Lloyd19 ROOT Binding to GDML

Ben Lloyd20 ROOT -> GDML The ROOT to GDML binding is implemented in python. Converts geometry imported into ROOT into GDML and outputs a GDML file. Was found to be incredibly slow. An optimisation of the python code done by Daniele Kruse (summer student) and myself reduced export times significantly. Example Times:ATLAS: 255 sec (previously 4707 sec) LHCb: 12 sec (previously 15 sec) ALICE: 129 sec (previously 620 sec) Times will vary with machine performance. All other detectors showing similar results, reductions not consistent based on detector geometries being structured differently

Ben Lloyd21 ROOT -> GDML GDML’s export from ROOT has been extended to now support… Assembly Volumes Division Volumes Reflected Volumes All ROOT solids

Ben Lloyd22 GDML -> ROOT Originally implemented in Python. No optimisation could resolve the fact that to import GDML to ROOT was too SLOW! Completely re-developed from scratch in C++. Fully integrated into ROOT as GDML library.

Ben Lloyd23 GDML -> ROOT Before building ROOT use:./configure --enable-gdml To import a GDML file to ROOT root [0] TGeoManager::Import(“test.root”) root [1] TGeoManager::Import(“test.gdml”)

Ben Lloyd24 GDML-> ROOT Using ROOT’s built in viewer, here is CMS after being imported from a GDML file using the new GDML Importer…

Ben Lloyd25 GDML -> ROOT On completion of the import the GDML geometry will be fully converted into ROOT format and in memory. Excellent improvements on import time also seen here. Example Times:CMS: 27 sec (previously 390 sec) LHCb: 6 sec (previously 37 sec) ATLAS: 103 sec (previously ~1900 sec) BABAR: 17 sec (previously 102 sec) As with the Export, same reasons apply for inconsistency.

Ben Lloyd26 Current Status of GDML ROOT GDML Export optimised and remains as a Python implementation GDML Import re-done in C++ and now fully integrated into the ROOT framework -Supports new features such as Modular GDML files GDML’s interaction with ROOT now has significantly reduced processing times All ROOT solids supported for Import and Export of GDML

Ben Lloyd27 Generator Services Subproject

Ben Lloyd28 Pythia8 Online Manual Pythia8 has an online manual which contains an extensive list of parameters to construct a configuration file from.. The author wanted to make this list interactive so the user could pick options, change defaults and the result… Your own customised configuration file!

Ben Lloyd29 Pythia8 Online Manual Currently the author had this in place: The webpage content in XML files Converted the XML to HTML using a C++ program My task was to change this C++ program to convert the XML into an interactive web page manual The solution was using PHP, a server-side web scripting language…

Ben Lloyd30 Pythia8 Online Manual The HTML version..

Ben Lloyd31 Pythia8 Online Manual The PHP version…

Ben Lloyd32 Pythia8 Online Manual Once the user finished customising their file, it would generate the file on the web-server and they can download it..

Ben Lloyd33 Pythia8 Online Manual

Ben Lloyd34 Requests from Generator Authors for an online FAQ page for their generator The solution was using -A web based Wiki tool -Can provide easy online editing for the authors -FAQ’s can be structured within categories -Removes the administration responsibility from Generator Services as opposed to a ‘home-made’ solution Generator Services FAQ

Ben Lloyd35 Generator Services FAQ We now have in place: A template for each Generator’s FAQ homepage that can be replicated for new Generators A How-To guide containing all the need to know information for an author to create their FAQ Each FAQ will provide: -FAQ Search Engine -Simple rules & syntax for editing -Ability to attach documents to an FAQ (Images, PDF’s,.ppt etc.) -Daily Notification (for changes) -RSS subscription -User Submission for questions not in the FAQ -Revision control

Ben Lloyd36

Ben Lloyd37 In Conclusion GDML/Geant4 binding -Now Complete to support full range of G4 solids -Extended functionality -GDML Installation is now one smooth process GDML/ROOT binding: -Import/Export times significantly shortened. -Fully integrated within ROOT -Now supports almost the complete GDML Schema Pythia8 now has a fully interactive webpage/manual to generate setup script Generator Services FAQ is now up and running

Ben Lloyd38 And finally… Thank You!!! My Supervisor - Witek Pokorski For all the support and help you have given me during my time at CERN.

Ben Lloyd39 Any Questions?