Skip to content
Snippets Groups Projects
  1. Aug 15, 2019
  2. Jul 08, 2019
  3. May 31, 2019
    • Mark Jones's avatar
      Modify THcDC and THcHallCSpectrometer · b043a0c8
      Mark Jones authored
      1) THcDC
      a) Add variable to tree called dc.InsideDipoleExit
      which is a Bool_t flag that is kTRUE if golden track is inside the
      dipole exit. Uses THcHallCSpectrometer::InsideDipoleExitWindow
      in THcDC::SetFocalPlaneBestTrack to set variable.
      
      2) THcHallCSpectrometer
      a) Add method Bool_t InsideDipoleExitWindow which checks whether
      the track is within the dipole exit window. Checks
      prefix used for database to set flag
      fUseSHMSDipoleExitWindow or fUseHMSDipoleExitWindow
      to be true which is used in InsideDipoleExitWindow
      to select either SHMSDipoleExitWindow or
      HMSDipoleExitWindow method to be used as the test.
      b) Hardcoded z distance from spectrometer focal plane to
      dipole exit window.
      c) Methods Bool_t SHMSDipoleExitWindow and
      Bool_t HMSDipoleExitWindow return true/false if
      the track was inside/outside the dipole exit window.
      d) Added dipole exit window test to the BestTrackUsingPrune
      method. Need to set parameter hprune_DipoleExit=1 or
      pprune_DipoleExit=1 to use the test in the method.
      By default it is turned off.
      b043a0c8
  4. May 24, 2019
  5. May 22, 2019
  6. May 20, 2019
  7. May 12, 2019
    • Mark Jones's avatar
      Update ThcDriftChamber::LeftRight · e0e3dbcc
      Mark Jones authored
      The LeftRight method determines the sign of the wire
      distance for each hit in the spacepoint by looping
      through all combinations of wire signs and fitting each
      combination with a line  and selecting
      the combination with the lowest chi-squared.
      The fit to the line is known as the "stub" which
      is an array of the x,dx/dz, y and dy/dz of the fit
      and is associated each spacepoint. The stubs are
      used later in LinkStubs method
      to match spacepoints between two chambers to give a
      possible tracks.
      
      Previously the LeftRight method would only fit a
      stub for a spacepoint with 4 hits in the chamber if the
      parameter flag  HMSStyleChamber was true.
      HMSStyleChamber refers to the 6 GeV HMS chambers
      and we do not have them anymore.
      But not fitting the spacepoint, the stub
      was filled with zeros for x,dx/dz,y and dy/dz
      and these spacepoints would never be matched with
      other spacepoints to form a possible track.
      e0e3dbcc
Loading