|Message: How to run Geant4_VMC examples?||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I have ROOT 6.11/03 and Geant 4.10.03-patch-02 installed and working. I’ve recently installed Geant4_VMC 3.4.0 and I have troubles running the examples. Compilation works fine. I guess it’s 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
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 don’t want to use VGM but only TGeo. I’ve tried several different arguments but I’ve 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 !
|Inline Depth:||Outline Depth:||Add message:|