hep.lcd.vertexing.zvtop
Class ZvgGhostTrackFinder

java.lang.Object
  |
  +--hep.lcd.vertexing.zvtop.ZvgGhostTrackFinder

public class ZvgGhostTrackFinder
extends Object

ZvgGhostTrackFinder -- find the optimum ghost track axis for a given set of tracks

CAUTION: This class is part of an upcoming extension of ZvTopVertexer. It is not necessarily fully working and may change frequently.

Version:
$Id: ZvgGhostTrackFinder.java,v 1.2 2001/06/05 18:20:59 walkowia Exp $
Author:
W.Walkowiak, 05/26/01
Source Code:
ZvgGhostTrackFinder.java

Constructor Summary
ZvgGhostTrackFinder()
           
ZvgGhostTrackFinder(ZvgGhostTrackFinder prevFinder)
          copy constructor
ZvgGhostTrackFinder(ZvTrackList trackList, double[] xIP, double[] guessDir, double[] jetDir, ZvgGTFParam params)
          Constructor with initialization.
 
Method Summary
 ZvgGTFStatus findGhostTrack()
          Do the actual ghost track finding.
 ZvgChi2Calculator getChi2Calculator()
          Get a handle to the ZvChi2Calculator used.
 ZvgCMatList getCMatList()
          Get the swum list of C matrices.
 ZvGhostTrack getGhostTrack()
          Get the resulting ghost track.
 ZvgGTFParam getParameters()
          Get a handle to the currently used constant parameter set.
 Swimmer getSwimmer()
          Get handle to the currently set swimmer.
 ZvTrackList getZvTrackList()
          Get handle to original ZvTrackList being used.
 void init(ZvTrackList trackList, double[] xIP, double[] guessDir, double[] jetDir, ZvgGTFParam params)
          Initialize with track list, IP position, intial guess direction for the ghost track, jet direction and parameters.
 void setInitGuessDir(double[] guessDir)
          Set initial guess direction for ghost track.
 void setIP(double[] xIP)
          Set reference point (eg IP)
 void setJetDirection(double[] jetDirection)
          Set jet direction
Needed to calculate soft jet core weight in chi2.
 void setParameters(ZvgGTFParam parameters)
          Set the constant parameter set.
 void setSwimmer(Swimmer swimmer)
          Set the swimmer to be used.
Default: ZvSwimmer with it's default settings.
 void setZvTrackList(ZvTrackList trackList)
          Set ZvTrackList to be used.
 ZvgGTFStatus status()
          Get the current status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZvgGhostTrackFinder

public ZvgGhostTrackFinder()

ZvgGhostTrackFinder

public ZvgGhostTrackFinder(ZvTrackList trackList,
                           double[] xIP,
                           double[] guessDir,
                           double[] jetDir,
                           ZvgGTFParam params)
Constructor with initialization.
See Also:
init(hep.lcd.vertexing.zvtop.ZvTrackList, double[], double[], double[], hep.lcd.vertexing.zvtop.ZvgGTFParam)

ZvgGhostTrackFinder

public ZvgGhostTrackFinder(ZvgGhostTrackFinder prevFinder)
copy constructor
Method Detail

init

public void init(ZvTrackList trackList,
                 double[] xIP,
                 double[] guessDir,
                 double[] jetDir,
                 ZvgGTFParam params)
Initialize with track list, IP position, intial guess direction for the ghost track, jet direction and parameters.

setZvTrackList

public void setZvTrackList(ZvTrackList trackList)
Set ZvTrackList to be used.

getZvTrackList

public ZvTrackList getZvTrackList()
Get handle to original ZvTrackList being used.

setIP

public void setIP(double[] xIP)
Set reference point (eg IP)

setJetDirection

public void setJetDirection(double[] jetDirection)
Set jet direction
Needed to calculate soft jet core weight in chi2.

setInitGuessDir

public void setInitGuessDir(double[] guessDir)
Set initial guess direction for ghost track.
Needed to calculate soft jet core weight in chi2.

setParameters

public void setParameters(ZvgGTFParam parameters)
Set the constant parameter set.

getParameters

public ZvgGTFParam getParameters()
Get a handle to the currently used constant parameter set.

setSwimmer

public void setSwimmer(Swimmer swimmer)
Set the swimmer to be used.
Default: ZvSwimmer with it's default settings.

getSwimmer

public Swimmer getSwimmer()
Get handle to the currently set swimmer.

status

public ZvgGTFStatus status()
Get the current status.

getGhostTrack

public ZvGhostTrack getGhostTrack()
Get the resulting ghost track.

getCMatList

public ZvgCMatList getCMatList()
Get the swum list of C matrices.

findGhostTrack

public ZvgGTFStatus findGhostTrack()
Do the actual ghost track finding.
Returns false on error.

getChi2Calculator

public ZvgChi2Calculator getChi2Calculator()
Get a handle to the ZvChi2Calculator used.


The LCD Group