[Halld-offline] New release: CCDB 0.05
Mark M. Ito
marki at jlab.org
Mon Nov 12 13:45:30 EST 2012
ccdb_0.05 is now ready for use.
The Subversion URL of this release is
https://phys12svn.jlab.org/repos/tags/ccdb_0.05 . There are instructions
for building it in the top-level directory. See the files
install.linux.txt or install.windows.txt.
At JLab, the release has already been built for CentOS5 and CentOS6.
RHEL6 is not there yet, but is coming soon. There is a script to set-up
the correct environment for C-shell:
source /group/halld/Software/scripts/build_scripts/ccdb_env_jlab.csh
and for Bourne shell:
. /group/halld/Software/scripts/build_scripts/ccdb_env_jlab.sh
Note that the database on the MySQL server at JLab is simply a copy of
the latest "calib" files from the Hall D Subversion repository.
Currently this database gets deleted and re-made nightly.
Server-less use is possible using the SQLite dumps at
/group/halld/Software/calib/ccdb_sqlite/
Find attached a sample session using the ccdb shell program on
ifarm1101.jlab.org.
-- Dmitry and Mark
--
Mark M. Ito
Jefferson Lab
marki at jlab.org
(757)269-5295
-------------- next part --------------
ifarm1101:marki:1001> source /group/halld/Software/scripts/build_scripts/ccdb_env_jlab.csh
ifarm1101:marki:1002> ccdb -i
+--------------------------+
CCDB shell v.0.5
HallD JLab
+--------------------------+
Interactive mode
print help to get help
print quit or q to exit
print !<command> to execute shell command
You login as: 'anonymous'
/> ls
test
BCAL
FCAL
TOF
CDC
/> cd BCAL
/BCAL> ls
bcal_parms
cluster_merging
/BCAL> cat bcal_parms
+---------------------------------------------------------+
| BCAL_DARKRATE_GHZ (double)| 0.0176 |
| BCAL_SIGMA_SIG_RELATIVE (double)| 0.105 |
| BCAL_SIGMA_PED_RELATIVE (double)| 0.139 |
| BCAL_SIPM_GAIN_VARIATION (double)| 0.04 |
| BCAL_XTALK_FRACT (double)| 0.10 |
| BCAL_INTWINDOW_NS (double)| 100. |
| BCAL_DEVICEPDE (double)| 0.21 |
| BCAL_SAMPLING_FRACT (double)| 0.095 |
| BCAL_AVG_DARK_DIGI_VALS_PER_EVENT (double)| 240 |
| BCAL_PHOTONSPERSIDEPERMEV_INFIBER (double)| 75 |
| BCAL_SAMPLINGCOEFA (double)| 0.042 |
| BCAL_SAMPLINGCOEFB (double)| 0.013 |
| BCAL_TIMEDIFFCOEFA (double)| 0.098994949 |
| BCAL_TIMEDIFFCOEFB (double)| 0 |
| BCAL_THRESH_MEV (double)| 1. |
| BCAL_TWO_HIT_RESOL (double)| 50. |
| BCAL_MAX_HITS (double)| 100 |
+---------------------------------------------------------+
/BCAL> quit
ifarm1101:marki:1003>
More information about the Halld-offline
mailing list