Skip to content
Snippets Groups Projects
  1. Feb 07, 2017
    • Mark K Jones's avatar
      Merge pull request #144 from MarkKJones/cosmic · feea2153
      Mark K Jones authored
      Add fCosmicFlag to Hodoscope class
      feea2153
    • Cdaq Account's avatar
      Add fCosmicFlag to Hodoscope class · b630d415
      Cdaq Account authored
      The fCosmicFlag is used in EstimateFocalPlaneTime
      The start time for the drift chamber is determined as an average
      of the focal plane times for each hodo plane. Need to account for
      the TOF from the hodoscope to the focal plane (z=0). For cosmic
      data need to add this TOF to the corrected scintillator time, while
      usually one needs to subtract this TOF. Add a flag as parameter to
      switch between these modes.
      b630d415
  2. Feb 06, 2017
  3. Feb 03, 2017
  4. Jan 31, 2017
  5. Jan 30, 2017
  6. Jan 28, 2017
  7. Jan 27, 2017
  8. Jan 26, 2017
  9. Jan 24, 2017
  10. Jan 23, 2017
  11. Jan 19, 2017
  12. Jan 18, 2017
  13. Jan 13, 2017
  14. Jan 12, 2017
  15. Jan 11, 2017
  16. 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
  17. 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
  18. Dec 15, 2016
  19. 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
  20. Dec 09, 2016
  21. 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
Loading