Skip to content
Snippets Groups Projects
  1. Jan 11, 2017
  2. Dec 21, 2016
    • Jure Bericic's avatar
      Changed fMaxNSamplesADC to 511. · 0022bf57
      Jure Bericic authored
      The f250 modules can produce at most 511 samples (9 bit) so it seemed reasonable to increase
      the maximum number of samples in the raw hits to this value.
      0022bf57
  3. Dec 17, 2016
    • Jure Bericic's avatar
      Fixed initializer list warnings in older compilers. · 715c8dd5
      Jure Bericic authored
      As it turns out, this was not so easy fix. I had to do:
      - add at least c++0x support to scons (works for g++ 4.4.7!)
      - change how my DefineVariables works
      
      The c++0x support is bonus, since now we can use some additional features, like auto keyword (see https://gcc.gnu.org/gcc-4.4/cxx0x_status.html).
      715c8dd5
    • Jure Bericic's avatar
      Added new methods to THcRawAdcHit. · 27a18730
      Jure Bericic authored
      27a18730
    • Jure Bericic's avatar
      Added THcRawAdcHit and included it in THcRawShowerHit. · 6e184a5a
      Jure Bericic authored
      The new class THcRawAdcHit is meant to represent the raw ADC hits. The
      logic with dealing with ADCs has become quite complex now and it would
      have to be multiplicated across all detectors that have ADC
      channels. While this by itself is not such a big problem, fixing
      possible bugs in multiple places is.
      
      I also redesigned the THcRawShowerHit class to use the new
      THcRawAdcHit. The redesign was due anyway, so I took the opportunity.
      
      I also had to modify THcShowerArray and THcShowerPlane. They still
      need some work to use the the new flash 250 data, but changes were
      necessary anyway.
      
      Minor fix 01.
      6e184a5a
  4. Dec 15, 2016
  5. Dec 12, 2016
    • Jure Bericic's avatar
      Small fixes for THcRawHodoHit and THcTrigRawHit. · d5ff42cf
      Jure Bericic authored
      - Now throwing an error for invalid signal in THcRawHodoHit::GetRawData and THcRawHodoHit::GetData.
      - THcRawHodoHit::GetData now only subtracts reference time for TDC channels.
      - THcRawHodoHit::SetReference now prints warning when trying to set reference time for ADC and does not set it.
      - Fix in THcTrigRawHit::Clear to set fHasMulti to kFALSE.
      - THcTrigRawHit::SetReference now prints warning when trying to set reference time for ADC and does not set it.
      d5ff42cf
    • Stephen A. Wood's avatar
      c16b29f2
  6. Dec 09, 2016
  7. Dec 07, 2016
    • Jure Bericic's avatar
      Added dummy spectrometer class. · 79eb68d2
      Jure Bericic authored
      Dummy spectrometer class.
      Added a dummy spectrometer class to ease the construction of teststands for single detectors.
      79eb68d2
    • Stephen A. Wood's avatar
      For Hodoscope, setup options to use flash ADC data in various ways · 6104d708
      Stephen A. Wood authored
        Use xhodo_adc_mode to choose how to interpret data
          0 - Interpret as a standard ADC, subtracting pedestal found from ped events
          1 - Use integrated pulse from ADC.  Subtract the event by ev pedestal
          2 - Integrate the sample data, subtract ped found from ped events
          3 - Integrate the sample data, subtract dynamic pedestal
        xhodo_pedestal_scale is factor to multiply dynamic pedestal before
          subtracting.  For example, if uses 4 samples to get pedestal and
          is acquiring 86 samples, in mode 3, this should be 86/4
        xhodo_adc_diag_cut is a cut used to determine if diagnostic ADC
          stuff should be put in tree for each channel.  Need to set this so
          that hodoscope hitmaps get filled right.  Was 50 for Fastbus data.
      6104d708
    • Stephen A. Wood's avatar
      Copy richer flash ADC info into raw hits · ada16805
      Stephen A. Wood authored
        Get this information if hit says it is looking for ADC info
        and the module reports that it is multifunction
      ada16805
    • Stephen A. Wood's avatar
      Raw hit changes to deal with flash ADC data · cc3bae74
      Stephen A. Wood authored
        Raw hit reports # of expected signals and their types (ADC vs TDC)
        Raw hit accept and deliver flash ADC sample, and pulse data
           (pulse integral, dynamic pedestal, time and peak)
      cc3bae74
  8. Dec 05, 2016
  9. Dec 02, 2016
  10. Dec 01, 2016
  11. Nov 23, 2016
  12. Nov 21, 2016
  13. Nov 15, 2016
  14. Nov 14, 2016
  15. Nov 11, 2016
  16. Nov 06, 2016
  17. Nov 04, 2016
  18. Nov 01, 2016
Loading