Re: [VMC] VMC+geant4

From: Ivana Hrivnacova (Ivana.Hrivnacova@cern.ch)
Date: Wed Apr 21 2004 - 17:44:04 MEST


 Hi Paolo,

 In difference from Geant3 VMC + TGeo,
 in Geant4 VMC, the Root geometry is not used directly
 from Geant4, but it is converted to Geant4 "native"
 geometry using roottog4 convertor.
 It means that Root geometry is taken as input,
 and it is the standard Geant4 navigator which is
 used during tracking and not TGeo. 

 For visualization, it means that you can use
 both Root and Geant4 for viewing geometry
 (as both geometries exist in parallel)
 but only Geant4 visualization for viewing tracks. 
 
 The warning that you are getting for VRML driver
 is because the VRML driver is not within officially
 supported drivers by Geant4 VMC - OGLIX, OGLSX, OGLSXm. 
 (See "Note about G4 environment" in geant4_vmc/README).
 In order to use other visualisation driver 
 you need to change geant4_vmc Makefile as explained
 in the README file.

 Best regards,

 Ivana Hrivnacova
 
==============================================================
e-mail:  Ivana.Hrivnacova@cern.ch
address: Institut Physique Nucleaire, 91406 Orsay, France
phone:   (33) 01 69 15 65 94
==============================================================


On Wed, 21 Apr 2004, paolo maestro wrote:

> Hi Ivana,
> I have recompiled the G4 dynamic libraries and now
> the example03 is working . Probably last time I forgot to set some
> enviroment variable
> when I built them.
> Anyhow, I have one more question to ask
> When I run the ex03 with
>      > root run_g4.C
>      I got the warning message I put in attachment concerning the G4
> visualization
>      libraries. Is it what you expect ? I mean , since VMC is using the
> TGeoManager classes
>      to track particles and also for visualization (if I'm not mistaken),
>      how the G4 visualization libraries are handled ?
>      In fact I built the G4 VRML  drivers and set the G4_VIS_VRML
> environment variable
>      but it seems that has no effect.
> 
> Thanks
> Best regards
>                 Paolo
> 
> 
> 
> 
> Ivana Hrivnacova wrote:
> 
> >  Hi Paolo,
> >
> >  Change in geant4_vmc/examples/macro/g4libs.C
> >  the order of the libraries G4cuts and G4transportation
> >  to:
> >   gSystem->Load("libG4cuts");
> >   gSystem->Load("libG4transportation");
> >
> >  Let me know, if it helps.
> >  What is your platform & compiler version?
> >  (I don't get your error on my system.)
> >
> >  Best regards,
> >
> >  Ivana
> >
> > ==============================================================
> > e-mail:  Ivana.Hrivnacova@cern.ch
> > address: Institut Physique Nucleaire, 91406 Orsay, France
> > phone:   (33) 01 69 15 65 94
> > ==============================================================
> >
> > On Wed, 14 Apr 2004, paolo maestro wrote:
> >
> > > Hi ,
> > > I installed geant4.6.0 and geant4_vmc1.2.
> > > When I try to run the example03 ,
> > > I got the following error
> > >
> > > /geant4.6.0.p01/lib/tgt_Linux/libG4transportation.so: undefined symbol
> > > GetProductionCutsTable__21G4ProductionCutsTable
> > >
> > > failed to load dynamic link library libG4transportation.so ...
> > >
> > >
> > > Can you tell me where is the error?
> > > Thanks
> > >             Paolo
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > --
> 
> --
> Paolo Maestro
> Universita' di Siena-INFN
> Phone ++39-050-2214349
>       ++39-050-2214356
> Fax   ++39-050-2214317
> 
> 
> 
> 
> 

-- 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 11:25:00 MET