Skip to content
Snippets Groups Projects
  1. Dec 15, 2016
  2. May 05, 2014
    • Buddhini Waidyawansa's avatar
      Added parameters for run 52947 into raster_test.database · 56d3f4cf
      Buddhini Waidyawansa authored
      In raster_jun04.map, reassigned the raster channels into a single plane instead of different planes.
      This makes it easier for comparision with the engine.
      Modified raster_test.C to analyze run 52947 in the cache directory.
      Some minor clean up in the THcRaster.cxx class- removing comments and unused variables.
      56d3f4cf
  3. Apr 24, 2014
    • Mark Jones's avatar
      Add getting beam energy from gpbeam parameter · 9f076db7
      Mark Jones authored
      Read gpbeam in THcRaster::ReadDatabase
      Add jan05.kinematics
      Modified DBASE/raster_test.database to fill g_ctp_kinematics_filename
      with DBASE/jan05.kinematics
      Modified raster_test.C to load g_ctp_kinematics_filename
      9f076db7
  4. Mar 05, 2014
    • Buddhini Waidyawansa's avatar
      THcRaster minor changse, files prefixed with raster_ for testing. · 49064b4b
      Buddhini Waidyawansa authored
        Files with the prefix raster_ are coppies of original *.database,
        and *.param files which now includes changes nessacery for
        decoding raster data. I created seperate files for these because I
        need to merge this code upstream before I can compare the raster
        decoding results with that of the analyzer. For e.g. the map files are
        different from the original map files. So Steve needs to create a perl
        script that can propgate these changes in the map files to the map
        file of the analyzer inorder for me to do the analyzer hcana
        comparision. Once the comparision is done and we are satisifies with
        the results, we will merge the changes with the original files and
        remove the files with the prefix raster_*.
      
        gbeam.param now included by general.param.  No need to load
        a separate parameter set to test raster/BPM code.
      
        examples/MAPS/raster_jun04.map adds new detector IDs for the raster
        and BPMs as follows:
      
      Add the following IDs to the misc elements,
      BEAM
       RASTER_ID= 18          ADC
       BPM_ID= 19             ADC
      
      In the channel section did the following modification:
       sub , plane, counter, sig
        14, 1, 13, 1 !ADC ROC#1 Sl#15 Ch#14 Fast Raster X-sync
        15, 1, 14, 2 !ADC ROC#1 Sl#15 Ch#15 Fast Raster X-signal
        12, 1, 15, 3 !ADC ROC#1 Sl#15 Ch#12 Fast Raster Y-sync
        13, 1, 16, 4 !ADC ROC#1 Sl#15 Ch#13 Fast Raster Y-signal
      49064b4b
    • Buddhini Waidyawansa's avatar
      Add THcRasterRawHit, THcRasterBeam classes. Add raster_test.C script. · bd295b0b
      Buddhini Waidyawansa authored
        THcRasterRawHit class to helps with the decoding of the raster
           signals via THcHitList class.
        THcRasteredBeam class derives from THaApparatus to handle rastered beam.
        Modify Makefile and HallC_LinkDef.h to compile new classes
      bd295b0b
  5. Mar 04, 2014
  6. 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
  7. 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
  8. Nov 15, 2013
  9. Nov 01, 2013
  10. 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
  11. Aug 19, 2013
  12. Jul 19, 2013
  13. May 29, 2013
  14. May 28, 2013
  15. May 16, 2013
  16. May 15, 2013
  17. 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
  18. Apr 09, 2013
  19. Mar 21, 2013
  20. 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
  21. 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
  22. Nov 05, 2012
  23. 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
  24. Aug 17, 2012
  25. Aug 14, 2012
  26. Aug 09, 2012
  27. Aug 07, 2012
  28. Jun 27, 2012
  29. Jun 11, 2012
  30. Jun 06, 2012
  31. May 13, 2012
Loading