Skip to content
Snippets Groups Projects
  1. Feb 19, 2018
    • Stephen A. Wood's avatar
      Put a minimum cut on reference times. · 39317b13
      Stephen A. Wood authored
         First hit above this cut is taken as the reference time.
         Cuts are per detector and read as an optional parameter in
         each detector class.  TDCs and Flash ADC times have separate cuts.
      
      Implement a second method of selecting best reference time.
        If InitHitList is passed a possitive reference time cut,
          use the first reference time above that cut.  If none of the
          hits pass the cut, then no reference time is set
        If InitHitList is passed a negative cut, the cut is taken to be
          the absolute value of the cut, but a reference time is garuanteed
          to be set as long as there is at least one reference time hit.
          If none of the reference time hits pass the cut, then the last
          hit is taken to be the reference time.  (Should be the largest.)
      
      Allow reference time cuts for all the spectrometer detector classes
        Hodoscopes, drift chambers, Aerogels, Gas Cherenkovs, Calorimeters
      39317b13
  2. Feb 15, 2018
  3. Feb 12, 2018
  4. Feb 11, 2018
    • hallc-online's avatar
      Update THcHallCSpectrometer and THcExtTarCor · f34d57d9
      hallc-online authored
      THcHallCSpectrometer
        1) Add variables fMispointing_x and fMispointing_y
          which are filled by parameters hmispointing_x, hmispointing_y
            in PARAM/HMS/GEN/hmsflags.param and pmispointing_x, pmispointing_y
            in PARAM/SHMS/GEN/shmsflags.param .
         The offsets are used in THcExtTarCor and THaReactionPoint
        2) Modify argument to method CalculateTargetQuantities to be xtar
           instead of gbeam_y .
      
      THcExtTarCor
         1) add call to get spectrometer pointing offsets
         2) The mispointing_x is added to xtar
         3) Set xtar to start as -beam_y = - vertex(1)+mispointing_x for first call to CalculateTargetQuantities
            After first call the xtar is recalculated using the returned xptar
            and a second call is done to get the target xptar,ytar,yptar and delta.
          4) Fill golden track with final xtar
      f34d57d9
  5. Feb 05, 2018
  6. Feb 04, 2018
    • hallc-online's avatar
      Modify THcExtTarCor.cxx · 0ba61e7f
      hallc-online authored
      Added call trkifo->Set since it is used in THcPrimaryKine and THcSecondaryKine
      
      Fill golden track with target quantities after correction for
        vertical target position.
      0ba61e7f
    • 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
  7. Feb 03, 2018
    • hallc-online's avatar
      Modify THcTrigDet.h · 3a794660
      hallc-online authored
      Increase default size
          static const int fMaxAdcChannels = 200;
          static const int fMaxTdcChannels = 200;
      3a794660
  8. Jan 30, 2018
  9. Jan 29, 2018
  10. Jan 27, 2018
    • hallc-online's avatar
      Modify THcScalerEvtHandler · a3f44011
      hallc-online authored
      1) add error message if Time between sucessive reads is zero.
          This should never happen.
      
      2) Add the event number of that scaler read to the Scaler root tree
         The tree variable is evNumber
      a3f44011
  11. Jan 22, 2018
  12. Jan 12, 2018
  13. Jan 09, 2018
  14. Jan 05, 2018
  15. Dec 20, 2017
  16. Dec 18, 2017
  17. Dec 14, 2017
  18. Dec 13, 2017
  19. Dec 12, 2017
  20. Dec 11, 2017
  21. Dec 09, 2017
  22. Dec 08, 2017
  23. Dec 06, 2017
  24. Dec 05, 2017
Loading