Skip to content
Snippets Groups Projects
  1. Apr 28, 2014
  2. Apr 25, 2014
  3. Apr 24, 2014
  4. 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
  5. 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
  6. Apr 14, 2014
  7. Apr 11, 2014
  8. Apr 03, 2014
  9. Apr 01, 2014
  10. Mar 31, 2014
  11. Mar 05, 2014
    • Stephen A. Wood's avatar
      Add Raster classes to scons build · 8304c8de
      Stephen A. Wood authored
      8304c8de
    • Buddhini Waidyawansa's avatar
      THcRaster minor changse, files prefixed with raster_ for testing. · 49064b4b
      Buddhini Waidyawansa authored
        Files with the prefix raster_ are coppies of original *.database,
        and *.param files which now includes changes nessacery for
        decoding raster data. I created seperate files for these because I
        need to merge this code upstream before I can compare the raster
        decoding results with that of the analyzer. For e.g. the map files are
        different from the original map files. So Steve needs to create a perl
        script that can propgate these changes in the map files to the map
        file of the analyzer inorder for me to do the analyzer hcana
        comparision. Once the comparision is done and we are satisifies with
        the results, we will merge the changes with the original files and
        remove the files with the prefix raster_*.
      
        gbeam.param now included by general.param.  No need to load
        a separate parameter set to test raster/BPM code.
      
        examples/MAPS/raster_jun04.map adds new detector IDs for the raster
        and BPMs as follows:
      
      Add the following IDs to the misc elements,
      BEAM
       RASTER_ID= 18          ADC
       BPM_ID= 19             ADC
      
      In the channel section did the following modification:
       sub , plane, counter, sig
        14, 1, 13, 1 !ADC ROC#1 Sl#15 Ch#14 Fast Raster X-sync
        15, 1, 14, 2 !ADC ROC#1 Sl#15 Ch#15 Fast Raster X-signal
        12, 1, 15, 3 !ADC ROC#1 Sl#15 Ch#12 Fast Raster Y-sync
        13, 1, 16, 4 !ADC ROC#1 Sl#15 Ch#13 Fast Raster Y-signal
      49064b4b
    • Buddhini Waidyawansa's avatar
      Add THcRasterRawHit, THcRasterBeam classes. Add raster_test.C script. · bd295b0b
      Buddhini Waidyawansa authored
        THcRasterRawHit class to helps with the decoding of the raster
           signals via THcHitList class.
        THcRasteredBeam class derives from THaApparatus to handle rastered beam.
        Modify Makefile and HallC_LinkDef.h to compile new classes
      bd295b0b
  12. Mar 04, 2014
  13. Feb 27, 2014
    • Mark Jones's avatar
      Updated drift chamber debug messages · 30ccc1ce
      Mark Jones authored
      add flags debugflagpr and debugflagstubs
      add method THcDC::PrintStubs
      modify THcDC::PrintSpacePoints
      Set THcDC::LinkStubs() to only set fNDCTracks=0 and retrun when
        fNDCTracks>10 for HMS style chambers to match engine.
      30ccc1ce
  14. Feb 26, 2014
  15. Feb 19, 2014
  16. Feb 18, 2014
  17. Feb 05, 2014
  18. Feb 02, 2014
  19. Jan 30, 2014
    • Zafar's avatar
      ThcCherenkov class. · 83a1ab25
      Zafar authored
      Class for an Cherenkov detector consisting of two PMT's.
      Fourth pull request. January 30 2014.
      No need to cahnge the Map file.
      New parameter hcer_tot_pmts = 2 is added to the hcana.param file
      This code is for the coarse process of THcCherenkov class.
      Names of all the variables are in lower case.
      
      Variable Name   Description
      phototubes      Nuber of Cherenkov photo tubes
      adc             Raw ADC values
      adc_p           Pedestal Subtracted ADC values
      npe             Number of Photo electrons
      npesum          Sum of Number of Photo electrons
      ncherhit        Number of Hits(Cherenkov)
      83a1ab25
    • Zafar's avatar
      Remove some old commented out code. · 02011251
      Zafar authored
      02011251
Loading