Jump to first page The new ROOT geometry package Andrei Gheata - ALICE Institute of Space Sciences, Bucharest.

Slides:



Advertisements
Similar presentations
Construction process lasts until coding and testing is completed consists of design and implementation reasons for this phase –analysis model is not sufficiently.
Advertisements

Use of G EANT 4 in CMS AIHENP’99 Crete, April 1999 Véronique Lefébure CERN EP/CMC.
SOFTWARE TESTING. INTRODUCTION  Software Testing is the process of executing a program or system with the intent of finding errors.  It involves any.
Simulation Project Major achievements (past 6 months 2007)
Witek Pokorski, Radovan Chytracek, Jeremy McCormick, Giovanni Santin
Using ROOT geometry for FVTX reconstruction Zhengyun You Peking University Los Alamos National Lab Jan 22, 2007.
COMP 175: Computer Graphics March 24, 2015
U-Solids: new geometrical primitives library for Geant4 and ROOT Marek Gayer CERN Physics Department (PH) Group Software Development for Experiments (SFT)
In the G4/ROOT hierarchy there are three conceptual layers: - G4VSolid: shape, size - G4VSolid: shape, size - G4LogicalVolume: material, MF, sensitivity,
CSCA48 Course Summary.
Usage of ROOT geometry with GEANT4
1 Tracking Reconstruction Norman A. Graf SLAC July 19, 2006.
Alignment Strategy for ATLAS: Detector Description and Database Issues
XML in Atlas: from generic to parametric detector description Stan Bentvelsen NIKHEF Amsterdam XML workshop, CERN, May 22.
Darmstadt, 15. November 2015 Tobias Stockmanns, FZ Jülich1 A STEP to ROOT converter for the FairRoot framework ALICE-FAIR Computing Meeting, GSI,
SIMO SIMulation and Optimization ”New generation forest planning system” Antti Mäkinen & Jussi Rasinmäki Dept. of Forest Resource Management.
Visual Computing Geometric Modelling 1 INFO410 & INFO350 S2 2015
Virtual Monte Carlo and new geometry description in STAR Maxim Potekhin STAR Collaboration Meeting, BNL July 17, 2004 July 17, 2004.
STAR STAR VMC tracker V. Perevoztchikov Brookhaven National Laboratory,USA.
Geant4 in production: status and developments John Apostolakis (CERN) Makoto Asai (SLAC) for the Geant4 collaboration.
The GeoModel Toolkit for Detector Description Joe Boudreau Vakho Tsulaia University of Pittsburgh CHEP’04 Interlaken.
New software library of geometrical primitives for modelling of solids used in Monte Carlo detector simulations Marek Gayer, John Apostolakis, Gabriele.
Peter Chochula ALICE Offline Week, October 04,2005 External access to the ALICE DCS archives.
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
The CMS Simulation Software Julia Yarba, Fermilab on behalf of CMS Collaboration 22 m long, 15 m in diameter Over a million geometrical volumes Many complex.
Introduction What is detector simulation? A detector simulation program must provide the possibility of describing accurately an experimental setup (both.
David Adams ATLAS DIAL: Distributed Interactive Analysis of Large datasets David Adams BNL August 5, 2002 BNL OMEGA talk.
VMC workshop1 Ideas for G4 navigation interface using ROOT geometry A.Gheata ALICE offline week, 30 May 05.
STATUS OF THE UNIFIED SOLIDS LIBRARY Gabriele Cosmo/CERN Tatiana Nikitina/CERN.
Outline  Developments/fixes in the last year  Introduced in release 9.6 and patches  Planned for release 10.0 and ongoing …  Currently under development.
U-Solids: new geometrical primitives library for Geant4 and ROOT Marek Gayer CERN Physics Department (PH) Group Software Development for Experiments (SFT)
IT / API 1 CERN 1-Feb-16 GBLIB: classes to deal with geometrical data Evgueni Tcherniaev IT / API CLHEP workshop, January.
Software Tools for Layout Optimization (Fermilab) Software Tools for Layout Optimization Harry Cheung (Fermilab) For the Tracker Upgrade Simulations Working.
Pedro Arce G4WS’10 October 6th, Voxelised geometries intersected with a volume Pedro Arce CIEMAT, Madrid 2010 Geant4 Workshop ESA, 4-8 October 2010.
Chris Parkes, Silvia Borghi, Christoph Hombach WP2 Alignment Task: Status Report Introduction Alignment Monitoring – LHCb VELO Weak Modes – LHCb VELO AIDA.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
GlueX Computing GlueX Collaboration Meeting – JLab Edward Brash – University of Regina December 11 th -13th, 2003.
Current status of the development of the Unified Solids library Marek Gayer CERN PH/SFT.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To understand the basic properties and characteristics of external files ❏ To.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
Detector Description (Overview) C.Cheshkov. 25/9/2006Detector Description (C.Cheshkov)OutlineTerminology Overview on: Detector geometry implementation.
ROOT Geometry PackageL1 The New ROOT Geometry Package ACAT2002 Moscow 24 June Ren é Brun, Andrei & Mihaela Gheata CERN.
Status of the development of the Unified Solids library Marek Gayer, CERN PH/SFT 2 nd AIDA Annual Meeting, Frascati 2013.
MONTE CARLO TRANSPORT SIMULATION Panda Computing Week 2012, Torino.
New features in ROOT geometrical modeller for representing non-ideal geometries René Brun, Federico Carminati, Andrei Gheata, Mihaela Gheata CHEP’06,
AliRoot survey: Calibration P.Hristov 11/06/2013.
1 SLAC simulation workshop, May 2003 Ties Behnke Mokka and LCDG4 Ties Behnke, DESY and SLAC MOKKA: european (france) developed GEANT4 based simulation.
Modularization of Geant4 Dynamic loading of modules Configurable build using CMake Pere Mato Witek Pokorski
Status of TFluka: geometry and validation Andrei Gheata ALICE Off-line week, 21 Feb
LHCb Software Week 25/11/99 Gonzalo Gracia Abril 1 r Status of Geant4 in LHCb. r Ideas on how to populate the LHCb Detector Description Data Base (LHCb.
Definition CASE tools are software systems that are intended to provide automated support for routine activities in the software process such as editing.
Chapter 7 Text Input/Output Objectives
CMS High Level Trigger Configuration Management
Compilers Principles, Techniques, & Tools Taught by Jing Zhang
Status of geometrical modeler
Geant4 Geometry Speed-ups
Chapter 7 Text Input/Output Objectives
Geant4 Geometry Objects Persistency using ROOT
Markus Frank CERN/LHCb CHEP2013, Amsterdam, October 14th–18th 2013
HEP detector description supporting the full experiment life cycle
3D graphics in JavaScript ROOT
Ideas for G4 navigation interface using ROOT geometry
The New ROOT Geometry Package
Geometry checking tools
Hierarchical Modeling & Constructive Solid Geometry
Peta-Cache: Electronics Discussion I Gunther Haller
Detector Geometry Description
Use of GEANT4 in CMS The OSCAR Project
VMC/GeoGeometry status report 2/2/05
Implementation Plan system integration required for each iteration
Presentation transcript:

Jump to first page The new ROOT geometry package Andrei Gheata - ALICE Institute of Space Sciences, Bucharest

Jump to first page October 15, 2002 ROOT Geometry Package Topics n Mission statement n Architecture description n Current status n Tracking optimizations n Benchmarks n Latest developments n Next steps u Demo (10’)

Jump to first page October 15, 2002 ROOT Geometry Package Mission statement n The ROOT geometrical package is intended as a toolkit to provide the geometrical description of an experiment, full tracking functionality + additional tools to ease-up building, checking and debugging a geometry. n Started ~1 year ago as a common ALICE/ROOT effort having in mind the idea to run several MC’s with the same user code. Geometry package Reconstruction program Simulation program Geant3-based Geant4-based Fluka-based C++ classes... MySQL Visualisation Monitoring Modeling Visualisation Interactivity Where am I? Distance to boundary Closest boundary Persistency

Jump to first page October 15, 2002 ROOT Geometry Package Requirements n Tracking-related functionality - (“Where am I?”, “Where next and how far?”, …) n Backward compatibility - to be able to reuse Geant3 geometries n Scalability - LHC geometries are big, we have to be able to represent them n Performance - it should be faster than existing modelers n Interactivity - users should be able to access easily all relevant geometry information + checking tools, builder interface,...

Jump to first page October 15, 2002 ROOT Geometry Package Architecture description n G3-like : CSG with constrains imposed by container-containee concept n Supporting an extended set of primitive shapes n Supporting full CSG architecture at shape level (composite boolean shapes) n Partially expanding full hierarchy in memory (for performance reasons) - using a cache mechanism and matrix compression. 13 nodes

Jump to first page October 15, 2002 ROOT Geometry Package Automatic conversion from Geant3 Zebra memory Data structure JVOLUM JMATE,etc Geant > RZ/File 21 mygeom.geom on Zebra RZ mygeom.geom g2root mygeom.geom mygeom.C Root >.x mygeom.C Mygeom.c void gexam1 () {TGeoMaterial *mat; TGeoMixture *mix; TGeoManager *gexam1 = new TGeoManager("gexam1","gexam1.C"); // List of Materials and Mixtures mat = new TGeoMaterial("mat9","ALUMINIUM",26.98,13,2.7); mix = new TGeoMixture("mix10","IRON(COMPOUND)",3); mix->DefineElement(0,55.847,26, ); mix->DefineElement(1,58.71,28, E-01); mix->DefineElement(2,51.998,24,0.197); mat = new TGeoMaterial("mat11","COPPER",63.54,29,8.96);

Jump to first page October 15, 2002 ROOT Geometry Package Current status n The code is inside ROOT since v n Html classes, description, quick start guide at : n We can map practically any geometry described by Geant3 + more flexibility due to composite shapes n Tracking functionality mostly implemented : still work to be done in computing safety and normals for some shapes n Several benchmarks were done with respect to Geant3 – better performance n Composite shapes implemented – still work to be done for visualization n Several ongoing tests to provide stability of the code

Jump to first page October 15, 2002 ROOT Geometry Package Tracking optimizations n Several optimizations have been done to improve performance : u Bounding boxes for all shapes u Voxelization used to minimize the number of candidates to be checked (voxels = volumetric pixels) – both cartesian and cylindrical coordinates u Safety computed for most shapes u Physical geometry tree partially expanded with a cache mechanism u “Smart” transformations – we make the difference between translations, rotations or general transformations for instance for computing point and vector transformations n Boundary diffusion due to floating point precision have been analyzed for some shapes : ~ n Introduced several tracking flags, to control : boundary crossing, entering/exiting

Jump to first page October 15, 2002 ROOT Geometry Package Validation procedure Use one million points generated by Geant3 with full physics switched on

Jump to first page October 15, 2002 ROOT Geometry Package Validation procedure n Using points generated by Geant3 applications u grecord.f --> mygeom.geom, mygeom.hbook n Play-back these points in Geant3 using only the Geant3 geometry package. Compute g3path, snext, safety in myresults.hbook n h2root myresults.hbook myresults.root n Same operation with TGeo classes. Compare g3path with tgeopath, same for snext, safety n Some discrepancies with Geant3 : u Due to precision problems in Geant3 (single precision geometries collected), points recorded at the volume boundaries may be found on the other side by TGeo. u When volumes declared MANY in Geant3 overlap and have sub-volumes also MANY, Geant3 is not always reporting the right answer. In general it does not matter, sometimes it does u In this exercise, we also found original errors in the detector description, e.g. wrong paramers

Jump to first page October 15, 2002 ROOT Geometry Package ROOT modeler benchmarks vs. GEANT3 for "Where am I" task n 1 mil. Points extracted from G3 simulation (full physics) n Point re-injected both in G3 and ROOT modeler, timings/track [microseconds] presented in the table. Number gtmedi Root Geant3/ gtmedi Root Geant3/ nodes physics physics Root random random Root Gexam Gexam Gexam Brahms Tesla CDF Minos_near BTeVEcal BTeV CMSEcal CMS LHCb Alice Atlas

Jump to first page October 15, 2002 ROOT Geometry Package I/O - file size n The size of the.root file and time to read are very important when developing a geometry. n.root files includes full voxelization Number RZ file text file(.C) root file nodes (kBytes) (kBytes) (kBytes) Alicenew >mem Atlas Brahms CDF CMS LHCb

Jump to first page October 15, 2002 ROOT Geometry Package Composite shapes n Union (+), intersection (*) and subtraction (-) operations fully supported at shape level. n Composite shapes are defined like : TGeoCompositeShape(const char *name, const char *expression) n Expressions are made by identifiers (shape_name:transf_name), e.g: (tube+tube:rot1)*box:t1 which means: “ union of a tube with the same tube rotated, then intersect the result with a translated box” n Internally a CSG binary tree is built : any query is posted at top level, while answers are collected from final leaves upwards (see demo)

Jump to first page October 15, 2002 ROOT Geometry Package Next steps n The main functionality is there, but it has to be further tested and improved n Checking tools to be developed (we already have good ideas how) n Concept of module to be introduced : this should be the link to any detector model n Visualization for composite shapes to be done : this might take a while (polyedron vs. polyedron algorithms for boolean operations missing) n G3 tracking based on the new modeler need to be implemented (as a first stage) n The user interface can always be discussed and improved