Skip to content
Snippets Groups Projects
Commit afb75f5c authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

Experimental code to get parameters from CCDB.

  CCDB must be installed and CCDB_HOME defined before compiling.
  If CCDB_HOME is not defined, hcana is compiled without CCDB support
  scons has not been updated to compile with CCDB support
  To use, instead of gHcParms->Load(filename), do
    gHcParms->OpenCCDB(runnum, ccdb_connection_string)
    gHcParms->LoadCCDBDirectory("hms","h")
    gHcParms->LoadCCDBDirectory("sos","s")
    gHcParms->LoadCCDBDirectory("gen","g")
  Parmaters will be loaded into the same internal gHcParms list as with
  ThcParmList::Load, so no changes to detector classes are needed.
  Scripts to convert existing parameters into CCDB are under development.
  Currently all ccdb constants are loaded as doubles as there is not
  a way to easily query ccdb to get the data type.
  Also strings are not loaded.
parent a6aab7fc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment