Skip to content
Snippets Groups Projects
  1. Nov 06, 2017
  2. Aug 31, 2017
  3. Jul 21, 2017
  4. Jun 19, 2017
    • Stephen A. Wood's avatar
      Add THcRunParms. Get beam energy without db_run.dat · a7f5da2e
      Stephen A. Wood authored
        With this commit, db_run.dat is not needed in hcana
        If THcRunParms is used, hcana will get the beam momentum from the
        parameter "gpbeam" instead of db_run.dat.  To use, use the
        THaRun::SetRunParamClass method to set the run parameter class
        to "THcRunParameters".
      
        THaRun* run = new THaRun(RunFileName);
        run->SetRunParamClass("THcRunParameters");
      a7f5da2e
  5. Jan 30, 2017
  6. Dec 15, 2016
  7. Nov 15, 2016
  8. Mar 23, 2016
    • Stephen A. Wood's avatar
      Root 6 compatibility · 4d8583aa
      Stephen A. Wood authored
        Rename ScalerLoc so it doesn't conflict with class of same name in podd
        Ignore .pcm files
        Makefile does version check for root 6
        Address warnings in hodtest.C
      4d8583aa
  9. Sep 10, 2015
  10. Jul 31, 2015
  11. 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
  12. Dec 05, 2013
    • Stephen A. Wood's avatar
      Changes to control files to analyze SOS data. · 340d1d0a
      Stephen A. Wood authored
        general.param - include SOS parameter for most devices
        hcana.param - add sos versions of previous hardwired parameters
        db_run.dat - put in an angle and mometum for SOS
        output.def - include sos detectors in root tree
        hodtest.C - Add SOS spectrometer and some of its detectors
      340d1d0a
  13. Nov 15, 2013
  14. Nov 01, 2013
  15. Oct 18, 2013
    • Stephen A. Wood's avatar
      Add template driven end of run reports to analyzer class · f0efa3a6
      Stephen A. Wood authored
      Inspired by ENGINE/CTP report generator
        Reports generated by
          THcAnalyzer::PrintReport(templatefilename,outputfilename)
          template is copied to output, {stuff} is replaced by the
             value of stuff.  Value can be formated with c formater, eg.
                 {stuff:%.2f}
        ThcFormula added to allow more flexibility of variables.
          Can get number of times cuts pass or are called with:
             cutname.npassed (or cutname.scaler) and cutname.ncalled
      f0efa3a6
  16. Aug 19, 2013
  17. Jul 19, 2013
  18. May 29, 2013
  19. May 28, 2013
  20. May 16, 2013
  21. May 15, 2013
  22. Apr 30, 2013
    • Stephen A. Wood's avatar
      Implement DC Space Point finding · b519f00b
      Stephen A. Wood authored
        New class THcDC is whole set of wire chambers.
        THcDriftChamber is one chamber (6 planes)
        Implement space point finding from h_pattern_recognition up to point
           before where space point lists from the two chambers are combined.
        Includes
            FindEasySpacePoint   (h_find_easy_space_point)
            FindHardSpacePoints  (find_space_points)
            DestroyPoorSpacePoints (h_sp_destroy)
            SpacePointMultiwire  (h_sp_multiwire)
            ChooseSingleHit 	   (h_choose_single_hit)
            SelectSpacePoint	   (select_space_points)
      
      Space points are arrays of structures in the THcDriftChamber class.  Will
      probably need to take space points out class so that they can be looked at
      at the THcDC level.
      
      New code is only tested to see that it compiles and that space points
      are sometimes found.
      b519f00b
  23. Apr 09, 2013
  24. Mar 21, 2013
  25. Jan 21, 2013
    • Stephen A. Wood's avatar
      New parameter file for "extra" parameters". · 961e391c
      Stephen A. Wood authored
          Define constants (e.g. plane counts) that are not defined in
          the ENGINE parameter files so that the detector classes
          can be more generic.
          Hodoscope and Aerogel now pick up plane and tube counts from this file
      961e391c
  26. Dec 07, 2012
    • Stephen A. Wood's avatar
      Flesh out the Aerogel analysis a bit. · e9ef7df5
      Stephen A. Wood authored
          Register some more variables for the tree
          Clear fNelem of some arrays, not fNhits.
          Print method to print Aerogel pedestals.
          Make Pedestal analysis a bit more like the ENGINE.
          Initialize counters
      e9ef7df5
  27. Nov 05, 2012
  28. Aug 28, 2012
    • Stephen A. Wood's avatar
      Pedestal work. · 6aec21a3
      Stephen A. Wood authored
      Use cut file to determine what is a pedestal event.  Pedestal events
      only proceed to Decode.
      In Decode (Just THcHodoscope for now) loop through each plane and accumulate
      pedestal data.  Calculate the pedestals at the first non-pedestal event.
      Pedestals are just calculated, but nothing is done with them.
      6aec21a3
  29. Aug 17, 2012
  30. Aug 14, 2012
  31. Aug 09, 2012
  32. Aug 07, 2012
  33. Jun 27, 2012
  34. Jun 11, 2012
  35. Jun 06, 2012
  36. May 13, 2012
Loading