Skip to content
Snippets Groups Projects
  1. May 02, 2019
    • Mark Jones's avatar
      Update THcCoinTime · eca27468
      Mark Jones authored
          Add variable fTRIG1_RAW_CoinTime for raw cointime calculated by
          difference in SHMS trigger (TRIG1) in ROC1 minus
          SHMS trigger in ROC2.
      
          Add variable fTRIG4_RAW_CoinTime for raw cointime calculated by
          difference in HMS trigger (TRIG4) in ROC1 minus
          HMS trigger in ROC2.
      
          Add new variables using these raw time differences
          fTRIG1_epCoinTime
          fTRIG4_epCoinTime
          fTRIG1_eKCoinTime
          fTRIG4_eKCoinTime
          fTRIG1_ePiCoinTime
          fTRIG4_ePiCoinTime
          fTRIG1_ePosCoinTime
          fTRIG4_ePosCoinTime
      eca27468
  2. Apr 11, 2019
    • Mark Jones's avatar
      Fix mistake in THcCoinTime.h · 0e9c9872
      Mark Jones authored
      The pTRIG1_TdcTime_ROC1, pTRIG4_TdcTime_ROC1
      and pTRIG1_TdcTime_ROC2, pTRIG4_TdcTime_ROC2
      
      should have been Double_t instead of Int_t
      since the THcTrigDet.h function Get_CT_Trigtime
      returns a Double_t which is the time convert to ns.
      0e9c9872
  3. Jan 20, 2019
  4. 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
  5. Dec 11, 2018
  6. Oct 22, 2018
    • Mark Jones's avatar
      Modify THcCoinTime and THcTrigDet · 4d4418d0
      Mark Jones authored
      1) THcTrigDet
         a) Modify code to use string vector fTrigNames to identify which of the trigger
           trigger detector TDC signals to use for coincidence timing. This
            replaces the hard-coded names. The integer array fTrigId[4] keeps
           track of the array ID in the overall fTDcNames vector that goes
            with the fTrigNames[4]
         b) The fTrigNames must be in order of SHMS ROC1, HMS ROC1, SHMS ROC2
           and HMS ROC2.
         c) Default names are "pTRIG1_ROC1","pTRIG4_ROC1","pTRIG1_ROC2","pTRIG4_ROC2"
            The parameter is t_coin_trigNames
            For example:
            t_coin_trigNames="pTRIG1_ROC1 pTRIG4_ROC1 pTRIG1_ROC2 pTRIG4_ROC2"
            This parameter is read-in and the split into a string vector fTrigNames.
         d) In HcTrigDet::ReadDatabase , all members of fTrigID array are set
      to -1 then a loop over all Tdc in the trigger detector looks for match between
      fTdcNames amd fTrigNames to set fTrigId. If match not found the fTrigId = -1.
         e) In THcTrigDet.h made new method Get_CT_TrigTime(Int_t ii) to be used
      in in THcCoinTime to get the 4 trigger times: SHMS ROC1 (ii=0), HMS ROC1 (ii=1),
      SHMS ROC2 (ii=2) and HMS ROC2 (ii=3).  If fTrigId[ii]=0 then it returns 0
      otherwise returns fTdcTime[fTrigID[ii]].
      
      2) THcCoinTime
        a) Previously used the raw trigger times and had a hard-coded 0.1 ns/channel
      conversion. Now use the trigger times which already are in ns using the
      ns/channel conversion set in the TrigDet.
        b) Now use the new TrgiDet method Get_CT_TrigTime(ii) to get the
      trigger times for SHMS ROC1, HMS ROC1, SHMS ROC2 and HMS ROC2.
      4d4418d0
  7. Apr 30, 2018
Loading