Skip to content
Snippets Groups Projects
  1. Feb 20, 2018
    • hallc-online's avatar
      Add new Track Efficiency Test to THcHodoscope · 2057c6e3
      hallc-online authored
      Moved the old track efficiency tests to OriginalTrackEffTest method and
      this is presently commented out. Eventually can be eliminated.
      
      The old track efficiency assumed that both planes had matching
        paddlle spacing which is not true for SHMS.
      
      Added new method TrackEffTest which calculates the number of clusters
        in each plane and the position for the cluster for scintillator
        paddle that had good times in both ends. Selects events with
        one cluster with size of 1 or 2 in either 4 of 4 planes
        or 3 of 4 planes. Also checks that the events are inside
        a given range of scintillator paddles.
      2057c6e3
  2. Feb 19, 2018
  3. Feb 15, 2018
  4. Feb 12, 2018
  5. 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
  6. Feb 05, 2018
  7. 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
  8. 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
  9. Jan 30, 2018
  10. Jan 29, 2018
  11. 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
  12. Jan 22, 2018
  13. Jan 12, 2018
  14. Jan 09, 2018
  15. Jan 05, 2018
  16. Dec 20, 2017
  17. Dec 18, 2017
  18. Dec 14, 2017
  19. Dec 13, 2017
  20. Dec 12, 2017
  21. Dec 11, 2017
  22. Dec 09, 2017
  23. Dec 08, 2017
  24. Dec 06, 2017
    • hallc-online's avatar
      Update THcHallCSpectrometer · c5f5526e
      hallc-online authored
      Add in offsets for xptar, yptar and delta
      
      Add in delta correction as function of xpfp and central
        momentum for HMS. This corrects for a problem in setting Q3 current.
        There was an unknown zero offset in the Q3 current.
        This was determined by T. Horn in 2003.
      c5f5526e
    • Stephen A. Wood's avatar
      Suppress missing ref time messages for THcTrigDet when not expected. · 2a597ecc
      Stephen A. Wood authored
        To do this suppression, a trigger detector object needs to know the
        name of spectrometer it is associated with.  By default it will get
        this name from the first character of the it's own name.  This can
        be overridden with the SetSpectName method.
      2a597ecc
Loading