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. Nov 20, 2018
    • Mark Jones's avatar
      Modify THcAerogel.cxx · 75125f22
      Mark Jones authored
      Modify THcAerogel::CoarseProcess
      
      
      
      For each PMT, fGoodPosAdcMult.at(npmt) was being set to the total number of positive PMTs with an
      adc hit and fGoodNegAdcMult.at(npmt) was being set to the total number of negative PMTs with an
      adc hit.
      
      To be like the other dectectors make fGoodPosAdcMult.at(npmt)
      and  GoodNegAdcMult.at(npmt) be the number of adc hits for that particular
      PMT.
      75125f22
  4. Aug 15, 2018
  5. Apr 12, 2018
    • Vardan Tadevosyan's avatar
      Update THcAerogel · 1da78c61
      Vardan Tadevosyan authored
      Add time windows for pos and neg ADC selection.
      
      Added fGoodPosAdcMult and fGoodNegAdcMult variables
      
      Remove cuts for  calculation of fXAtAero and fYAtAero
      1da78c61
  6. Feb 19, 2018
    • Stephen A. Wood's avatar
      Create parameters to hold missing reference time counts. · 14523959
      Stephen A. Wood authored
        So that the counts can be reported in report files.
      14523959
    • 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
  7. Feb 15, 2018
  8. Dec 09, 2017
  9. Dec 06, 2017
    • Stephen A. Wood's avatar
      Suppress missing ref time messages when ref time not expected · e2c0eb6f
      Stephen A. Wood authored
        Each detector object will check the global variable X.present each
        event.  If X.present is false, it indicates that the parent
        spectrometer object determineted that this spectrometer is not in
        this event, and therefor reference times are not expected.  If
        X.present is false, then the reference time warning messages will
        be suppressed.
      e2c0eb6f
  10. Nov 30, 2017
    • Mark Jones's avatar
      Additional changes for adc reftime · de787b3e
      Mark Jones authored
      Modified so that the fGoodPosAdcPulseTime, fGoodNegAdcPulseTime
        or fGoodAdcPulseTime is set to kBig
      
      Modified THcShowerRawHit::SetReference to takeADC signals
      
      Modified THcTrigRawHit::SetReference to take ADC signals
      
      Modified THcShowerArray::ProcessHits so that fAdcTdcOffset add to frAdcPulseTime
      
      Modified THcShowerArray::ReadDatabase so that defaults for fAdcThreshold etc
        are before gHcParms->LoadParmValues
      de787b3e
    • Stephen A. Wood's avatar
  11. Nov 21, 2017
  12. Oct 31, 2017
  13. Oct 27, 2017
    • Eric Pooser's avatar
      Work for fadc unit conversion · 2249979b
      Eric Pooser authored
      Include methods for FADC conversions and apply to non-raw data objects in THcRawAdcHit
      
      Add raw pulse time data object to Cherenkov detector classes
      
      Add raw pulse time data object to shower detector classes
      
      Add raw pulse time data object to hodoscope detector class
      2249979b
  14. Aug 01, 2017
  15. Jul 28, 2017
  16. Jul 21, 2017
  17. Jul 13, 2017
  18. Apr 06, 2017
  19. Apr 04, 2017
    • hallc-online's avatar
      Fix problem in THcAerogel::CoarseProcess with fNpeSum · f64afe8c
      hallc-online authored
      The line fNpeSum += fNegNpeSum
      was basically double counting the fNegNpeSum
      Same for fNpeSum += fPosNpeSum
      since they were in a loop over Neg and Pos hits.
      
      Just set
      fNpeSum = fNegNpeSum + fPosNpeSum
      after the two loops over Neg and Pos hits
      f64afe8c
  20. Apr 03, 2017
  21. Mar 31, 2017
    • Eric Pooser's avatar
      Complete rewrite of Aerogel and Cerenkov detector classes · e0d9b2a9
      Eric Pooser authored
      New parameters are added.  hallc_replay of 3/31/2017 or later is needed.
      
      As of now, the size of the TClonesArray objects are hard-coded in the
      respective header files. This is not okay in the long run. Ideally,
      the size of the TClonesArrays should be defined by the parameter which
      dictates how many readout detectors exist for the respective
      detector. I tried doing this in the Init method however, podd
      complained regarding the size of the TClonesArrays in the DEF-file
      histograms. I was unsuccessful in my first attempt. This should be
      addressed in the future even though things work for now.
      e0d9b2a9
  22. Mar 15, 2017
  23. Jan 19, 2017
  24. Jan 13, 2017
  25. Jan 12, 2017
  26. Dec 15, 2016
  27. Nov 23, 2016
  28. Nov 15, 2016
  29. Oct 07, 2016
    • Stephen A. Wood's avatar
      Update Aerogel class to work with multihit tdcs. · 6b1dc0ab
      Stephen A. Wood authored
        Add a new parameter Xaero_tdc_offset to make sure valid tdc
        hits from a reference time corrected tdc are positive.
        Accept first first positve tdc hit after applying offset.
        Move array filling in CoarseProcess into Decode
      6b1dc0ab
  30. Sep 28, 2016
  31. May 18, 2016
  32. May 12, 2016
  33. Mar 10, 2015
  34. Jan 16, 2015
  35. Jan 14, 2015
  36. Jan 08, 2015
  37. Sep 04, 2014
Loading