Skip to content
Snippets Groups Projects
  1. Sep 14, 2018
  2. Sep 07, 2018
  3. Aug 30, 2018
    • Mark Jones's avatar
      Modify THCRaster · 03fe48f6
      Mark Jones authored
      Main change was to allow the beam X and Y positions and angle
      at the target to be read in through parameters instead of
      always using the EPICS data. This gives added flexibility.
      
      If either of the beam position parameters (gbeam_xoff or
      gbeam_yoff) are read-in as parameters, then the code uses
      the read-in parameters as the BPM position at target. If
      there are other beam position or angle parameter that are
      not read in then they are set to zero.
      
      
      1) Modify THcRaster.h
         a) Added variables for X and Y beam angles at target.
         b) Added variable fFlag_use_EPICS_bpm which is a flag
           that is determines whether the code uses the parameters
           or EPICS reads.
      
      2) Modified THcRaster.cxx
         a) set default BPM z-positions to Fall 2018 survey.
         b) Modified Process method so that the BPM position/angle variables
           that are set by parameters are no longer recalculated. Just
           use the existing variables fXbpm_tar, fYbpm_tar, fXpbpm_tar
            and fYPbpm_tar throughout the method.
      03fe48f6
    • Mark Jones's avatar
      Modify THcRaster to add variable of EPICS beam energy · c8dc9e87
      Mark Jones authored
      Add the variable ebeam_epics to the tree. This is the EPICS
      value of HALLC:p  . For now this is good for monitoring changes in the
      beam energy but needs to be check how it compares to the Hall C
      beam energy measurement.
      c8dc9e87
    • hallc-online's avatar
  4. Aug 26, 2018
    • Carlos Yero's avatar
      Updated DC Classes to have DC Sigma per wire · 4a7af64c
      Carlos Yero authored
      1) THcDCWire.h
        a) added sigma to THcDCWire constructor which fills fSigmaWire
        b) added GetSimga method
        c) added SetSigma method
      
      2) THcDCHit.h
       a) Added GetWireSigma method
      
      3) THcDriftChamberPlane.h
       a) Added flag fUsingSigmaPerWire
       b) Added array fSigmaWire
      
      4) THcDriftChamberPlane.cxx
       a) In ReadDatabase, set fUsingSigmaPerWire=0 by default
          with reading of parameter h_using_sigma_per_wire optional
          for setting fUsingSigmaPerWire.
       b) If fUsingSigmaPerWire=0 then sets all wires in array fSigmaWire to
         fSigma ( which is the simga per plane).
       c) If fUsingSigmaPerWire=1 then reads in the sigma per wire from
         a parameter file.
       d) Used new THcDCWire constructor to set the sigma for wire to fSigmaWire[nwire]
       e) Also change code so that the tzero offset is set in the  THcDCWire constructor
       f) In ProcessHits , use wire->GetTOffSet instead of the fTzeroWire array when setting
          the time.
      
      5) THcDC.cxx
       a) In TrackFit, replace fSigma with hit->GetWireSigma()
      4a7af64c
  5. Aug 25, 2018
    • hallc-online's avatar
      Modify THcHodoEff · d658b180
      hallc-online authored
      1) add variable fHodoEff_CalEnergy_Cut
      
      2) THcHodoEff::ReadDatabase
         Optionally read in parameter hHodoEff_CalEnergy_Cut (HMS) or
              pHodoEff_CalEnergy_Cut (SHMS) and fill fHodoEff_CalEnergy_Cut
         If no parameter then defaults to fHodoEff_CalEnergy_Cut = 0.050
      
      3) fHodoEff_CalEnergy_Cut
          In "if" statements that select events for hodoscope efficiency
          replay hard-coded "0.05" with fHodoEff_CalEnergy_Cut
      d658b180
  6. Aug 24, 2018
  7. Aug 23, 2018
    • Stephen A. Wood's avatar
      Update podd version · c2a98fef
      Stephen A. Wood authored
      c2a98fef
    • Stephen A. Wood's avatar
      In THcParmList::Load only look for run ranges in top file. · 234512dc
      Stephen A. Wood authored
        Previously, if load was called with a run number, array continuation
        lines in included files were being interpreted as lists of run numbers.
        Still we have the limitation that in the top file, if we define an array
        with multiple lines, the continuation lines will be interpreted as
        run number lists and mess things up.  But it is unlikely that we would
        need to define arrays in the top file when we are in run number
        mode.
      234512dc
  8. Aug 19, 2018
    • hallc-online's avatar
      Update THcHallCSpectrometer.cxx · 5a558673
      hallc-online authored
      Added setting of spectrometer mispointing according the the input
      spectrometer angle if the mispointing is not set by a parameter.
      
      The formulas for deteriming the mispointing comes from fits to sureys.
      
      If one wants to use different spectrometer mispointings then
      it is best to set hmispointing_x,hmispointing_y for HMS
      and pmispointing_x,pmispointing_y for SHMS in the kinematics setting file
      such as standard.kinematics .
      5a558673
    • hallc-online's avatar
      Modified THcRaster.cxx and THcRaster.h · 7837f271
      hallc-online authored
      1) Add tree variables for the three BPMs and projections to target
      in the EPICs coordinate system (+X beam right, +Y up)
      rb.raster.fr_xbpm_tar
      rb.raster.fr_ybpm_tar
      rb.raster.fr_xbpmA
      rb.raster.fr_ybpmA
      rb.raster.fr_xbpmB
      rb.raster.fr_ybpmB
      rb.raster.fr_xbpmC
      rb.raster.fr_ybpmC
      
      2) Modified code so that it only modifies the BPM variables if they
      are all !=0 ( beam on) . Otherwise it sets them to the previous EPICS
      read. This gets rid of all zero EPICS reads,except if the first EPICs
      read the beam is off.
      
      3) Removed the reading of gpbeam from the global parameter list in the Process
        method and just have it in ReadDatabase.
      
      4) Change the calculation of beam at target to use the projection of
         BPM_A and BPM_C instead of BPM_A and BPM_B.
      
      5) Remove setting the raster position to the hcana beam coordinate system
         with (+X beam left). The raster is in the EPICS coordinate system.
          This makes it easier to interpret the carbon hole runs.
      7837f271
  9. Aug 15, 2018
  10. Aug 14, 2018
    • hallc-online's avatar
      Modify src/THcRaster.cxx · 43e57c65
      hallc-online authored
      Add default values for optional values of
      +   fgbpma_zpos = 370.82;
          fgbpmb_zpos = 224.96 ;// cm
          fgbpmc_zpos = 129.30 ;// cm
      
      instead of zero.
      
      Otherwise the code would get NaN for the calculated target beam position
      since it was divied by zero unless this the parameters are set.
      43e57c65
    • hallc-online's avatar
      Modify THcHodoscope.cxx · 7811dcc9
      hallc-online authored
      Modify code in CoarseProcess to add (subtract) time due to hit
      location in paddle for positive (negative) PMT for new hodoscope
      beta parameters.
      7811dcc9
    • hallc-online's avatar
      Modify THcHodoscope to add tree variables · be05b391
      hallc-online authored
      Add tree variables TimeHist_Sigma, TimeHist_Peak and TimeHist_Hits
      for the peak,sigma and number of hits of the histogram
       of PMT times used in EstimateFocalPlaneTime
      be05b391
    • hallc-online's avatar
      Modify THcScintillatorPlane.cxx · e9b69d3c
      hallc-online authored
      In ProcessHits add check of adc in if statements when calculating
      the time walk correction.
      e9b69d3c
  11. Aug 10, 2018
  12. Aug 08, 2018
  13. Aug 07, 2018
  14. Aug 01, 2018
    • Stephen A. Wood's avatar
      Allow lists of run numbers and run ranges in THcParmList::Load · 803ad821
      Stephen A. Wood authored
        When Load is called with a run number, then the input file is ignored
        until a line with a list of run numbers or run number ranges is found.
        For example:
           44,50-90,113
        If the run number matches one of these run numbers or ranges,
        parameter definitions after the match are loaded.  (Until the next
        list of run numbers and ranges.)
        Before this commit, only a single run number or a single range of
        run numbers was allowed.
      803ad821
  15. Jul 31, 2018
    • Stephen A. Wood's avatar
      Improvements to THcTimeSyncEvtHandler making of filtered files. · 0319672e
      Stephen A. Wood authored
        THcTimeSyncEvtHandler can correct runs where the 1190's in a crate
        go out of sync because of a large event.  (This would happen in the
        spring of 2018.  Should be fixed in the DAQ now.)  It a previous version
        this sync problem was detected by looking for 1190 banks that were too large.
        In this update, the first event is used to make a list of which slots
        have TDCs in them.  For subsequent events, it checks that every TDC slot
        has a header and trailer word in the bank.  If any TDCs are found to be
        missing, and the bank size is above a threshold, subsequent events are
        presumed to be out of sync and corrected for in the filtered run output file.
      0319672e
  16. Jul 19, 2018
    • Stephen A. Wood's avatar
      Restore ability to analyze 6 GeV data. · 842da11c
      Stephen A. Wood authored
        Set hodoscopes to standard ADC mode for example hodtest.C script
        badcraw_pos and badcraw_neg always true if not Dynamic pedestal mode
        Don't crash in hodoscope if there is no Cherenkov.
      842da11c
    • Stephen A. Wood's avatar
      Fix formating of Welcome text. · 04f058aa
      Stephen A. Wood authored
      04f058aa
    • Stephen A. Wood's avatar
      Sync cmake in podd and hcana · 33dd18f5
      Stephen A. Wood authored
      33dd18f5
    • Ole Hansen's avatar
      CMake updates: · bc01b8fb
      Ole Hansen authored
      1. Update for ROOT5-enabled root_generate_dictionary CMake function
      
        root_generate_dictionary now works with both ROOT 5 and ROOT 6.
        It defines the dictionary custom target and PCM file internally,
        as appropriate, and also automatically extracts any required
        -D compile definitions from the given target(s).
      
      2. Add configuration option HCANA_BUILTIN_PODD (default ON)
      
        If set to OFF (cmake -DHCANA_BUILTIN_PODD=OFF ...), CMake will find a
        pre-built version of Podd according to the usual find_package search
        rules. (It's sufficient to have the installed "analyzer" in your PATH,
        but you can also set CMAKE_PREFIX_PATH to the Podd installation root,
        for example.) This version of Podd has to have been built and
        installed with Podd's CMake system. In this case, only libHallC will
        be built, and the Podd submodule of hcana is ignored and does not even
        have to be present.
      
      3. Clean existing src/hc_compiledata.h during CMake configuration
      
        This file might be left over from a previous non-CMake build and would
        be incorrectly picked up instead of the CMake-generated version.
      
      4. Generate hcanaConfig.cmake config and version files using latest Podd scripts
      
        Requires Podd at commit JeffersonLab/analyzer@34dd368
      bc01b8fb
  17. Jul 17, 2018
  18. Jul 10, 2018
  19. Jun 29, 2018
Loading