Root based Conditions and Configurations


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

CdbRooBootMgr List the content of a CDB bootfile
KanFileCheck Check if a file is accessible
KanImportCdbCfgDB Import snapshot to a local site not using a local db
KanInitRulesFiles Create new default rule files
KanUpdateRulesCDB Update rules for a CDB snapshot
KanUpdateRulesCfgDB Update rules for a CfgDB snapshot

This page describes some useful tools to use with the ROOT based conditions and configurations databases. As in the nature of docuemtation the inforamtion here might be a little bit out of date, therefore you might also want to check the help that each of these tools provides.


CdbRooBootMgr

CdbRooBootMgr is used to read inforamtion from a CDB boot file and to update the boot file.

Read the contents of a CDB bootfile

  CdbRooBootMgr dump kanga::/cond18boot/betamini/cdb_boot.root     (generic name, use neame rules) 
CdbRooBootMgr dump kanga::/store/cdb/cond18boot/betamini/2006/04/20060419T091147/CDB-20060419T091147-cdb_boot.root     (lfn, use neame rules)
CdbRooBootMgr dump root://xrootdServer[:port]/store/cdb/cond18boot/betamini/2006/04/20060419T091147/CDB-20060419T091147-cdb_boot.root     (xrootd name)
CdbRooBootMgr dump /localDir/store/cdb/cond18boot/betamini/2006/04/20060419T091147/CDB-20060419T091147-cdb_boot.root     (local file name)

KanFileCheck

Check if a CDB or CfgDB root file exists.

   KanFileCheck -r /afs/slac.stanford.edu/g/babar/kanga/config/cdb/CdbNameRules.cfg \
      /store/cdb/cond18boot/betamini/2006/04/20060419T091147/CDB-20060419T091147-cdb_boot.root

Last modified: Mon Jul 31 09:39:14 PDT 2006