Functions
EnvironmentVariable Namespace Reference

Access required environmental variables in one place. More...

Functions

const char * ICEMC_SRC_DIR ()
 
const char * ICEMC_VERSION (TString outputdir)
 

Detailed Description

Access required environmental variables in one place.

Little namespace to provide sanitized access to any environmental variables that are necessary to run icemc

Function Documentation

const char * EnvironmentVariable::ICEMC_SRC_DIR ( )

Get the source directory of icemc. Will cause the program to terminte if ICEMC_SRC_DIR is not defined.

Returns
the value of the environment variable (e.g. ~/ANITA/anitaBuildTool/components/icemc)

Definition at line 56 of file EnvironmentVariable.cc.