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. Sep 19, 2018
    • Whitney Armstrong's avatar
      Added new shower detector · 5e3794bb
      Whitney Armstrong authored
      	new file:   Shower2.cxx
      	new file:   Shower2.h
      	modified:   THcCherenkov.cxx
      	modified:   THcCherenkov.h
      	modified:   THcShowerArray.h
      	modified:   include/HallC_LinkDef.h
      5e3794bb
  4. Jun 28, 2018
  5. Apr 12, 2018
  6. Mar 06, 2018
    • hallc-online's avatar
      Updated THcCherenkov.cxx and h · 13c30107
      hallc-online authored
      Add new ntuple variables
      goodAdcMult == the number of hits in raw ADc for that channel
      goodAdcHitUsed == which hit number of the raw ADC hits passed the
                            the ADC time window cut
      
      Modified fAdcTimeWindowMin  and fAdcTimeWindowMax to be arrays
        that are the size of the number of Cerenkov pmts.
      13c30107
  7. 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
  8. Feb 15, 2018
  9. Dec 09, 2017
  10. 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
  11. Dec 02, 2017
    • Mark Jones's avatar
      Fix bug in THcCherenkov::ReadDatabase · 0734d328
      Mark Jones authored
      Moved filling of  fNRegions from parameter to before the fRegionValue array
      is defined. The code had been using default fNRegions=4 regardless
      of vaule  of  h_num_regions in parameter file.
      0734d328
  12. 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
  13. Nov 21, 2017
  14. Oct 31, 2017
  15. 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
  16. Aug 01, 2017
  17. Jul 28, 2017
  18. Jul 21, 2017
  19. Jul 13, 2017
  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 08, 2017
    • hallc-online's avatar
      Modified THcCherenkov.cxx and THcCherenkov.h · 30c8c0ea
      hallc-online authored
      Add array fADC_hit that is a flag if there is a hit in the ADC
      fADC_hit is set in Decode method
      The FADC has a threshold on accepting ADC hit
      Modified CoarseProcess method to eliminate old FASTBUS bias in the analysis
      30c8c0ea
  23. Jan 30, 2017
    • Jure Bericic's avatar
      Replaced `gHcParms->Find()` calls with `gHcParms->LoadParmValues()`. · ca2e9562
      Jure Bericic authored
      The calls to `Find()` need to be wrapped in checks if returned pointer is null.
      Otherwise a further call to get value produces SegFault. The `LoadParmValues()`
      does not suffer from this, since it throws error if non-optional parameter is
      not found. The error message also tells which parameter is missing.
      
      I still left three calls to `Find()` in `THcAnalyzer.cxx`. They are wrapped in
      checks and some other things...
      ca2e9562
  24. Jan 28, 2017
  25. Jan 27, 2017
  26. Jan 19, 2017
  27. Jan 13, 2017
  28. Jan 12, 2017
  29. Dec 15, 2016
  30. Dec 05, 2016
  31. Nov 23, 2016
  32. Nov 15, 2016
  33. Sep 28, 2016
  34. May 18, 2016
  35. May 22, 2015
  36. Mar 10, 2015
  37. Feb 23, 2015
    • Stephen A. Wood's avatar
      Variable name cleaup · f8d6a9b4
      Stephen A. Wood authored
        Don't start variables that are not member variables with f
        Declare temporary variables as locally as possible
        Remove some unused member variables from THcHodoscope.h
      f8d6a9b4
Loading