Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Mar 07, 2017
  4. Jan 13, 2017
  5. Dec 15, 2016
  6. Jan 15, 2016
  7. Nov 04, 2015
  8. Jan 17, 2014
  9. Oct 18, 2013
  10. Oct 13, 2013
  11. Oct 10, 2013
  12. Sep 26, 2013
  13. Sep 18, 2013
  14. Aug 28, 2013
  15. Aug 23, 2013
  16. Jul 19, 2013
  17. Jul 08, 2013
  18. May 28, 2013
  19. May 19, 2013
  20. Mar 21, 2013
    • Stephen A. Wood's avatar
      Histogram every shower counter channel. · 85dd8ba6
      Stephen A. Wood authored
      Started with Simon's code, but reworked:
      	Use podd style arrays in RVarDef.
      	Get plane names (1pr, 2ta, 3ta, 4ta) from parameter file.
      	Get block counts from parameters instead of hardwiring.
      	Rename histogram names to be A,B,C,D 1-13, instead of 1-52
      85dd8ba6
  21. Nov 02, 2012
  22. Sep 16, 2012
  23. Aug 07, 2012
  24. Jun 11, 2012
  25. Jun 10, 2012
  26. Jun 06, 2012
  27. May 09, 2012
  28. May 08, 2012
  29. May 07, 2012
  30. May 05, 2012
  31. May 04, 2012
  32. May 03, 2012
Loading