Skip to content
Snippets Groups Projects
  1. Mar 23, 2017
    • Mark K Jones's avatar
      Merge pull request #173 from MarkKJones/rawadc · 9c6fb3be
      Mark K Jones authored
      Add method to THcRawAdcHit
      9c6fb3be
    • hallc-online's avatar
      Add method to THcRawAdcHit · ea2682a3
      hallc-online authored
      Add method
      GetF250_PeakPedestalRatio() {return fPeakPedestalRatio;};
      
      so that a detector class can calculate the pedestal that was used
      in determining the pedestal subtracted FADC Pulse Integral.
      
      This is useful if the detector class wants to set a threshold
      above the pedestal.
      ea2682a3
    • Mark K Jones's avatar
      Merge pull request #172 from MarkKJones/spec · a6cd0389
      Mark K Jones authored
      Modified THcHallCSpectrometer.cxx and THcHodoscope.cxx
      a6cd0389
    • hallc-online's avatar
      Modified THcHallCSpectrometer.cxx and THcHodoscope.cxx · 84bd549e
      hallc-online authored
      The change was made so that NonTrackingDetector could have information
      on the "best" track in their FineProcess method.
      
      In THcHallCSpectrometer::FindVertices the "best" track will be selected
      and the Track object will its SetIndex method to set the index to 0 for
      the best track. The other track will have index=1 or greater.
      
      In the NonTrackingDetector FineProcess, the track that is selected to
      be the "best" can be found by looping through the tracks checking
      track index using Track.GetIndex() for find the track with Index=0.
      
      In  the NonTrackingDetector's CoarseProcess they need to set quantities
      for the Track object needed for selection of "best" track for the
      "prune" and "usingscin" track selection methods.
      
      1) In THcHallCSpectrometer:
        a) Moved selection methods of "best" track from TrackCalc to FindVertices.
        b) Removed setting of Golden Track in the selection methods.
        c) Add setting of Track Index=0 for "best" track in each selection method.
        d) Modified TrackCalc method to loop through Track object and find
           the track with Index=0 and set the Golden Track equal to this Track.
      
      2) In THcHodoscope.cxx
        a) Moved all calculations in FineProcess into CoarseProcess
        b) CoarseProcess calculates the scintillator Beta for each Track
           and does Track->SetBeta.
        c) In determination "zcor" for corrected hits times
            use fBetaNominal instead fBetap from track. Still use Track
            to get distance.
        c) Eliminate fBetap variable which was using the Track momentum
        d) Add variable fBeta which is just from scintillator times.
        e) In FineProcess fill fBeta with the the beta associated
           with the "best" track determined by selecting Track with index=0
      84bd549e
  2. Mar 16, 2017
  3. Mar 15, 2017
  4. Mar 14, 2017
  5. 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
  6. Mar 08, 2017
  7. Mar 07, 2017
  8. Mar 06, 2017
  9. Mar 01, 2017
  10. Feb 27, 2017
  11. Feb 26, 2017
  12. Feb 25, 2017
  13. 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
  14. Feb 23, 2017
  15. Feb 21, 2017
  16. 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
  17. 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
  18. Feb 15, 2017
  19. Feb 13, 2017
  20. Feb 09, 2017
  21. Feb 08, 2017
Loading