Skip to content
Snippets Groups Projects
  1. Sep 14, 2017
    • Brad Sawatzky's avatar
      Tweak 'interactive shell' fallback so it is more general · 5afc3f8a
      Brad Sawatzky authored
      - Apparently  $?loginsh is not a good indicator of whether tcsh is
        interactive (bad Google...) so we'll look for 'setup.csh' in the
        current directory and if it is present assume it is the hcana/
        directory.
      - The if($?prompt) clause should print some info text if you're
        interactive.  (Although it's not definitive either -- dammit csh.)
      
      -- Brad
      5afc3f8a
    • Brad Sawatzky's avatar
      Fix/clarify setup.csh behavior when called from script · 6957c8bc
      Brad Sawatzky authored
      - The underlying problem here is that $_ is assumed to contain the path
        to the sourced file, but that isn't true for any version of tcsh I've
        tried... (I guess it must have worked for some version of tcsh?)
        Anyway, that fails and $1 is also empty in the else clause so the
        script fails.
      
      - Reliably finding the path to a sourced file is next to impossible in
        tcsh, so just encourage/force people to pass a path to the script
        directory as an argument.
      
      -- Brad
      6957c8bc
    • Stephen A. Wood's avatar
      095a9ffa
    • Stephen A. Wood's avatar
      Only look for scalers in banks that might contain them. · eb22c012
      Stephen A. Wood authored
        When the db file is read, a list of crate #s and a list of
        module types is made.  The tag of each bank searched for scalers
        must have a tag that is in one of these lists.
        If all scalers are in banks tagged with the module type, then,
        SetOnlyBanks(kTRUE) should be called in which case bank tags will
        be compared only against this list of module types.
      eb22c012
    • Stephen A. Wood's avatar
    • Stephen A. Wood's avatar
      Option to delay analysis of end triggered scaler events to end of run. · 297b52cc
      Stephen A. Wood authored
        In the end method of the Hall C rocs, the scalers are read for a final
        time and a user event 129 is created with the scaler counts.
        These events do not always appear at the end of the coda file, leading to
        the risk that triggered scaler reads will appear after the event 129s.
      
        If the event type of these final scaler reads is passed to the scaler
        object with the SetDelayedType(int evtype) method, then the scaler analyis
        will cache these events and analyze them at the end of the analysis.
      297b52cc
  2. Aug 31, 2017
  3. Aug 29, 2017
  4. Aug 25, 2017
    • hallc-online's avatar
      Add method THcHallCSpectrometer::CalculateTargetQuantities · 239cd15b
      hallc-online authored
      This method calculates the target quantities using the focal
      plane quantities and the optics matrix. Previously
      this was done in THcHallCSpectrometer::FindVertices.
      Now in THcHallCSpectrometer::FindVertices there is
      a call to CalculateTargetQuantities
      
      
      This method will be called by THcExtTarCor
      to do the xtar correction.
      239cd15b
    • hallc-online's avatar
      THcDriftChamber::FindStub modified · 9e594a6a
      hallc-online authored
      Fixed minor bug
         FindStub was using the uncorrected drift distance
         from the hit object that was not corrected in
         CorrectHitTimes method. Need to use the corrected
         drift distance that with the spacepoint Hit structure
      9e594a6a
  5. Aug 18, 2017
  6. Aug 01, 2017
  7. Jul 28, 2017
  8. Jul 27, 2017
  9. Jul 26, 2017
  10. Jul 25, 2017
  11. Jul 21, 2017
  12. Jul 19, 2017
  13. Jul 17, 2017
  14. Jul 13, 2017
  15. Jul 12, 2017
  16. Jul 11, 2017
  17. Jun 30, 2017
Loading