Skip to content
Snippets Groups Projects
  1. Nov 01, 2013
  2. Oct 31, 2013
  3. Oct 18, 2013
    • Stephen A. Wood's avatar
      Add template driven end of run reports to analyzer class · f0efa3a6
      Stephen A. Wood authored
      Inspired by ENGINE/CTP report generator
        Reports generated by
          THcAnalyzer::PrintReport(templatefilename,outputfilename)
          template is copied to output, {stuff} is replaced by the
             value of stuff.  Value can be formated with c formater, eg.
                 {stuff:%.2f}
        ThcFormula added to allow more flexibility of variables.
          Can get number of times cuts pass or are called with:
             cutname.npassed (or cutname.scaler) and cutname.ncalled
      f0efa3a6
  4. Oct 10, 2013
  5. Oct 02, 2013
  6. Sep 26, 2013
    • Stephen A. Wood's avatar
      Parameters to optionally correct small ENGINE DC hit handling errors. · 6a33dcf3
      Stephen A. Wood authored
         {prefix}dc_fix_lr
              Historically, in the ENGINE, if a hit is used in multiple
              space points/stubs, the left/right assignment for that hit, which
              is later used in track fitting, is that assigned for the last stub
              encountered with that hit.  Properly, the left right assignment
              should be allowed to be different in different space points.  If
              this parameter is set to zero (e.g. in hcana.param), then the
              ENGINE behavior is used.  For new analyses, it should be set to one.
              (Which is the default)
         {prefix}dc_fix_propcorr
              When a hit gets put into a stub, the distance of the hit from the
              discriminator can then be estimated.  In the engine, a correction to
              the drift time (and thus drift distance) is applied.  However, if
              that hit ends up in another stub, the correction will get applied again,
              resulting in a over correction.  Setting this flag to 1 will give that
              hit a different corection for each stub that it is in.
      
      These flags will default to the new "correct" way of handling hits if
      the above parameters are not set in a parameter file.  Currently, both
      flags are set to zero in hcana.param to replicate the ENGINE behavior.
      
      To implement these changes, the propagation correction and L/R information
      for each hit is saved in space point and track classes.  This information
      is still saved in the hit class, but only used if in ENGINE compatibility
      mode.
      
      The THcDCTrack class now saves a list of space point pointers instead
      of space point indices.
      
      The AddSpacePoint method now also copies all the hit information into
      the track object so that THcDC doesn't need to explicitely copy all
      the hits.
      
      The FindStub method, which fits a stub track to a space point is passed
      the space point rather than a list of hits
      6a33dcf3
  7. Sep 23, 2013
  8. Sep 18, 2013
  9. Aug 28, 2013
  10. Aug 23, 2013
  11. Aug 21, 2013
  12. Aug 20, 2013
  13. Aug 19, 2013
  14. Aug 08, 2013
  15. Jul 25, 2013
  16. Jul 23, 2013
  17. Jul 19, 2013
  18. Jun 11, 2013
  19. May 29, 2013
  20. May 28, 2013
  21. May 19, 2013
  22. May 16, 2013
  23. May 15, 2013
  24. 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
  25. Apr 16, 2013
  26. Apr 09, 2013
Loading