Skip to content
Snippets Groups Projects
Commit b625a5a7 authored by Mark Jones's avatar Mark Jones Committed by Mark K Jones
Browse files

Update THcHodoscope, THcScintillatorPlane

    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
parent a3a999e4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment