GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Configuration files outside gconfig directory
Configuration files outside gconfig directory [message #7532] Thu, 13 November 2008 15:27 Go to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *

after a discussion with CBM people, I modify the framework to check for the environmental variable CONFIG_DIR, if this is defined (i.e export CONFIG_DIR=/yourpath) the framework will look for the configuration files (g3Config, g4Config, etc..) in this directory if not found the default one will be used and this is done for the single files, i.e. you can define your CONFIG_DIR to a directory which only contains the g3Config.C, then this file is taken from there and all other files (g3Libs, etc) will be taken from the default one.

This is true for all configuration files and decay configuration files, except for the SetCuts.C because it is called from the g3Config.C (and/or g4Config.C , flConfig.C) So in case you use your own directory for the gXConfig files you have to call the SetCuts.C yourself.

At the moment these changes are in fairbase/base/trunk, so to test this please go to your $VMCWORKDIR/base and call:

svn switch .

then recompile.

As soon as many people test this I will move it to the release branch in fairbase
P.S: In case you do not define this CONFIG_DIR or the files are not there everything works as before!


Read Message
Read Message
Read Message
Previous Topic: New Solenoid geometry
Next Topic: QA macros
Goto Forum:

Current Time: Sun Jul 14 22:24:55 CEST 2024

Total time taken to generate the page: 0.00907 seconds