View Javadoc

1   package org.lcsim.recon.tracking.seedtracker;
2   
3   /**
4    * Classes implementing this interface can define additional requirements on seeds and tracks.
5    * To make a particular {@link SeedTracker} driver use these requirements, call its
6    * <tt>setTrackCheck(TrackCheck)</tt> method.
7    * <p>
8    * The <tt>checkSeed(SeedCandidate)</tt> method will be called for each 3-hit seed candidate
9    * after the initial helix fit, before trying to attach any additional hits in confirmation layers.
10   * If the method returns <tt>false</tt>, the seed candidate will be discarded.
11   * <p>
12   * The <tt>checkTrack(SeedTrack)</tt> method will be called for each found track before saving
13   * it into the event record. If the method returns <tt>false</tt>, the track will be discarded.
14   *
15   * @author D. Onoprienko
16   * @version $Id: TrackCheck.java,v 1.1 2009/08/07 23:33:17 onoprien Exp $
17   */
18  public interface TrackCheck {
19  
20    boolean checkSeed(SeedCandidate candidate);
21  
22    boolean checkTrack(SeedTrack track);
23  
24  }