Re: modification of g4libs.C. granular/global?

From: Ivana Hrivnacova <Ivana.Hrivnacova_at_cern.ch>
Date: Wed, 4 Mar 2009 10:11:58 +0100


Dear Kazuyoshi,

geant4_vmc version 2.5 was released with Geant4 9.1.p02, that's why you have problems to load libraries for Geant4 9.2.

The new version (2.6) is going to be released during this week (it was waiting for the Root tag v5.23/02, in order to be synchronized with both Geant4 and Root releases).

There was a proposal made by Dmitry Naumov to improve the loading Geant4 libraries, which I still have to look at. But as Geant4 releases are not so frequent and the list of libraries does not change very much from one relase to another, the keeping the list up to date is not such a difficult task.

To use g4libs.C with Geant4 global libraries, it should be sufficient just to change comments in g4libs.C:
void g4libs() functions
{
/// Macro function for loading Geant4 granular libraries. /// Change the comment if global libraries are used.

   //g4libs_granular();
   g4libs_global();
   ...
}
however this option is not regularly tested, so let me know, if you get problems.

The fact that we expect user to build Geant4 granular libraries is said explicitly on the VMC Web page:
http://root.cern.ch/drupal/content/how-use-virtual-monte-carlo
--> Instalation

     --> Install geant4_vmc:
         --> To install Geant4 ...

Best regards,

Ivana

Kazuyoshi Furutaka wrote:

> Hi list,
> 
> Environment: root v5.23/02 + Geant4 9.2 + geant4_vmc.2.5
> on Linux (Fedora 10).
> 
> To run examples in the 'examples/E0[1236]' directories,
> I need to modify 'examples/macro/g4libs.c' like the 
> attached file.
> 
> Are there any smarter way to load these granular libraries?
> (Well, the loading order seems to be important and it may
> be a difficult task...)
> 
> By the way, in the present development release of root,
> only granular libraries of Geant4 (using libG4navigation)
> seems to be detected (is it explicitly written somewhere?);
> I'd be happy if I can use global libraries as well.
> 
> Kazuyoshi
> --
> Kazuyoshi Furutaka
> furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp
> 

-- 
==============================================================
e-mail:  Ivana.Hrivnacova_at_cern.ch
address: Institut Physique Nucleaire, 91406 Orsay, France
phone:   (33) 01 69 15 65 94
==============================================================
Received on Wed Mar 04 2009 - 10:12:01 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 04 2009 - 17:25:01 CET