Skip to content
Snippets Groups Projects
  1. Mar 15, 2017
  2. Mar 14, 2017
  3. Mar 13, 2017
    • Mark K Jones's avatar
      Merge pull request #167 from MarkKJones/dc · 75bfca48
      Mark K Jones authored
      Modify THcDC::CoarseTrack and THcDC::TrackFit
      75bfca48
    • hallc-online's avatar
      Modify THcDC::CoarseTrack and THcDC::TrackFit · b140267a
      hallc-online authored
      Add variables fX_fp_best,fY_fp_best,fXp_fp_best,fYp_fp_best to THcDC.h
      Modified THcDC::CoarseTrack so that the variables are filled with the
      quantities from the track with the smallest chi-squared.
      Modified THcDC::TrackFit so that the fResidual per plane is filled with
      for the track with the lowest chi-squared.
      Modified THcDC::DefineVariables so that access the variables as
      dc.x_fp,dc.y_fp,dc.xp_fp and dc.yp_fp
      b140267a
  4. Mar 08, 2017
  5. Mar 07, 2017
  6. Mar 06, 2017
  7. Mar 01, 2017
  8. Feb 27, 2017
  9. Feb 26, 2017
  10. Feb 25, 2017
  11. Feb 24, 2017
    • Jure Bericic's avatar
      Added capability to set F250 parameters from PSE125. · 7878074b
      Jure Bericic authored
      PSE125 holds information about setting of F250 modules. Now this
      information is used to set `fNPedestalSamples` and `fNPeakSamples`
      parameters of `THcRawAdcHit`.
      
      This is done through `THcHitList`, since it has information about
      which crate and module each channel is in. Currently, the information
      is set for each event, because of the hitlist and analyzer design.
      
      I added the neccessary support for these changes to all raw hit
      classes.
      7878074b
  12. Feb 23, 2017
  13. Feb 21, 2017
  14. Feb 20, 2017
    • Jure Bericic's avatar
      Refactored fScinHitPaddle handling. · 2cee44f8
      Jure Bericic authored
      fScinHitPaddle is a std::vector<std::vector<Double_t>>. It was
      cleared and rebuilt for each event with the same structure,
      instead of just zeroing out all the values.
      
      Now it is created in only one place, and than zeroed instead of
      cleared.
      
      Changed data type in fScinHitPaddle from Double_t to Int_t. Should
      be changed to bool, but then all logic should be changed.
      2cee44f8
  15. Feb 19, 2017
    • Jure Bericic's avatar
      Fixed a weird bug. · 46d8767a
      Jure Bericic authored
      There was a weird bug in the code, that only triggered for some runs.
      It turns out, in the `THcHodoscope::FineProcess` the hits in each plane
      were created only for number of paddles in first plane. SHMS, however,
      has 13 paddles in first plane and 14 and 21 paddles in last two planes.
      
      The problem is fixed now, but part of that code should be rewritten for
      efficiency.
      46d8767a
  16. Feb 15, 2017
  17. Feb 13, 2017
  18. Feb 09, 2017
  19. Feb 08, 2017
  20. Feb 07, 2017
    • Stephen A. Wood's avatar
      a7431d09
    • Jure Bericic's avatar
      Fixed "No Time to dist algorithm available" error in `THcDCHit`. · eb954578
      Jure Bericic authored
      This error is triggered when there is no wire defined for hit, or
      when the wire has no `GetTDDConv()` method. The ROOT dictionary
      calls default constructor that doesn't set the wire and calls
      `ConvertTimeToDist()` regardless.
      
      I changed the default constructor to not call the `ConvertTimeToDist()`
      if the wire is not set. I also added the call to this function
      in the `SetWire()` method.
      eb954578
    • Mark K Jones's avatar
      Merge pull request #144 from MarkKJones/cosmic · feea2153
      Mark K Jones authored
      Add fCosmicFlag to Hodoscope class
      feea2153
    • Cdaq Account's avatar
      Add fCosmicFlag to Hodoscope class · b630d415
      Cdaq Account authored
      The fCosmicFlag is used in EstimateFocalPlaneTime
      The start time for the drift chamber is determined as an average
      of the focal plane times for each hodo plane. Need to account for
      the TOF from the hodoscope to the focal plane (z=0). For cosmic
      data need to add this TOF to the corrected scintillator time, while
      usually one needs to subtract this TOF. Add a flag as parameter to
      switch between these modes.
      b630d415
  21. Feb 06, 2017
Loading