Skip to content
Snippets Groups Projects
  1. May 30, 2013
    • Stephen A. Wood's avatar
      Change space point from a structure to a full class · a48ac69c
      Stephen A. Wood authored
        THcDriftChamber::SpacePoint -> THcSpacePoint
        That way space points can be put in a TClonesArray and be made known
        to THcDC when stub information is added.
      a48ac69c
    • Stephen A. Wood's avatar
    • Mark Jones's avatar
      IN THcDriftChamber.cxx : · 12e1b5fa
      Mark Jones authored
        1)   Moved hardcoding of Yplane plane number to Addplane since it is called
           before ReadDatabase
        2) In FindEasySpacePoint add variable max_dist to match the code in
           h_find_easy_space_point.f more and fix problem
        3) As in h_find_easy_space_point  use max_dist instead
           of FSpacePointCriterion in IF statement to pick matching "x" hits.
      In THCDC.h
        1) Set GetPicth and GetCentralWire as Double_t
        2) Set  GetSpacePointCriterion to return fSpace_Point_Criterion2[chamber-1]
           instead of sqrt
      12e1b5fa
  2. May 16, 2013
  3. May 15, 2013
  4. May 02, 2013
    • Stephen A. Wood's avatar
      8e9af63d
    • 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
  5. May 01, 2013
  6. Apr 30, 2013
    • Stephen A. Wood's avatar
      Implement DC Space Point finding · b519f00b
      Stephen A. Wood authored
        New class THcDC is whole set of wire chambers.
        THcDriftChamber is one chamber (6 planes)
        Implement space point finding from h_pattern_recognition up to point
           before where space point lists from the two chambers are combined.
        Includes
            FindEasySpacePoint   (h_find_easy_space_point)
            FindHardSpacePoints  (find_space_points)
            DestroyPoorSpacePoints (h_sp_destroy)
            SpacePointMultiwire  (h_sp_multiwire)
            ChooseSingleHit 	   (h_choose_single_hit)
            SelectSpacePoint	   (select_space_points)
      
      Space points are arrays of structures in the THcDriftChamber class.  Will
      probably need to take space points out class so that they can be looked at
      at the THcDC level.
      
      New code is only tested to see that it compiles and that space points
      are sometimes found.
      b519f00b
  7. Apr 19, 2013
  8. Apr 09, 2013
  9. Mar 25, 2013
  10. Mar 21, 2013
    • Stephen A. Wood's avatar
      Histogram every shower counter channel. · 85dd8ba6
      Stephen A. Wood authored
      Started with Simon's code, but reworked:
      	Use podd style arrays in RVarDef.
      	Get plane names (1pr, 2ta, 3ta, 4ta) from parameter file.
      	Get block counts from parameters instead of hardwiring.
      	Rename histogram names to be A,B,C,D 1-13, instead of 1-52
      85dd8ba6
  11. Mar 19, 2013
  12. Mar 08, 2013
    • Stephen A. Wood's avatar
      Add computation of drift distance from drift time. · 58c45eee
      Stephen A. Wood authored
        It has not been check that we are getting a good start time yet.
        Drift time and distance added to tree
        Change DC plane names from 1, 2, 3, ... to 1x1, 1y1, ...
          This is so that the parameters holding the time to distance maps
             can be found.  (The parameters are e.g. hwc1x1fract)
          Need to find a way not to have to hard code these plane names.
             Either use wire angles (alpha) or some kind of parameter name mapping
        Changed output.def to match new plane names
      58c45eee
  13. 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
  14. Feb 07, 2013
  15. Feb 05, 2013
  16. Jan 29, 2013
  17. Jan 28, 2013
  18. Jan 21, 2013
    • Stephen A. Wood's avatar
      New parameter file for "extra" parameters". · 961e391c
      Stephen A. Wood authored
          Define constants (e.g. plane counts) that are not defined in
          the ENGINE parameter files so that the detector classes
          can be more generic.
          Hodoscope and Aerogel now pick up plane and tube counts from this file
      961e391c
    • Stephen A. Wood's avatar
      Drift chamber code work. Modeled on podd and h_trans_dc.f · b1b202d2
      Stephen A. Wood authored
            Start adding to the drift chamber code.   Setup a class structure
            similar to what podd uses for the VDCs.  Raw hit class renamed
            to THcRawDCHit.  Signal hits are how THcDCHit, modeled after
            podd hits.  Add THcDCWire, and classes for time to distance conversion.
            Time to distnace conversion doesn't do anything yet.
      
            Find some improved DC parameter files so that min and max TDC limits
            are good for the run we are using.
      
            THcDriftChamberPlane asks ThcDriftChamber for many parameters.
      b1b202d2
  19. Dec 20, 2012
  20. Dec 07, 2012
    • Stephen A. Wood's avatar
      Flesh out the Aerogel analysis a bit. · e9ef7df5
      Stephen A. Wood authored
          Register some more variables for the tree
          Clear fNelem of some arrays, not fNhits.
          Print method to print Aerogel pedestals.
          Make Pedestal analysis a bit more like the ENGINE.
          Initialize counters
      e9ef7df5
  21. Nov 05, 2012
  22. Nov 02, 2012
  23. Sep 19, 2012
Loading