hep.lcd.recon.tracking.ccd
Class CCDReco

java.lang.Object
  |
  +--hep.lcd.util.driver.AbstractProcessor
        |
        +--hep.lcd.recon.tracking.ccd.CCDReco

public final class CCDReco
extends AbstractProcessor
implements VertexDetector

Assign CCD detector points to tracks.

Source Code:
CCDReco.java

Field Summary
 boolean trace
           
 boolean vectorsOnly
           
 
Fields inherited from class hep.lcd.util.driver.AbstractProcessor
context
 
Constructor Summary
CCDReco(Tracker tracker)
           
CCDReco(Tracker tracker, boolean hist)
           
 
Method Summary
 int assignHits(int it)
           
 void finishEvent()
           
 int getNPoints(int itrk)
          Get number of points on a track.
 int getNTracks()
          Get number of track found.
 Specifications getSpecifications()
           
 TrackerHit getTrkHit(int itrk, int ip)
           
 int getTrkHitID(int itrk, int ip)
           
 double[] getTrkPoint(int itrk, int ip)
          Get a space point on the track.
 String getType()
          Get type of VertexDetector.
 void process(LCDEvent event)
          Called by the driver when this processor should process an event.
 void releaseHits(int it)
           
 void setRPhiResolution(double res)
          Set resolutions
 void setZResolution(double res)
           
 void startEvent(LCDEvent event)
           
 
Methods inherited from class hep.lcd.util.driver.AbstractProcessor
clearContext, getDebugLevel, getDebugStream, getHistogramLevel, getName, getParameterFile, getParameters, getParameters, getRandom, histogram, init, setContext, setDetector, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.lcd.util.driver.Processor
clearContext, getName, setContext, setDetector, start, stop
 

Field Detail

trace

public boolean trace

vectorsOnly

public boolean vectorsOnly
Constructor Detail

CCDReco

public CCDReco(Tracker tracker)

CCDReco

public CCDReco(Tracker tracker,
               boolean hist)
Method Detail

getSpecifications

public Specifications getSpecifications()
Specified by:
getSpecifications in interface VertexDetector

setRPhiResolution

public void setRPhiResolution(double res)
Set resolutions

setZResolution

public void setZResolution(double res)

getType

public String getType()
Get type of VertexDetector.
Specified by:
getType in interface VertexDetector

getNTracks

public int getNTracks()
Get number of track found.
Specified by:
getNTracks in interface VertexDetector

getNPoints

public int getNPoints(int itrk)
Get number of points on a track.
Specified by:
getNPoints in interface VertexDetector

getTrkPoint

public double[] getTrkPoint(int itrk,
                            int ip)
Get a space point on the track. Notice, that point index ip starts from 1 not 0
Specified by:
getTrkPoint in interface VertexDetector

getTrkHit

public TrackerHit getTrkHit(int itrk,
                            int ip)
Specified by:
getTrkHit in interface VertexDetector

getTrkHitID

public int getTrkHitID(int itrk,
                       int ip)
Specified by:
getTrkHitID in interface VertexDetector

startEvent

public void startEvent(LCDEvent event)
Specified by:
startEvent in interface VertexDetector

finishEvent

public void finishEvent()
Specified by:
finishEvent in interface VertexDetector

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.
Specified by:
process in interface Processor
Following copied from interface: hep.lcd.util.driver.Processor
Parameters:
event - The event to process

releaseHits

public void releaseHits(int it)
Specified by:
releaseHits in interface VertexDetector

assignHits

public int assignHits(int it)
Specified by:
assignHits in interface VertexDetector


The LCD Group