Skip to content
Snippets Groups Projects
  1. Apr 27, 2020
    • Mark Jones's avatar
      Modified THcShower, THcShowerArray and THcShowerPlane · 30be04cc
      Mark Jones authored
      1) Add parameter fPedDefault which can be used as the
      pedestal. When the raw pulse amplitude = 0, this means
      that there was a pulse in the ADC time window where
      the pedestal is determined. This makes the pedestal
      wrong. so use the fPedDefault which is the average pedestal.
      
      2) Use hodoscope OffsetTime in calculation of
      the difference between the Hodoscope StartTime
      and the ADC pulse time to compensate for difference
      between ADC reference time and the TDC reference time.
      30be04cc
  2. Nov 22, 2019
  3. Jan 07, 2019
  4. Nov 06, 2018
    • Mark Jones's avatar
      Modified THcShowerArray · f1d30001
      Mark Jones authored
      Add the tree variable goodAdcMult which is the number of raw ADC pulses
        in an ADC channel per event for a given shower array block.
      f1d30001
  5. Sep 14, 2018
  6. Jul 10, 2018
  7. Jun 08, 2018
  8. Dec 09, 2017
  9. Nov 30, 2017
  10. Oct 31, 2017
  11. 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
  12. Sep 26, 2017
  13. Aug 31, 2017
  14. Jul 28, 2017
  15. Jul 21, 2017
  16. Jul 13, 2017
  17. May 27, 2017
    • Carlos Yero's avatar
      Updates to THcShowerPlane · 4fe33ab7
      Carlos Yero authored
        Add "Good" variables to calorimeter class
           occupancies and multiplicities
           required to pass time and threshold cut
        Change some variables from arrays to vectors
        Modify how thresholds are calculated
        Remove obsolete variables: posadchits, negadchits
        Add flash adc debug flag
        Correctly delete pointers in destructor
      4fe33ab7
  18. May 01, 2017
    • Vardan Tadevosyan's avatar
      Small Shower Calorimeter corrections, chagnes and cleanups · c30c06cf
      Vardan Tadevosyan authored
      Make matched cluster variables of the array part of calorimeter private.
      
      Initialize fY variable in the THcShowerHit::THcShowerHit default
      constructor.
      
      Correct typo in THcShowerArray::Clear, assign -1000 to fMatchClY.
      
      Edit debug output in THcShowerArray::CoarseProcess and remove obsolete
      comments THcShowerArray::MatchCluster.
      
      Clear fSizeClustArray and fNblockHighEnergy quantitites in
      THcShower::Clear, for just in case.
      c30c06cf
  19. Apr 20, 2017
    • hallc-online's avatar
      Updates to THcShower, THcShowerArray and THcSHowerHit · 2f9e340d
      hallc-online authored
      THcShowerHit.h and THcShowerHit.cxx
      ---------------
      1) Added fY for horizontal position
      2) Added fY to THcShowerHit
      
      THcShower.h
      -----------
      1) Added variables
      2) Added method addY, clY to get the cluster Y position
      
      THcShower.cxx
      --------------
      1) Added variables to the tree for "layer" detector
          either SHMS preshower or HMS layers
      2) Added variables if the SHMS "array" is used
      3) Added y position to THcShowerHit in CoarseProcess
      4) In FineProcess, if SHMS "array" used then fill X,Y info
           for the Cluster and the "best" track that matched the cluster
      
      THcShowerArray.h and THcShowerArray.cxx
      ---------------------------------------
      1) Added methods to Get the array cluster size, X and Y position
         and block number that has the highest energy in the cluster
      2) Added array fBlockClusterID for all blocks. initialized to -1
         for each block for each event and then filled with
         the cluster number if the block is included in the cluster
      3) Add variable fNhits and fNgoodhits
      2f9e340d
  20. Apr 18, 2017
  21. 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
  22. 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
  23. Mar 07, 2017
  24. Feb 21, 2017
  25. Jan 26, 2017
  26. Jan 19, 2017
  27. Jan 13, 2017
  28. 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
  29. Dec 15, 2016
  30. Oct 17, 2016
  31. May 18, 2016
  32. Jan 22, 2016
  33. Jan 19, 2016
  34. Jan 15, 2016
  35. Jan 10, 2016
Loading