Skip to content
Snippets Groups Projects
  1. Jul 13, 2017
  2. Apr 03, 2017
  3. Mar 31, 2017
    • Eric Pooser's avatar
      Complete rewrite of Aerogel and Cerenkov detector classes · e0d9b2a9
      Eric Pooser authored
      New parameters are added.  hallc_replay of 3/31/2017 or later is needed.
      
      As of now, the size of the TClonesArray objects are hard-coded in the
      respective header files. This is not okay in the long run. Ideally,
      the size of the TClonesArrays should be defined by the parameter which
      dictates how many readout detectors exist for the respective
      detector. I tried doing this in the Init method however, podd
      complained regarding the size of the TClonesArrays in the DEF-file
      histograms. I was unsuccessful in my first attempt. This should be
      addressed in the future even though things work for now.
      e0d9b2a9
  4. Mar 08, 2017
    • hallc-online's avatar
      Modified THcCherenkov.cxx and THcCherenkov.h · 30c8c0ea
      hallc-online authored
      Add array fADC_hit that is a flag if there is a hit in the ADC
      fADC_hit is set in Decode method
      The FADC has a threshold on accepting ADC hit
      Modified CoarseProcess method to eliminate old FASTBUS bias in the analysis
      30c8c0ea
  5. Jan 30, 2017
    • Jure Bericic's avatar
      Replaced `gHcParms->Find()` calls with `gHcParms->LoadParmValues()`. · ca2e9562
      Jure Bericic authored
      The calls to `Find()` need to be wrapped in checks if returned pointer is null.
      Otherwise a further call to get value produces SegFault. The `LoadParmValues()`
      does not suffer from this, since it throws error if non-optional parameter is
      not found. The error message also tells which parameter is missing.
      
      I still left three calls to `Find()` in `THcAnalyzer.cxx`. They are wrapped in
      checks and some other things...
      ca2e9562
  6. Jan 28, 2017
  7. Jan 27, 2017
  8. Jan 19, 2017
  9. Jan 13, 2017
  10. Jan 12, 2017
  11. Dec 15, 2016
  12. Dec 05, 2016
  13. Nov 23, 2016
  14. Nov 15, 2016
  15. Sep 28, 2016
  16. May 18, 2016
  17. May 22, 2015
  18. Mar 10, 2015
  19. Feb 23, 2015
    • Stephen A. Wood's avatar
      Variable name cleaup · f8d6a9b4
      Stephen A. Wood authored
        Don't start variables that are not member variables with f
        Declare temporary variables as locally as possible
        Remove some unused member variables from THcHodoscope.h
      f8d6a9b4
  20. Feb 04, 2015
  21. Jan 20, 2015
  22. Jan 16, 2015
  23. Jan 14, 2015
  24. Jan 08, 2015
  25. Sep 04, 2014
  26. Jan 30, 2014
    • Zafar's avatar
      ThcCherenkov class. · 83a1ab25
      Zafar authored
      Class for an Cherenkov detector consisting of two PMT's.
      Fourth pull request. January 30 2014.
      No need to cahnge the Map file.
      New parameter hcer_tot_pmts = 2 is added to the hcana.param file
      This code is for the coarse process of THcCherenkov class.
      Names of all the variables are in lower case.
      
      Variable Name   Description
      phototubes      Nuber of Cherenkov photo tubes
      adc             Raw ADC values
      adc_p           Pedestal Subtracted ADC values
      npe             Number of Photo electrons
      npesum          Sum of Number of Photo electrons
      ncherhit        Number of Hits(Cherenkov)
      83a1ab25
    • Zafar's avatar
      Updated Cherenkov detector code · 9ec9143f
      Zafar authored
      We have added a new parameter hcer_tot_pmts = 2 in hcana.param file.
      It is equal to total number of PMTs in Cherenkov detector. With this
      update, the THcCherenkov coarse process is complete. We have Raw adc,
      pedestal subtracted adc, number of photo electrons and hits histograms
      in the output root file for gas Cherenkov detector.
      9ec9143f
  27. Jan 17, 2014
  28. Dec 29, 2013
    • Zafar Ahmed's avatar
      This is second update for THcCherenkov.cxx class. I have added four more · e5cd6d23
      Zafar Ahmed authored
      variables. Total photo electrons, total hits of adc 1, total hits of adc 2
      and total hits. With this update we have transformed the FORTRAN code of
      file /engine/HTRACKING/h_trans_cer.f to /hcana/ser/THcCherenkov.cxx
      
      NOTE: The pedestal value in ENGINE is an integer but in hcana it is a
      flaoting number. So it changes the pedestal substracted vlues of adc 1
      and adc 2 and the number of photo electrons of adc 1 and 2 by very small
      fraction. The difference of total photo electrons between ENGINE and hcana
      is not more than 0.005.
      e5cd6d23
  29. Nov 15, 2013
Loading