Skip to content
Snippets Groups Projects
  1. Apr 17, 2015
  2. Apr 15, 2015
  3. Mar 31, 2015
  4. Feb 23, 2015
  5. Jan 16, 2015
  6. Jan 14, 2015
  7. Jan 08, 2015
  8. Aug 21, 2014
    • Zafar's avatar
      Golden track: · cf4b23b2
      Zafar authored
      Goldent track is moved to THcHallCSpectrometer::TrackCalc()
        if  fSelUsingScin == 0 then golden track is calculated just
        like podd. i.e. it is the first track with minimum chi2/ndf
        with sorting ON
      
        if fSelUsingScin == 1 then golden track is calculetd just like
        engine/HTRACKING/h_select_best_track_using_scin.h. This method
        gives the best track with minimum value of chi2/ndf but with
        additional cuts on the tracks. These cuts are on dedx, beta
        and on energy.
      
        This commit also corrects and modifies the beta code written
        in the THcHodoscope::FineProcess
      
        At this point we have godlend track and in additoion to
        previous vlues the following values are set to a track:
        Energy, beta, chi2 of beta and dedx[track][first hit].
      
      NOTE: For some tracks we have large differences in value of chi
            square between ENGINE and hcana and this is already
            discussed in the last group meeting. Following emails are
            exchanged regarding this difference of chisquare.
      
      email to Mark:
      
      Hi Mark,
      I tried to trace the origin of difference of the chi square value between
      ENGINE and hcana. Please see the attached file, it has long table which I
      cannot present in this email. Or you can see the file at the following
      link, thanks.
      
      https://userweb.jlab.org/~zahmed/chi2diff.txt
      
      Ahmed
      
      Mark's reply:
      Ahmed,
              Thanks. I agree with what you see, but there is also another reason
      for the difference. For the space point in ch2 the engine and hcana
      choose different left/right combinations. That is why you see the large
      jump in the summed chi2 from planes 9 and 10. The two codes pick
      different left/right because there is a cut on the difference between the
      measured stub xp and an expected xp = sp->GetX()/875  and one code has a combination
      slightly below the cut value and the other slightly above. I do not see a way
      to make the codes agree more exactly since the stub fitting involves a matrix
      inversion.
      
                      Cheers,
                             Mark
      cf4b23b2
  9. Aug 19, 2014
    • Zafar's avatar
      Beta: · f55341ed
      Zafar authored
      This commmit is only for Beta. THcHodoscope is modified and few
      bugs are fixed. I will not make pull request for this commit.
      Pull request will be made after the completion of Golden track
      in THcHallCSpectrometer.
      f55341ed
  10. Jun 17, 2014
    • Zafar Ahmed's avatar
      Add Hodoscop Time of Flight calculation · e8e8d6a4
      Zafar Ahmed authored
      Conversion of h_tof.f to THcHodoscope::CoarseProcess method.
      
       Quick summary of third version at  branch zafar1:
      
       New functions in THcScintillatorPlane.h
       ---------------------------------------
          TClonesArray* GetPosADC() { return fPosADCHits;}; // Ahmed
          TClonesArray* GetNegADC() { return fNegADCHits;}; // Ahmed
          TClonesArray* GetPosTDC() { return fPosTDCHits;}; // Ahmed
          TClonesArray* GetNegTDC() { return fNegTDCHits;}; // Ahmed
      
       New data members in THcHodoscope.h
       ----------------------------------
          TClonesArray* scinPosADC; // Ahmed
          TClonesArray* scinNegADC; // Ahmed
          TClonesArray* scinPosTDC; // Ahmed
          TClonesArray* scinNegTDC; // Ahmed
      
       Action in THcHodoscope::CoarseProcess
       -------------------------------------
       scinPosADC = fPlanes[ip]-GetPosADC();
       hitPaddle  = (THcSignalHit*)scinPosADC->At(ihit))->GetPaddleNumber()-1;
      e8e8d6a4
  11. Feb 18, 2014
  12. Jan 17, 2014
  13. May 02, 2013
    • Mark Jones's avatar
      1) Add TClone arrays to store the raw scint TDC and ADC paddle and values · 1888bb33
      Mark Jones authored
      The arrays are  frPosTDCHits, frNegTDCHits,frPosADCHits and frNegADCHits
      There are filled in THcScintillatorPlane:ProcessHits
      2) Also modified THcScintillatorPlane::ProcessHits explicitly set variable
      padnum=hit->fCounter and index=padnum-1 so the the TClone arrays for
      scintillator variable set padnum=1,16 while the index=0-15
      Want pdnum=1-16 because it is used in a hitogram fo counts versus
      paddle number
      3) Because of change to filling PaddleNumber in ProcessHits had
      to modify THcScintillatorPlane::PulseHeightCorrection so the
      index variable "j" is set to etPaddleNumber()-1 .
      1888bb33
  14. Apr 09, 2013
  15. Mar 05, 2013
    • Gabriel Niculescu's avatar
      G.N. 2013 · ddd3cf9a
      Gabriel Niculescu authored
      Calculating pulse height correction for the hodoscope.
      Calculating focal plane times for each scintillator plane - (in THcScintillatorPlane)
      Calculating hodoscope start time (average of fp times) - (in THcHodoscope)
      ddd3cf9a
  16. Feb 05, 2013
  17. Jan 28, 2013
  18. Dec 20, 2012
    • Gabriel Niculescu's avatar
      GN: Added variables and procedures for reading hodoscope parameters found in: · 0dc7956d
      Gabriel Niculescu authored
      xhodo.pos and xhodo.param
      THcHodoscope generally holds:
      - singular variables (i.e. central path through the spectrometer, min/max limits for the ADCs, TDCs, etc.)
      - "padded arrays" (i.e. look at the plane with the most scintillators, allocate and array that has max_no_scint * no_of_planes - these are mostly found in the .param file)
      THcScintillatorPlane generally holds:
      - simple variables containing plane-specific info (z-position, scintillator size and spacing)
      - arrays sized appropirately for the specific plane (i.e. individual x (or y) positions for all scintillators in a plane, signal propagation speed in the paddle, etc.)
      0dc7956d
  19. Nov 02, 2012
  20. Aug 28, 2012
    • Stephen A. Wood's avatar
      Pedestal work. · 6aec21a3
      Stephen A. Wood authored
      Use cut file to determine what is a pedestal event.  Pedestal events
      only proceed to Decode.
      In Decode (Just THcHodoscope for now) loop through each plane and accumulate
      pedestal data.  Calculate the pedestals at the first non-pedestal event.
      Pedestals are just calculated, but nothing is done with them.
      6aec21a3
  21. Jun 06, 2012
  22. May 09, 2012
  23. May 08, 2012
  24. May 07, 2012
  25. May 05, 2012
  26. May 04, 2012
  27. May 03, 2012
Loading