Skip to content
Snippets Groups Projects
  1. Jul 09, 2014
  2. May 07, 2014
  3. May 05, 2014
  4. Apr 28, 2014
  5. Apr 25, 2014
  6. 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
    • Buddhini Waidyawansa's avatar
      Changed the raster channels to use a single plane instead of 4 planes. So went from · 857df591
      Buddhini Waidyawansa authored
        12, 1, 1, 0 !ADC ROC#1 Sl#13 Ch#12 Fast Raster X-sync
        13, 2, 1, 1 !ADC ROC#1 Sl#13 Ch#13 Fast Raster X-signal
        14, 3, 1, 2 !ADC ROC#1 Sl#13 Ch#14 Fast Raster Y-sync
        15, 4, 1, 3 !ADC ROC#1 Sl#13 Ch#15 Fast Raster Y-signal
      to
        12, 1, 1, 0 !ADC ROC#1 Sl#13 Ch#12 Fast Raster X-sync
        13, 1, 1, 1 !ADC ROC#1 Sl#13 Ch#13 Fast Raster X-signal
        14, 1, 1, 2 !ADC ROC#1 Sl#13 Ch#14 Fast Raster Y-sync
        15, 1, 1, 3 !ADC ROC#1 Sl#13 Ch#15 Fast Raster Y-signal
      This works and it makes easier for the mapedit_rasterbcm.pl script to propagate these changes into ENGINE type map files.
      857df591
  7. Apr 11, 2014
  8. 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
  9. Mar 04, 2014
  10. Jan 30, 2014
    • 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
  11. Jan 29, 2014
  12. Jan 26, 2014
  13. Jan 22, 2014
  14. Jan 03, 2014
  15. 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
  16. Dec 19, 2013
  17. Dec 12, 2013
  18. Dec 10, 2013
  19. 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
  20. Nov 15, 2013
  21. Nov 08, 2013
  22. Nov 01, 2013
  23. Oct 31, 2013
  24. 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
  25. Oct 10, 2013
  26. Oct 02, 2013
  27. Sep 26, 2013
    • Stephen A. Wood's avatar
      Parameters to optionally correct small ENGINE DC hit handling errors. · 6a33dcf3
      Stephen A. Wood authored
         {prefix}dc_fix_lr
              Historically, in the ENGINE, if a hit is used in multiple
              space points/stubs, the left/right assignment for that hit, which
              is later used in track fitting, is that assigned for the last stub
              encountered with that hit.  Properly, the left right assignment
              should be allowed to be different in different space points.  If
              this parameter is set to zero (e.g. in hcana.param), then the
              ENGINE behavior is used.  For new analyses, it should be set to one.
              (Which is the default)
         {prefix}dc_fix_propcorr
              When a hit gets put into a stub, the distance of the hit from the
              discriminator can then be estimated.  In the engine, a correction to
              the drift time (and thus drift distance) is applied.  However, if
              that hit ends up in another stub, the correction will get applied again,
              resulting in a over correction.  Setting this flag to 1 will give that
              hit a different corection for each stub that it is in.
      
      These flags will default to the new "correct" way of handling hits if
      the above parameters are not set in a parameter file.  Currently, both
      flags are set to zero in hcana.param to replicate the ENGINE behavior.
      
      To implement these changes, the propagation correction and L/R information
      for each hit is saved in space point and track classes.  This information
      is still saved in the hit class, but only used if in ENGINE compatibility
      mode.
      
      The THcDCTrack class now saves a list of space point pointers instead
      of space point indices.
      
      The AddSpacePoint method now also copies all the hit information into
      the track object so that THcDC doesn't need to explicitely copy all
      the hits.
      
      The FindStub method, which fits a stub track to a space point is passed
      the space point rather than a list of hits
      6a33dcf3
Loading