Skip to content
Snippets Groups Projects
  1. Dec 02, 2019
    • Stephen A. Wood's avatar
      Helicity decoding improvements · 77b91616
      Stephen A. Wood authored
        Use qrt signal to identify quartets, find pattern if it doesn't.
        Fail over to HMS helicity signals if SHMS not found
        Add pcheck and cycle global vars (for fine tuning frequency)
        Start a helicity scaler class.  Just compares seeds for now.
      77b91616
  2. Apr 25, 2019
    • Stephen A. Wood's avatar
      Improve THcHelicity · 76bbcc81
      Stephen A. Wood authored
        Previously the helicity code was not always setting the actual
        helicity.  It would then just use the helicity from the last event.
        This was almost always OK.  With this change, the helicity (T.helicity.hel)
        should be always defined.
        It is now sufficient to use just this variable when sorting events into
        plus and minus helicity.  The helicity value will be zero if the event
        occured during the settle period, or if the helicity decoder has not
        got enough data to have a seed.
      76bbcc81
  3. Jan 20, 2019
  4. Jan 10, 2019
  5. Dec 15, 2018
    • Whitney Armstrong's avatar
      Starting adding logging with spdlog · ec942943
      Whitney Armstrong authored
      - Mixins defined in Logger.h
      - Mixin used in base classes (THcDC is currently a good example)
      
      Added a few more spdlog loggers
      
      Added logging to many.
      
      - Added logging to hodoscope, aerogel hitlist and detectormap
      - Working on scandalizer features.
      
      Added logging.
      
      Added more logging.
      
      added more logging.
      
      More logging.
      ec942943
  6. Dec 11, 2018
  7. Nov 09, 2018
    • Stephen A. Wood's avatar
      Determine the beam helicity for each event. · 47c908bc
      Stephen A. Wood authored
      Undoes delayed helicity reporting by learning seed of pseudo random
      sequence used by injector helicity electronics.
      
      This detector class should be added to the Trigger apparatus.
      Delivers the global variables "hel" and "helrep".  "helrep" is the
      reported delayed helicity and "hel" is the actual helicity.  + and -
      helicity are reported as +1 and -1.  If the event is during a MPS
      settling period, then the helicity variables are zero.  For the first
      few seconds of a run, the "hel" variable will be zero as the pseudo
      random sequence seed has not been determined.  (If the trigger class
      is "T" and this detector is called "helicity", then these variables
      will be T.helicity.hel and T.helicity.helrep.
      
      By default, it is assumed that there is delayed reporting of 8 cycles
      and that Quartets are used.  If delayed helicity reporting is not in
      use, then set the parameter "helicity_delay" to zero.
      47c908bc
Loading