Print

Print


Commit in lcsim/src/org/lcsim/recon/tracking/seedtracker on MAIN
ConfirmerExtender.java+14-21.16 -> 1.17
Added possibility of using z sector binning.

lcsim/src/org/lcsim/recon/tracking/seedtracker
ConfirmerExtender.java 1.16 -> 1.17
diff -u -r1.16 -r1.17
--- ConfirmerExtender.java	28 Feb 2011 19:07:57 -0000	1.16
+++ ConfirmerExtender.java	12 Jul 2013 23:07:05 -0000	1.17
@@ -40,6 +40,7 @@
     private MergeSeedLists _merger;
     private List<SeedCandidate> _result;
     private ISeedTrackerDiagnostics _diag = null;
+    private boolean _applySectorBinning=false;
 
     /**
      * Constructor for the ConfirmerExtender class.
@@ -160,6 +161,7 @@
 
         //  Instantiate the fast hit checker
         FastCheck checker = new FastCheck(strategy, bfield, _diag);
+        if(this._applySectorBinning) checker.setDoSectorBinCheck(this._hmanager.getSectorManager());
 
         //  Calculate the minimum number of hits to succeed, retrieve the chisq cuts
         int minhits = strategy.getMinHits();
@@ -273,7 +275,7 @@
 
                     //  No more layers and min hit requirement is met, seed is confirmed
                     _result.add(seed);
-
+                    
                 } else if (task == Task.EXTEND) {
 
                     //  Merge the seed into the list of extended seeds
@@ -281,7 +283,7 @@
 
                     //  If the seed survived the merge, make it our new best candidate
                     if (merged) bestseed = findBestCandidate(seed, bestseed, strategy);
-                }
+                    }
 
                 //  Done with this seed
                 continue;
@@ -369,4 +371,14 @@
         //  If no improvement, return the old candidate
         return oldbest;
     }
+    
+    /**
+     * Set to enable the sectoring to use the sector bins in checking for consistent hits.
+     *
+     * @param applySectorBinning apply sector binning switch
+     */
+    public void setApplySectorBinning(boolean applySectorBinning) {
+        _applySectorBinning = applySectorBinning;
+    }
+
 }
\ No newline at end of file
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1