Skip to content
Snippets Groups Projects
  1. Aug 05, 2018
  2. Aug 03, 2018
  3. Aug 01, 2018
    • Stephen A. Wood's avatar
      Allow lists of run numbers and run ranges in THcParmList::Load · 803ad821
      Stephen A. Wood authored
        When Load is called with a run number, then the input file is ignored
        until a line with a list of run numbers or run number ranges is found.
        For example:
           44,50-90,113
        If the run number matches one of these run numbers or ranges,
        parameter definitions after the match are loaded.  (Until the next
        list of run numbers and ranges.)
        Before this commit, only a single run number or a single range of
        run numbers was allowed.
      803ad821
  4. May 11, 2018
  5. Jul 21, 2017
  6. Dec 15, 2016
  7. Dec 02, 2016
    • Jure Bericic's avatar
      Fatal -> runtime_error · 6067cfdb
      Jure Bericic authored
      THcParmList::LoadParmValues now throws runtime_error instead of calling Fatal,
      and with that causing core dump, when non-optional parameter is not found.
      6067cfdb
  8. May 20, 2016
  9. May 18, 2016
  10. May 12, 2016
  11. Mar 10, 2015
  12. Jan 16, 2015
  13. Jan 14, 2015
  14. Jan 08, 2015
  15. Sep 10, 2014
  16. Sep 09, 2014
  17. Apr 28, 2014
  18. 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
  19. 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
  20. Jan 17, 2014
  21. 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
  22. Oct 07, 2013
  23. Oct 02, 2013
  24. Mar 19, 2013
  25. Feb 07, 2013
  26. Dec 20, 2012
  27. Sep 07, 2012
  28. Sep 06, 2012
  29. Aug 30, 2012
  30. Aug 09, 2012
  31. Feb 29, 2012
Loading