Re: detector simulation by geant??

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Nov 30 1998 - 08:58:55 MET


Canguo Li wrote:
> 
>  I'd like to know the plan of the ROOT's simulation section. Currently
> geant3's results can be fed into ROOT. Will Geant4 be interfaced to ROOT?
> 
> --Canguo

Hi Canguo,
There is no such section in the Root team :)
However, I can provide a bit more information.
Root contains an embryon of geometry package that today provides
only some basic graphics functions only. Geant3 geometries can be
translated to Root TNodes via the g2root utility.
The gh2root utility can also be used to automatically generate the
C++ classes corresponding to the Geant3 sets and dets.
The ALICE collaboration has implemented a complete interface to Geant3
via the class TGeant3. An upgrade of this class has recently been
provided by Pasha Murat from the CDF collaboration.
The TGeant3 class provides a complete interface to the Geant3
functions. A set of classes AliXXXX have been developed to replace
the hits functionality from Geant3 and also in view of Geant4.
More details about the GALICE framework can be found at URL:
   http://www.cern.ch/ALICE/Projects/offline/Simulation/galice/

Using the TGeant3 and Ali classes, a complete C++ interface has
been developed. Kinematics, Hits&Digits are stored in the form
of Root Trees and are used directly by the ALICE reconstruction
framework based on Root and entirely written in C++.

Work is currently in progress to interface the Ali classes to Geant4.
This scheme provides an easier transition from Geant3 to Geant4
or Geant3 to Fluka.
ALICE is also developing a geometry data base (independent from
simulation programs) based on Root classes + a new set of classes
(ALICE independent) to handle complex detectors. This data base tool
includes geometry editors and viewers and automatic interface
to Geant3, Geant4, Fluka, reconstruction/analysis programs and DAQ.
This geometry data base tools is expected to be operational
early next spring.
For more details, contact Federico.Carminati@cern.ch

The Root interface to Geant4 still requires more work. On one side
Geant4 is very far to be an operational system. The Geant4 team
is planning to replace the current RogueWave container classes
by STL. CINT has some problems to digest RogueWave classes.
The transition to STL should help.
But we plan to automatically generate the Root dictionaries for
Geant4 classes such that an interactive interface will be available
and support for persistency provided via Root Trees.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET