Message: How to run Geant4_VMC examples? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How to run Geant4_VMC examples? 

Forum: Documentation and Examples
Date: 27 Oct, 2017
From: Julien Bolmont <Julien Bolmont>

Hello,

I have ROOT 6.11/03 and Geant 4.10.03-patch-02 installed and working. Ive recently installed Geant4_VMC 3.4.0 and I have troubles running the examples. Compilation works fine. I guess its only a problem with input parameters which are needed when running the executables. I give some details below, but the question is : could somebody please tell me what arguments to use to run g4vmc_exampleE03 with TGeo and Geant 4 ?

From the page https://root.cern.ch/installing-and-running-examples, it seems that running simply

 E03-build/g4vmc_exampleE03

should work out of the box. It is not the case. First, it appears that the files g4config.in and g4vis.in have to be in the same directory than the executable, so in my case I had to copy them from directory E03 to E03-build (cmake should copy all necessary files, I think). Then, I got this message at the end of the execution:

 TG4GeometryManager::ConstructG4GeometryViaVGM:
 Geant4 VMC has been installed without VGM.
 Root geometry conversion is not supported.
 *** TG4Exception: Aborting execution ***

In my case, I dont want to use VGM but only TGeo. Ive tried several different arguments but Ive never got a working solution. In particular, I never see any GEANT-like display (is it normal ?). Running the macros load_g4.C and run_g4.C seems to work, but again, no display.

Thanks for the help !

Julien

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: How to run Geant4_VMC examples?   (Ivana Hrivnacova - 02 Nov, 2017)
 Add Message Add Message
to: "How to run Geant4_VMC examples?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]