Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 05, 2014
  3. Nov 15, 2013
  4. Oct 18, 2013
    • Stephen A. Wood's avatar
      Add template driven end of run reports to analyzer class · f0efa3a6
      Stephen A. Wood authored
      Inspired by ENGINE/CTP report generator
        Reports generated by
          THcAnalyzer::PrintReport(templatefilename,outputfilename)
          template is copied to output, {stuff} is replaced by the
             value of stuff.  Value can be formated with c formater, eg.
                 {stuff:%.2f}
        ThcFormula added to allow more flexibility of variables.
          Can get number of times cuts pass or are called with:
             cutname.npassed (or cutname.scaler) and cutname.ncalled
      f0efa3a6
  5. Oct 02, 2013
  6. Aug 22, 2013
  7. Jul 22, 2013
  8. Jul 08, 2013
  9. May 30, 2013
  10. Apr 30, 2013
    • Stephen A. Wood's avatar
      Implement DC Space Point finding · b519f00b
      Stephen A. Wood authored
        New class THcDC is whole set of wire chambers.
        THcDriftChamber is one chamber (6 planes)
        Implement space point finding from h_pattern_recognition up to point
           before where space point lists from the two chambers are combined.
        Includes
            FindEasySpacePoint   (h_find_easy_space_point)
            FindHardSpacePoints  (find_space_points)
            DestroyPoorSpacePoints (h_sp_destroy)
            SpacePointMultiwire  (h_sp_multiwire)
            ChooseSingleHit 	   (h_choose_single_hit)
            SelectSpacePoint	   (select_space_points)
      
      Space points are arrays of structures in the THcDriftChamber class.  Will
      probably need to take space points out class so that they can be looked at
      at the THcDC level.
      
      New code is only tested to see that it compiles and that space points
      are sometimes found.
      b519f00b
  11. Jan 21, 2013
    • Stephen A. Wood's avatar
      Drift chamber code work. Modeled on podd and h_trans_dc.f · b1b202d2
      Stephen A. Wood authored
            Start adding to the drift chamber code.   Setup a class structure
            similar to what podd uses for the VDCs.  Raw hit class renamed
            to THcRawDCHit.  Signal hits are how THcDCHit, modeled after
            podd hits.  Add THcDCWire, and classes for time to distance conversion.
            Time to distnace conversion doesn't do anything yet.
      
            Find some improved DC parameter files so that min and max TDC limits
            are good for the run we are using.
      
            THcDriftChamberPlane asks ThcDriftChamber for many parameters.
      b1b202d2
  12. Nov 05, 2012
  13. Nov 02, 2012
  14. Oct 11, 2012
  15. Jun 27, 2012
  16. Jun 10, 2012
  17. Jun 06, 2012
  18. May 09, 2012
  19. May 07, 2012
  20. May 03, 2012
  21. May 02, 2012
  22. May 01, 2012
  23. Apr 24, 2012
  24. Apr 21, 2012
  25. Apr 12, 2012
  26. Apr 11, 2012
  27. Apr 09, 2012
  28. Apr 04, 2012
  29. Mar 19, 2012
  30. Mar 16, 2012
  31. Mar 13, 2012
  32. Mar 09, 2012
  33. Feb 29, 2012
Loading