MIDAS Environment variables
MIDAS uses a several environment variables to facilitate the startup of the different applications. Only MIDASSYS is required.
This environmental variable is required. It should point to the main path of the installed MIDAS package,e.g.
- setenv MIDASSYS $HOME/packages/midas
- export MIDASSYS=$HOME/packages/midas
The application odbedit will generate a warning message unless this variable is defined.
This variable specifies the location of the optional exptab file containing the predefined MIDAS experiments, e.g.
- setenv MIDAS_EXPTAB $HOME/online/exptab
- export MIDAS_EXPTAB = $HOME/online/exptab
If MIDAS_EXPTAB is not defined, the default location will be used (i.e. for OS_UNIX: /etc, / and for OS_WINNT: \system32, \system ).
This variable predefines the name of the host on which the MIDAS experiment shared memories are residing. It is needed when a connection to a remote experiment is requested. It obviates the need to add the
- "-h <hostname>"
Where there are multiple experiments available on the host, this variable predefines the name of the experiment to which the user wishes to connect. It prevents the requested application from asking for the experiment name. Defining MIDAS_EXPT_NAME makes adding the
- "-e <exptname>"
argument to the application command unnecessary (see Common Parameters to MIDAS Utilities). MIDAS_EXPT_NAME will be superseded by MIDAS_DIR if defined. This variable is valid for Unix as well as Windows OS.
This variable predefines the LOCAL directory path where the shared memories for the experiment are located. Defining this variable results in a single experiment called "Default". Since a given directory path can only refer to a single experiment, MIDAS_DIR supersedes the hostname and exptname parameters as well as the MIDAS_SERVER_HOST and MIDAS_EXPT_NAME environment variables.
- If you wish to use the exptab file to define multiple experiments on a single host, do not define MIDAS_DIR.
This variable must point to the ROOT package if generating a complete MIDAS/ROOT analyzer application. If not using ROOT, ROOTSYS should be undefined.
In case of HBOOK/PAW analyzer application, this variable should be pointing to a valid cernpacklib.a library. See HAVE_HBOOK.
This variable predefines the index assigned to the equipment using the event builder option. Useful if the frontend applications are started from different hosts. Refer to Principle of the Event Builder and related frontend fragment for more information.
This variable is used for the old mchart utility.