Skip to content
Snippets Groups Projects
  1. Apr 18, 2017
  2. Apr 04, 2017
    • hallc-online's avatar
      Fix mistake in THcShowerArray and make the threshold a parameter · b3eb5a43
      hallc-online authored
      THcShowerArray
      1) in ProcessHits methodfFixed mistake in index of fThresh
         was using padnum instead of padnum-1
      2) add parameter pcal_arr_AdcThreshold so that threshold
         can be set by a parameter. Default is zero which gives
         the best resolution.
      
      THcShowerPlane
      1) Added the parameter cal_AdcNegThreshold and cal_AdcPosThreshold
         so that the threshold can be set through a parameter
         Previously it was hardcoded.
      b3eb5a43
  3. Mar 28, 2017
    • hallc-online's avatar
      Modify THcShower, THcShowerPlane and THcShowerArray classes · 6ad9abcf
      hallc-online authored
      Main purposes:
      1) Add the possibility of multiple ADC hits per channel and
         select best ADC by a time window.
      2) Change ProcessHits method in ShowerPlane and ShowerArray to only
          fill "raw" TClonesArrays.
      3) Add CoarseProcessHits method to ShowerPlane and ShowerArray
          to fill the "good" data arrays from call in THcShower:CoarseProcess
      4) Moved code to fill Track object with energy from FineProcess
         to CoarseProcess so that the Track->Get(Energy) can be used by other
          detectors in their FineProcess.
      5) FineProcess loops over Track object add gets Track energy
      6) Add AdcErrorFlag TClonesArray to be filled to check for
         problems with FADC
      
      
      
      
      THcShower.h
      1) Add methods GetADCMode(),GetAdcTimeWindowMin(),GetAdcTimeWindowMax()
          so that the ShowerPlane can access these parameters
      2) Add parameters ADCMode,fAdcTimeWindowMin,fAdcTimeWindowMax
      3) Add variables
         fNclustTrack : NUmber of cluster that matches best track
         fXclustTrack : X pos of cluster that matches best track
         fXTrack      : X pos of best track that matches cluster
         fEtrack  : Cluster energy associated with best track
         fEtrackNorm  : Cluster energy/Track momentum associated with best track
      THcShower.cxx
      1) Add calls to THcShowerPlane and THcShowerArray CoarseProcessHits
          in CoarseProcess
      2) Moved filling of Energy in Track object to CoarseProcess
      3) In FineProcess get the "best" Track object and match
         Track energy and trajectory to cluster.
      
      THcShowerArray.h and cxx
      1)add parameters fADCMode, fAdcTimeWindowMin and fAdcTimeWindowMax
      2) Add method CoarseProcessHits
      3) In ProcessHits fill fPosThresh and fNegThresh with a fix
          value of 250 integrated channels above pedestal.
           Need to make this a parameter.
      
      THcShowerPlane.h and cxx
      1)Gets fADCMode, fAdcTimeWindowMin and fAdcTimeWindowMax from THcShower
      2) Add method CoarseProcessHits
      3) In ProcessHits fill fPosThresh and fNegThresh with a fix
          value of 250 integrated channels above pedestal.
           Need to make this a parameter.
      6ad9abcf
  4. Mar 07, 2017
  5. Feb 21, 2017
  6. Jan 26, 2017
  7. Jan 19, 2017
  8. Jan 13, 2017
  9. Dec 17, 2016
    • 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
  10. Dec 15, 2016
  11. Oct 17, 2016
  12. May 18, 2016
  13. Jan 22, 2016
  14. Jan 19, 2016
  15. Jan 15, 2016
  16. Jan 10, 2016
  17. Jan 09, 2016
  18. Jan 01, 2016
  19. Dec 29, 2015
  20. Dec 17, 2015
  21. Dec 16, 2015
  22. Dec 11, 2015
  23. Dec 06, 2015
  24. Nov 04, 2015
  25. Oct 14, 2015
    • Stephen A. Wood's avatar
      FADC compatibility for raw shower hits · af6fa628
      Stephen A. Wood authored
        A shower counter hit can now be multiple samples, with a different
        number of samples allowed for positive and negative tubes.
        GetData(signal) now returns the sum of all the samples.  This should
        still be compatible with fastbus ADCs as they are a single sample
        (which is already the integral.)
      af6fa628
    • Stephen A. Wood's avatar
      Very basic support for the SHMS shower counter · 1e6b0020
      Stephen A. Wood authored
        Added as an optional sub detector THcShowerArray to the THcShower class
        Get hit data with GetData method instead of hit member variables
          so as to be compatible with FADC compatible hit list
      1e6b0020
Loading