Supported platforms
Dependencies
Content
Release notes
Cern installation
Some tips on how to use Objectivity/DB
Setting up the environment
To convert HBOOK files to Objectivity/DB
Examples
Distribution kit
/afs/cern.ch/sw/lhcxx
share
HTL
1.1.1.1
HepODBMS
0.3.1.4
Gemini
1.0.1.0
HepFitting
1.0.1.0
CLHEP
1.5
LHCXX
2.0.1
specific
redhat61
HTL
1.1.1.1
HepODBMS
0.3.1.4
Gemini
1.0.1.0
HepFitting
1.0.1.0
CLHEP
1.5
2.0.1
bin
lib
include
etc
The directory /afs/cern.ch/sw/lhcxx/share/LHCXX/2.0.1/install contains
two scripts which will set up the environment so that the following LHC++
environment variables are defined:
# At Cern LHCXXTOP=/afs/cern.ch/sw/lhcxx
export LHCXXTOP=<where LHC++ is installed>
# Source the startup script. If using versions other than 2.0.1
# just substitute it with the new version.
. $LHCXXTOP/share/LHCXX/2.0.1/install/sharedstart.sh
Please do not define PLATF as the AFS variable @sys, since such variable can be ambigous.
# At Cern LHCXXTOP=/afs/cern.ch/sw/lhcxx
setenv LHCXXTOP <where LHC++ is installed>
# Source the startup script. If using versions other than 2.0.1
# just substitute it with the new version.
source $LHCXXTOP/share/LHCXX/2.0.1/install/sharedstart.sh
Please do not define PLATF as the AFS variable @sys, since such variable can be ambigous.
When you log on you must check whether the lock server is running. You
can do that with the command: oolockmon. If it is NOT
running, you may start it with the command: oolockserver -noauto.
If it is running and you want to kill it you issue the command ookillls
.
To install your own user federated database you can do the following (Bourne flavour shells):
export MY_FDID=<a valid number in the range allocated to you>
export OO_FD_BOOT=<name of your choice; preferably full path>
$HEP_ODBMS_DIR/etc/getdb $LHCXXTOP/share/HTL/1.1.1.1/schema/HISTO
$OO_FD_BOOT $MY_FDID
For csh flavour shells:
setenv MY_FDID <a valid number in the range allocated to you>
setenv OO_FD_BOOT <name of your choice; preferably full path>
$HEP_ODBMS_DIR/etc/getdb $LHCXXTOP/share/HTL/1.1.1.1/schema/HISTO
$OO_FD_BOOT $MY_FDID
To delete your own user federated database :
oodeletefd $OO_FD_BOOT
To delete a database in your federation:
oodeletedb -db <dbname>
In case of machine/network crashes you may need to run oocleanup.
You may use ootoolmgr to browse the federation and
the databases inside it.
You may use the -help option with any Objectivity oo-
command (see complete list).
Extensive documentation (pointers to Technical Overview, Quick Start
guide, C++ User Guide etc) is available from the
Objectivity/DB
page .
$LHCXXTOP/specific/$PLATF/HTL/1.1.1.1/bin/Hbook2Objy <HBOOK_filename>
Hbook2Objy converts histograms contained in an HBOOK file into persistent HTL histograms that can be saved in an Objectivity/DB database. Only one- and two-dimensional histograms are converted, Ntuples are ignored. The database name is that of the original HBOOK file. The Objectivity/DB database pointed at by the environment variable OO_FD_BOOT is taken.
e.g.
export MY_FDID=2060
export OO_FD_BOOT=/afs/cern.ch/user/a/atllhcxx/public/xkalman/db/TRT
$HEP_ODBMS_DIR/etc/getdb $LHCXXTOP/share/HTL/1.1.1.1/schema/HISTO
$OO_FD_BOOT $MY_FDID
$LHCXXTOP/specific/$PLATF/HTL/1.1.1.1/bin/Hbook2Objy trtrun2128.hbook
$LHCXXTOP/share/LHCXX/2.0.1/doc
The bundle contains documentation for the following packages:
$LHCXXTOP/export/<OS>/2.0.1 (full release)
$LHCXXTOP/export/<OS>/HEP2.0.1 (HEP components)