Detector geometry in FairRoot can be defined via:
by default the geometry and media files are searched for in the $VMCWORKDIR/geometry directory, however one can define the variable GEOMPATH, which will force the framework to look for the geometry file specified in the macro first in this dir and then in the default geometry directory.
The filenames for the geometry definition and the media definition must have the suffix .geo and must contain a special keyword for every set: