Skip to content
Snippets Groups Projects
  1. Dec 15, 2018
    • Whitney Armstrong's avatar
      Starting adding logging with spdlog · ec942943
      Whitney Armstrong authored
      - Mixins defined in Logger.h
      - Mixin used in base classes (THcDC is currently a good example)
      
      Added a few more spdlog loggers
      
      Added logging to many.
      
      - Added logging to hodoscope, aerogel hitlist and detectormap
      - Working on scandalizer features.
      
      Added logging.
      
      Added more logging.
      
      added more logging.
      
      More logging.
      ec942943
  2. Dec 11, 2018
  3. Sep 07, 2018
  4. Aug 30, 2018
    • Mark Jones's avatar
      Modify THCRaster · 03fe48f6
      Mark Jones authored
      Main change was to allow the beam X and Y positions and angle
      at the target to be read in through parameters instead of
      always using the EPICS data. This gives added flexibility.
      
      If either of the beam position parameters (gbeam_xoff or
      gbeam_yoff) are read-in as parameters, then the code uses
      the read-in parameters as the BPM position at target. If
      there are other beam position or angle parameter that are
      not read in then they are set to zero.
      
      
      1) Modify THcRaster.h
         a) Added variables for X and Y beam angles at target.
         b) Added variable fFlag_use_EPICS_bpm which is a flag
           that is determines whether the code uses the parameters
           or EPICS reads.
      
      2) Modified THcRaster.cxx
         a) set default BPM z-positions to Fall 2018 survey.
         b) Modified Process method so that the BPM position/angle variables
           that are set by parameters are no longer recalculated. Just
           use the existing variables fXbpm_tar, fYbpm_tar, fXpbpm_tar
            and fYPbpm_tar throughout the method.
      03fe48f6
    • Mark Jones's avatar
      Modify THcRaster to add variable of EPICS beam energy · c8dc9e87
      Mark Jones authored
      Add the variable ebeam_epics to the tree. This is the EPICS
      value of HALLC:p  . For now this is good for monitoring changes in the
      beam energy but needs to be check how it compares to the Hall C
      beam energy measurement.
      c8dc9e87
  5. Aug 19, 2018
    • hallc-online's avatar
      Modified THcRaster.cxx and THcRaster.h · 7837f271
      hallc-online authored
      1) Add tree variables for the three BPMs and projections to target
      in the EPICs coordinate system (+X beam right, +Y up)
      rb.raster.fr_xbpm_tar
      rb.raster.fr_ybpm_tar
      rb.raster.fr_xbpmA
      rb.raster.fr_ybpmA
      rb.raster.fr_xbpmB
      rb.raster.fr_ybpmB
      rb.raster.fr_xbpmC
      rb.raster.fr_ybpmC
      
      2) Modified code so that it only modifies the BPM variables if they
      are all !=0 ( beam on) . Otherwise it sets them to the previous EPICS
      read. This gets rid of all zero EPICS reads,except if the first EPICs
      read the beam is off.
      
      3) Removed the reading of gpbeam from the global parameter list in the Process
        method and just have it in ReadDatabase.
      
      4) Change the calculation of beam at target to use the projection of
         BPM_A and BPM_C instead of BPM_A and BPM_B.
      
      5) Remove setting the raster position to the hcana beam coordinate system
         with (+X beam left). The raster is in the EPICS coordinate system.
          This makes it easier to interpret the carbon hole runs.
      7837f271
  6. Aug 14, 2018
    • hallc-online's avatar
      Modify src/THcRaster.cxx · 43e57c65
      hallc-online authored
      Add default values for optional values of
      +   fgbpma_zpos = 370.82;
          fgbpmb_zpos = 224.96 ;// cm
          fgbpmc_zpos = 129.30 ;// cm
      
      instead of zero.
      
      Otherwise the code would get NaN for the calculated target beam position
      since it was divied by zero unless this the parameters are set.
      43e57c65
  7. Aug 10, 2018
  8. Aug 08, 2018
    • Stephen A. Wood's avatar
      Updates to doxygen documentation · 76706b74
      Stephen A. Wood authored
        Add doxygen groups "Apparatuses" and "Decoders"
        Make sure every class is in a group
        Make sure most classes have a \brief description
        Improve comments for some classes including THcHallCSpectrometer
           and hodoscope classes
        Change some Doxyfile defaults.  Include sources files.
      76706b74
  9. Feb 04, 2018
    • hallc-online's avatar
      Update THcRaster.cxx · 3c7a9103
      hallc-online authored
      When filling beam position that is used in determining the reaction
        point multiply the raster X by -1 to put in the right handed coordinate system
      
      The raster coordinate system is left-handed to match the EPICS beam
        coordinate system.
      3c7a9103
  10. Jan 09, 2018
  11. Dec 18, 2017
  12. Aug 29, 2017
  13. Jan 30, 2017
    • Jure Bericic's avatar
      Replaced `gHcParms->Find()` calls with `gHcParms->LoadParmValues()`. · ca2e9562
      Jure Bericic authored
      The calls to `Find()` need to be wrapped in checks if returned pointer is null.
      Otherwise a further call to get value produces SegFault. The `LoadParmValues()`
      does not suffer from this, since it throws error if non-optional parameter is
      not found. The error message also tells which parameter is missing.
      
      I still left three calls to `Find()` in `THcAnalyzer.cxx`. They are wrapped in
      checks and some other things...
      ca2e9562
  14. Dec 15, 2016
  15. Nov 23, 2016
  16. Nov 15, 2016
  17. May 18, 2016
  18. Jan 08, 2015
  19. May 05, 2014
  20. Apr 24, 2014
    • Mark Jones's avatar
      Add getting beam energy from gpbeam parameter · 9f076db7
      Mark Jones authored
      Read gpbeam in THcRaster::ReadDatabase
      Add jan05.kinematics
      Modified DBASE/raster_test.database to fill g_ctp_kinematics_filename
      with DBASE/jan05.kinematics
      Modified raster_test.C to load g_ctp_kinematics_filename
      9f076db7
  21. Apr 01, 2014
  22. Mar 31, 2014
  23. Mar 05, 2014
    • 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
  24. Mar 04, 2014
Loading