G4 Workshop 2002 Det ect or Descript ion Parallel Session Radovan - - PowerPoint PPT Presentation

g4 workshop 2002 det ect or descript ion parallel session
SMART_READER_LITE
LIVE PREVIEW

G4 Workshop 2002 Det ect or Descript ion Parallel Session Radovan - - PowerPoint PPT Presentation

G4 Workshop 2002 Det ect or Descript ion Parallel Session Radovan Chytracek CERN I T/ API Geant4 Agenda Geometry & materials input XML GUI Editors G4 binding to detector description subsystems of experiment f rameworks


slide-1
SLIDE 1

G4 Workshop 2002 Det ect or Descript ion Parallel Session

Radovan Chytracek CERN I T/ API Geant4

slide-2
SLIDE 2

2 Oct ober 2002 Radovan Chyt racek CERN I T/ AP I Geant 4 2

Agenda

Geometry & materials input

– XML – GUI Editors

G4 binding to detector description subsystems of experiment f rameworks

– I ssues – Problems – Solutions

New requirements to marry detector description & G4

slide-3
SLIDE 3

2 Oct ober 2002 Radovan Chyt racek CERN I T/ AP I Geant 4 3

Geomet ry & Mat erials

Current state of XML based solutions

– G4 provides GDML – Experiments have many others

  • Gaudi DDDB, CMS DDD, ATLAS & GLAST AGDD, …

Agreement to f reeze the new developments f or XML based solutions and to wait f or outcome of Detector Description RTAG # 7 in the context of LCG I t’s clear that common exchange f ormat is really needed in the area of detector description G4 GDMLWriter is needed in the short time scale

– Possible re- use of CMS XML streamer implementation

slide-4
SLIDE 4

2 Oct ober 2002 Radovan Chyt racek CERN I T/ AP I Geant 4 4

GUI Edit ors

G4 provides Momo (GGE UI module)

– Using its own persistent f ormat – Not clear how many users of it exist

Evgueni Tcherniaev’s GBuilder

– Data in the f orm of dynamically built & loaded C++ code – Good will to generate G4 f riendly C++ geometry code or to provide import/ export module (see requirements later)

Gaudi Java XML editor

– Quite f lexible, can understand new XML DTDs and Schemas – Can be very usef ul when common exchange f ormat exists

GraXML

– I ndependent Java based visualization – Understands HEP XML dialects, even GDML Beta version – Good will to adopt the new common exchange f ormat if available

slide-5
SLIDE 5

2 Oct ober 2002 Radovan Chyt racek CERN I T/ AP I Geant 4 5

G4 Binding

I ssues

– Lack of (re- )usable I / O machinery

  • Dump of solids’ parameters, …

– Experiments have f ound their way to integrate G4 already

  • Mostly re- implementing steering & event loop part of G4

Problems

– Migration problems f rom G3 to G4

  • G4Exception due to precision problems
  • Not happy with the def ault exception “terminate”

behavior

  • Not clear whether multiple or user def ined exception

handlers possible with the new G4 exception mechanism

slide-6
SLIDE 6

2 Oct ober 2002 Radovan Chyt racek CERN I T/ AP I Geant 4 6

New Requirement s

Medium

Might be thin, but well def ined & documented, f irst client of it is GBuilder tool I / O I nterf ace f or external import/ export tools

Priority Description Requirement Medium

Switch- of f transf ormation matrix consistency check & let the user “correct” the matrix bef ore use in G4 Migration: g3tog4 option

High

Switch- of f generating of names f or the objects created by the f actory G4Ref lexionFactory

  • ption

Medium

Considered more usef ul then f ull set

  • f G4Messenger commands, giving to

users f ull power of Python Python interf ace f or geometry & materials

High

Required mostly f or testing and debugging purposes, e.g. send XML instead of C++ G4GDMLWriter