Skip to content
Snippets Groups Projects
  1. Dec 06, 2017
  2. Dec 05, 2017
  3. Dec 04, 2017
    • Mark Jones's avatar
      Modify THcHodoscope · 7fb70fe2
      Mark Jones authored
      Add ability to cut on number of PE in Cherenkov when dumping events
        for TOF calibration
      
      Add parameter fTOFCalib_cer_lo
      
      Add ability to cut on track beta when dumping events
        for TOF calibration
      
      Add parameter fTOFCalib_beta_lo and fTOFCalib_beta_hi
      
      Parameters are optional. Default set to kBig or -kBig
      
      THere was already a possible cut on Shower energy/momentum
      7fb70fe2
  4. Dec 02, 2017
  5. Nov 30, 2017
  6. Nov 28, 2017
    • Mark Jones's avatar
      Modified THcHodoscope.cxx · 50dd10d9
      Mark Jones authored
      Moved writing of the TOF calibration dump file to FineProcess
      Added cut on shower energy/momenutum
      Add parameters fTOFCalib_shtrk_lo and fTOFCalib_shtrk_hi .
      
      Add parameter fNumPlanesBetaCalc which allows one to set how many
      planes to use in beta calculations. Useful for SHMS.
      fNumPlanesBetaCalc defaults to 4 if not set.
      50dd10d9
  7. Nov 22, 2017
  8. Nov 21, 2017
  9. Nov 17, 2017
  10. Nov 14, 2017
    • Mark Jones's avatar
      Fix logical flaw in THcScintillator::ProcessHits in finding good adc hit in... · e08f4f58
      Mark Jones authored
      Fix logical flaw in THcScintillator::ProcessHits in finding good adc hit in multiple hits in one channel
      
      When looping over hits to find the best ADC hit, the code was looping over
      frNegAdcPulseInt->GetEntries() or frPosAdcPulseInt->GetEntries()
      which are the raw arrays that are filled for all raw hits in the plane
      The code was not  using the proper indexes to access the right hits.
      
      The logic is simpler if one loops over rawNegAdcHit.GetNPulses()
      or rawPosAdcHit.GetNPulses() which are the the raw hit object for the
      paritcular hit. NPulses is the number of ADC pulses that were found for that
      adc channel.
      The first adc pulse for the channel which is within the adc time window
      then has its information saved for late insertion into the "good"
      vectors for the hit if either the hit passes 'good" tdc and adc for the POS
      or NEG side of the PMT.
      e08f4f58
  11. Nov 07, 2017
  12. Nov 06, 2017
  13. Nov 03, 2017
    • Mark Jones's avatar
      Modify THcHodoEff.cxx · cbc17043
      Mark Jones authored
      Fix mistake in THcHodoEff::End
      cbc17043
    • Mark Jones's avatar
      Modify THcHodoEff.cxx · 3849b22b
      Mark Jones authored
      Add back parameter hodo_gold_hits which is the number of "should" hits
        for each paddle. Needed to calculate efficiency per paddle in
        end run template
      3849b22b
    • Mark Jones's avatar
      Modify THcDC::Setup · decdb99f
      Mark Jones authored
      Set fHMSStyleChambers =1 according to dc_version parameter.
      If no dc_version parameter loaded defaults to old HMS style chambers
      decdb99f
    • Mark Jones's avatar
      Modify THcHodoEff.cxx and h · d5763f24
      Mark Jones authored
          1. Add arrays over paddle num : fStatTrkSum,fStatAndSum and fStatAndEff
          2. Add scalers fHodoEff_s1,fHodoEff_s2,fHodoEff_tof,fHodoEff_3_of_4,fHodoEff_4_of_4
          3. Modify End method to calculate the hodoscope trigger efficiency quantities
      d5763f24
    • Mark Jones's avatar
      Update THcHodoscope, THcScintillatorPlane · b625a5a7
      Mark Jones authored
          THcHodoscope.cxx
          1. Remove from the use of "temp_planes" for SHMS which
               used only 3 planes for beta and determination of start time.
      
          2. With change of Integral ADC to pC, change TMath::Sqrt(TMath::Max(20.0,adc_pos))
            to Math::Sqrt(TMath::Max(20.0*.020,adc_pos)) to convert 20 channels to pC
      
          3. Set fGoodFlags[itrack][ip][iphit].onTrack = kTRUE; when fTOFPInfo[ih].onTrack
             Was always FALSE before.
      
          4. Modify FineProcess
             a. Add calculation of the track X and Y track position at each plane.
             b. Calculate the difference between the track position and position
                measured by hodoscope center. If multiple paddles hit then take
                average of the paddles.
      
          THcScintillatorPlane.h and cxx
      
          1. add variables fHitDistance,fTrackXPosition and fTrackYPosition
          2. add methods GetHitDistance(),GetTrackXPosition(),GetTrackYPosition()
          3. add methods SetHitDistance,SetTrackXPosition,SetTrackYPosition
          4. add variables to tree DiffDisTrack,TrackXPos and TrackYPos
          5. set GoodPosAdcPulseTime to frPosAdcPulseTime
          6. set fGoodNegAdcPulseTime to frNegAdcPulseTime
          7. in HodoHit set PosADCtime and NegADCtime to PulseTime
      b625a5a7
  14. Nov 02, 2017
  15. Oct 31, 2017
  16. Oct 30, 2017
  17. Oct 27, 2017
  18. Oct 25, 2017
    • Stephen A. Wood's avatar
    • Stephen A. Wood's avatar
      Address issue #271. Interpret TI information in event 125. · 554a7dca
      Stephen A. Wood authored
        This TI information, between the words 0xd0000000 and 0xd000000f,
        contains the # of pedestals, the time interval between scaler events
        the event interval between synchronized scaler events and the
        prescale settings.  Two versions of this block of data are supported,
        version one is mssing the scaler interval values.
      
        Nothing is actually done with the information found in event 125, but
        a summary can be printed with the method THcConfigEvtHandler::PrintConfig()
      554a7dca
    • Stephen A. Wood's avatar
      Change behaviour for multiple ROCs with scalers. · cd8e6910
      Stephen A. Wood authored
        1.  If there are multiple ROCs with scalers (hardware, TI, FADC), then
      there will be multiple event 129s.  In the case where analysis of these
      events is defered to the end of the analysis, all the event 129s will
      be analyzed as if a single event, resulting in one entry in the tree.
        2.  Scalers are read either when a given time interval has passed since
      the last scaler read (usually 2 seconds), or every time an event is tagged
      as a sync event.  In the case of the "timed" reading of events, different ROCs
      with scalers are not guaranteed to read their scalers at the same event.  But
      or sync event scaler reads, all ROCs read their scalers.  This commit adds an
      option SetOnlyUseSyncEvents(Bool_t).  If set, only scaler events triggered
      by the sync event will be analyzed.
      cd8e6910
Loading