Skip to content
Snippets Groups Projects
  1. Apr 21, 2014
    • Stephen A. Wood's avatar
      Experimental CCDB support improvements. · 47ef7bca
      Stephen A. Wood authored
        Title now copied to THcParmList variable
        String variables copied.  (Only first element of string array copied)
        Parameter created as int or double depending on CCDB table type
        Multiple column tables ignored.
      47ef7bca
  2. Apr 18, 2014
    • Stephen A. Wood's avatar
      Experimental code to get parameters from CCDB. · afb75f5c
      Stephen A. Wood authored
        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.
      afb75f5c
  3. Jan 17, 2014
  4. Nov 15, 2013
    • Edward Brash's avatar
      Address some minor issues reported by cppcheck · bd50814c
      Edward Brash authored
      These were related to a) scope of some variable declarations, and b) use
      of pre-increment vs. post-increment of non-primitive types (this has a
      slight performance hit due to the way that pre- vs. post-increment
      operators are overloaded in C++.
      
      Also cleaned up a few places where initialized variables were not being
      used.
      bd50814c
  5. Oct 07, 2013
  6. Oct 02, 2013
  7. Mar 19, 2013
  8. Feb 07, 2013
  9. Dec 20, 2012
  10. Sep 07, 2012
  11. Sep 06, 2012
  12. Aug 30, 2012
  13. Aug 09, 2012
  14. Feb 29, 2012
Loading