Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Feb 15, 2018
  4. Dec 09, 2017
  5. 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
  6. 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
  7. 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
  8. Nov 21, 2017
  9. Oct 31, 2017
  10. 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
  11. Aug 01, 2017
  12. Jul 28, 2017
  13. Jul 21, 2017
  14. Jul 13, 2017
  15. Apr 03, 2017
  16. 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
  17. 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
  18. 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
  19. Jan 28, 2017
  20. Jan 27, 2017
  21. Jan 19, 2017
  22. Jan 13, 2017
  23. Jan 12, 2017
  24. Dec 15, 2016
  25. Dec 05, 2016
  26. Nov 23, 2016
  27. Nov 15, 2016
  28. Sep 28, 2016
  29. May 18, 2016
  30. May 22, 2015
  31. Mar 10, 2015
  32. 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
  33. Feb 04, 2015
  34. Jan 20, 2015
  35. Jan 16, 2015
  36. Jan 14, 2015
Loading