Setup environment Variables to access a Conditions


[ BaBar-Conditions  |   Intro  |   Snapshots  |   Setup Env/Using  |   Datasets  |   Access (BFROOT)  |   Tools  |   Import ]

Setup your Environment Variables

CfgDB

In order to use ROOT based configurations set the environment variable:
export CFG_DEFAULT_IMPL=ROOT     (sh like shells)
setenv CFG_DEFAULT_IMPL ROOT     (csh like shells)

CDB

To use the ROOT based conditions (CDB) the following environment variable has to be set (sh like shells):
export CDB_ROO_BOOT=kanga::<genericBootfile>
(export CDB_ROO_BOOT=kanga::/cond18boot/betamini/cdb_boot.root)
or
export CDB_ROO_BOOT=<physicalBootfile>
(export CDB_ROO_BOOT=/nfs/babar/cond/cond18boot/betamini/CDB-20060419T091147-cdb_boot.root)
The first method (kanga::) is using the CDB name translation rules. These rules are used to resolve the generic bootfile name into a logical boot file name. For the second case the CDB_ROO_BOOT variable points to a physical file and the name rules (and KanAccess.cfg) are not used.

Executables

The standard BaBar Applications (BetaMiniApp, SkimMiniApp) in release 18 a,d 20 are not yet able to read the ROOT based conditions. In stead the equivalent ROO named applications, SkimMiniRooApp or BetaMiniRooApp, have to be used.


Last modified: Thu Sep 21 09:36:46 PDT 2006