Skip to content
Snippets Groups Projects
  1. Mar 16, 2018
  2. Mar 15, 2018
    • Stephen A. Wood's avatar
      Simplify THcFormula so that code from THaFormula is not duplicated. · a11e43b3
      Stephen A. Wood authored
         THcFormula::DefinedValue is removed as
           THaFormula::DefinedValue now handles the kCutScaler and kCutNCalled types
      a11e43b3
    • Stephen A. Wood's avatar
    • Stephen A. Wood's avatar
      Update to podd 1.6.0 release. · cc81cf4b
      Stephen A. Wood authored
            Includes THaFormula patches needed for THcFormula simplification
      cc81cf4b
    • Stephen A. Wood's avatar
      Sync main.C with podd version. · 3896ee58
      Stephen A. Wood authored
        Fix annoyance of spurious extra prompt on exit
        Add -l, -v and --version command line options
      3896ee58
    • Stephen A. Wood's avatar
      Inherit THcInterface from THaInterface · 36e2347b
      Stephen A. Wood authored
      36e2347b
    • hallc-online's avatar
      Modified THcDriftChamber · 2eba5f37
      hallc-online authored
      1) Add to tree variable arrays stub_x,stub_xp,stub_y and stub_yp
          and ncombos. These are arrays of the number of spacepoints in
          the chamber.
      
      2) In ReadDatabase
         a) new variable  fRatio_xpfp_to_xfp which is set differently
             for HMS and SHMS. Used in method LeftRight
         b) Set default value of optional parameter fStubMaxXPDiff = 999.
      
      3)  Modified method LeftRight
         a) Previously only for the old fHMSStyleChambers would
            the code only select LR combinations where
            the difference between stub_xp to space_point_X*ratio is
              with in the fStubMaxXPDiff .
            The ratio came from the HMS optics.
         b) Changed LeftRight so that if fStubMaxXPDiff < 100
               then the code will only select LR combinations where
            the difference between stub_xp to space_point_X*ratio is
              with in the fStubMaxXPDiff . The ratio is
            set in ReadDataBase according to the spectrometer.
      
      
      5) In FindSpacePoints add some comments.
      2eba5f37
    • hallc-online's avatar
      Modified THcDC.cxx · b0abd6ab
      hallc-online authored
      b0abd6ab
    • hallc-online's avatar
      Modify THcDC and THcSpacePoint.h · d12c9130
      hallc-online authored
      Modified THcSpacePoint.h to have public member that keeps track
         of the spacepoint ID number for each chamber.
         Used in THcDC::LinkStubs
      
      Modified THcDC.cxx and h
      1) Add tree variables sp1_id and sp2_id which are the integer
          ID in the spacepoints in each chamber used in the golden track.
           The ID refers to index in array of spacepoints created in
           THcDriftChamber.cxx
      
      2) Modify LinkStub to fill sp1_id and sp2_id for each track
      
      3) For golden track fill sp1_ID_best and sp2_ID_best
      d12c9130
    • hallc-online's avatar
      Modify THCDCTrack · 973412c2
      hallc-online authored
      Add methods for setting the spacepoint integer identifier
        for two spacepoints used in the track.
      973412c2
    • hallc-online's avatar
      Modify THcSpacePoint.h · e546ebb1
      hallc-online authored
      Add calls:
      +  Double_t GetStubX() {return fStub[0];};
      +  Double_t GetStubXP() {return fStub[2];};
      +  Double_t GetStubY() {return fStub[1];};
      +  Double_t GetStubYP() {return fStub[3];};
      e546ebb1
  3. Mar 14, 2018
  4. Mar 07, 2018
  5. Mar 06, 2018
    • hallc-online's avatar
      Modify THcExtTarCor.cxx and THcReactionPoint · 810f8b3e
      hallc-online authored
      Fix sign mistake in correction for vertical pointing offset
         in THcExtTarCor.cxx
      
      Write Hall C version of THcReactionPoint
      810f8b3e
    • hallc-online's avatar
      Updated THcCherenkov.cxx and h · 13c30107
      hallc-online authored
      Add new ntuple variables
      goodAdcMult == the number of hits in raw ADc for that channel
      goodAdcHitUsed == which hit number of the raw ADC hits passed the
                            the ADC time window cut
      
      Modified fAdcTimeWindowMin  and fAdcTimeWindowMax to be arrays
        that are the size of the number of Cerenkov pmts.
      13c30107
  6. Feb 20, 2018
    • Stephen A. Wood's avatar
    • Stephen A. Wood's avatar
      Don't print missing reference time errors for ADC's. · 7df38f56
      Stephen A. Wood authored
        Statistics for missing ADC reference times are still accumulated
        and still printed at the end of the run and stored in parameters.
      7df38f56
    • hallc-online's avatar
      Add new Track Efficiency Test to THcHodoscope · 2057c6e3
      hallc-online authored
      Moved the old track efficiency tests to OriginalTrackEffTest method and
      this is presently commented out. Eventually can be eliminated.
      
      The old track efficiency assumed that both planes had matching
        paddlle spacing which is not true for SHMS.
      
      Added new method TrackEffTest which calculates the number of clusters
        in each plane and the position for the cluster for scintillator
        paddle that had good times in both ends. Selects events with
        one cluster with size of 1 or 2 in either 4 of 4 planes
        or 3 of 4 planes. Also checks that the events are inside
        a given range of scintillator paddles.
      2057c6e3
  7. Feb 19, 2018
  8. Feb 15, 2018
  9. Feb 12, 2018
  10. Feb 11, 2018
    • hallc-online's avatar
      Update THcHallCSpectrometer and THcExtTarCor · f34d57d9
      hallc-online authored
      THcHallCSpectrometer
        1) Add variables fMispointing_x and fMispointing_y
          which are filled by parameters hmispointing_x, hmispointing_y
            in PARAM/HMS/GEN/hmsflags.param and pmispointing_x, pmispointing_y
            in PARAM/SHMS/GEN/shmsflags.param .
         The offsets are used in THcExtTarCor and THaReactionPoint
        2) Modify argument to method CalculateTargetQuantities to be xtar
           instead of gbeam_y .
      
      THcExtTarCor
         1) add call to get spectrometer pointing offsets
         2) The mispointing_x is added to xtar
         3) Set xtar to start as -beam_y = - vertex(1)+mispointing_x for first call to CalculateTargetQuantities
            After first call the xtar is recalculated using the returned xptar
            and a second call is done to get the target xptar,ytar,yptar and delta.
          4) Fill golden track with final xtar
      f34d57d9
  11. Feb 05, 2018
  12. Feb 04, 2018
    • hallc-online's avatar
      Modify THcExtTarCor.cxx · 0ba61e7f
      hallc-online authored
      Added call trkifo->Set since it is used in THcPrimaryKine and THcSecondaryKine
      
      Fill golden track with target quantities after correction for
        vertical target position.
      0ba61e7f
    • hallc-online's avatar
      Update THcRaster.cxx · 3c7a9103
      hallc-online authored
      When filling beam position that is used in determining the reaction
        point multiply the raster X by -1 to put in the right handed coordinate system
      
      The raster coordinate system is left-handed to match the EPICS beam
        coordinate system.
      3c7a9103
  13. Feb 03, 2018
    • hallc-online's avatar
      Modify THcTrigDet.h · 3a794660
      hallc-online authored
      Increase default size
          static const int fMaxAdcChannels = 200;
          static const int fMaxTdcChannels = 200;
      3a794660
  14. Jan 30, 2018
  15. Jan 29, 2018
  16. Jan 27, 2018
    • hallc-online's avatar
      Modify THcScalerEvtHandler · a3f44011
      hallc-online authored
      1) add error message if Time between sucessive reads is zero.
          This should never happen.
      
      2) Add the event number of that scaler read to the Scaler root tree
         The tree variable is evNumber
      a3f44011
  17. Jan 22, 2018
  18. Jan 12, 2018
Loading