hep.lcd.contrib.recon.tracking.garfield
Class UnassociatedHits

java.lang.Object
  extended byhep.lcd.util.driver.AbstractProcessor
      extended byhep.lcd.contrib.recon.tracking.garfield.UnassociatedHits
All Implemented Interfaces:
Processor

public final class UnassociatedHits
extends AbstractProcessor

Provides list of hits which are not associated to standard tracks. Also purges hits from the list of unassociated hits which are to close (200 microns) to each other)

Known quick fixes:
- hitOnTrack: uses Monte Carlo info instead of hits to tracks pointer which is non-existent - will be corrected once we move to LCIO
- alreadyInList: quick fix instead of a decent hit Clustering algorithm. alreadyInList() simply dropps hits if they are too close to previously added hits

Known dependencies on SD or hep.lcd
- codeVXD = 1 for VTX hits is used
- distance of 200 miocrons is hardcoded in code (variable distCut)

Modification Log - June 2004 created, Eckhard von Toerne

Version:
1.1 08/11/04
Author:
E. von Toerne

Field Summary
 
Fields inherited from class hep.lcd.util.driver.AbstractProcessor
context
 
Constructor Summary
UnassociatedHits(java.lang.String folder, int i)
           
 
Method Summary
 boolean alreadyInList(java.util.List lst, TrackerHit h)
           
 boolean hitOnTrack(TrackList tracks, TrackerHit h)
           
 void process(LCDEvent event)
          Called by the driver when this processor should process an event.
 void setIgnoreHitsOnStdTrack(boolean val)
           
 
Methods inherited from class hep.lcd.util.driver.AbstractProcessor
clearContext, getDebugLevel, getDebugStream, getEventPrefix, getHistogramLevel, getName, getParameterFile, getParameters, getParameters, getRandom, histogram, init, setContext, setDebugLevel, setDetector, setEventPrefix, setHistogramLevel, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnassociatedHits

public UnassociatedHits(java.lang.String folder,
                        int i)
Method Detail

setIgnoreHitsOnStdTrack

public void setIgnoreHitsOnStdTrack(boolean val)

hitOnTrack

public boolean hitOnTrack(TrackList tracks,
                          TrackerHit h)

alreadyInList

public boolean alreadyInList(java.util.List lst,
                             TrackerHit h)

process

public void process(LCDEvent event)
Description copied from interface: Processor
Called by the driver when this processor should process an event. If the processor produces new output it should add it to the event.

Parameters:
event - The event to process


The LCD Group