hep.lcd.vertexing.zvtop
Class ZvProbTubeList

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

public class ZvProbTubeList
extends Object
implements Serializable

ZvProbTubeList -- ZvTop vertex significance calculation class class holds a list of probabilty tubes for tracks.

Version:
$Id: ZvProbTubeList.java,v 1.2 2001/06/05 18:20:56 walkowia Exp $
Author:
W.Walkowiak, 09/23/00
See Also:
Serialized Form
Source Code:
ZvProbTubeList.java

Constructor Summary
ZvProbTubeList()
           
ZvProbTubeList(Swimmer swimmer)
          This constructor passes a specified swimmer.
ZvProbTubeList(ZvProbTubeList vp)
          copy constructor
ZvProbTubeList(ZvTrackList tl)
          This constructor takes a list of ZvTracks
ZvProbTubeList(ZvTrackList tl, double[] refPoint, double scaleFac)
          This constructor takes a list of ZvTracks
--- define reference point (IP) and tube coeff's scale factor as well
ZvProbTubeList(ZvTrackList tl, double[] refPoint, double scaleFac, ZvTrack track)
          This constructor takes a list of ZvTracks
--- define reference point (IP), tube coeff's scale factor and lepton/high impact track as well
 
Method Summary
 void addTrack(ZvTrack track)
          add a single track (ZvTrack)
-- use default reference point (IP) and default tube scaling
 void addTrack(ZvTrack track, double[] refPoint)
          add a single track (ZvTrack) with reference point (IP) -- use default tube scaling
 void addTrack(ZvTrack track, double[] refPoint, double scaleFac)
          add a single track (ZvTrack) with reference point (IP) -- and tube scaling
 void addTube(ZvProbTube tube)
          add a single probability tube
 void addTubes(Enumeration e)
          Add an Enumeration of ZvProbTubes
 void addTubes(ZvProbTubeList vp)
          Add a list of ZvProbTubes, ie from a ZvProbTubeList object
 void addZvTracks(Enumeration e)
          Add an enumeration of ZvTracks
-- use default refPoint and tube scaling factor
 void addZvTracks(Enumeration e, double[] refPoint, double scaleFac)
          Add an enumeration of ZvTracks
-- set refPoint and tube scaling factor at the same time
 void addZvTracks(ZvTrackList trackList)
          Add a list of ZvTracks
-- use default refPoint and tube scaling factor
 void addZvTracks(ZvTrackList trackList, double[] refPoint, double scaleFac)
          Add a list of ZvTracks
-- set refPoint and tube scaling factor at the same time
 boolean contains(ZvProbTube tube)
           
 ZvProbTubeList copy()
          get a deep copy of ZvProbTubeList
 ZvProbTube firstTube()
           
 double[] getAxisMomentum()
          get the jet axis momentum
 double getBackwardCutoff()
          get the used backward cutoff for point xc along jet axis
 double getForwardCutoff()
          get the used forward cutoff for point xc along jet axis
 double getIPConst()
          get the used constant for IP weighting
 double getJetCoreConst()
          get the used jet core enhancement constant
 int getMode()
          get the lepton/high impact track mode currently set
 int getNTubes()
          get number of probability tubes in this list
 double getPlaneConst()
          get the used constant for track-IP plane mode weighting
 double[][] getRefError()
          get the reference point error matrix (3x3)
 double[] getRefPoint()
          get the used reference point
 Enumeration getTubes()
          returns an enumeration of ZvTubes
 double getTubeScaling()
          get the used tube coefficienct's scaling factor
 int indexOf(ZvTrack track)
           
 void insertTubeAt(ZvProbTube tube, int index)
           
 boolean isEmpty()
           
 int lastIndexOf(ZvProbTube tube)
           
 ZvProbTube lastTube()
           
 boolean probTubeSuperposition()
          check on switch to use prob tube superposition values on output
 void removeAllTubes()
           
 void removeTube(ZvProbTube tube)
           
 void removeTubeAt(int index)
           
 void setAxisMomentum(double[] pJetAxis)
          set the jet axis momentum
 void setBackwardCutoff(double bwdCutOff)
          set the backward cutoff for point xc along jet axis
-- default set to -0.01 cm
 void setForwardCutoff(double fwdCutOff)
          set the forward cutoff for point xc along jet axis
-- default set to 10 cm
 void setIPConst(double ipw)
          set the constant for IP weighting
 void setJetCoreConst(double cang)
          set angular constant for jet core enhancement
-- V = V*Math.exp(-cang*alpha^2), with alpha being the angle between jet and xc direction from refPoint
 void setMode(int mode)
          set the lepton/high impact track mode
--- allowed values: 0 - 3
 void setPlane(ZvTrack track, double[] xIP)
          set the track for lepton/high impact track plane in mode>0
-- needs IP point xIP
 void setPlane(ZvTrack track, double[] xIP, int mode)
          set the track for lepton/high impact track plane in mode>0
-- needs IP point xIP
 void setPlaneConst(double pwid)
          set the constant for track-IP plane mode weighting
 void setProbTubeSuperposition(boolean superposition)
          set up for prob tube superposition instead of normal vertex prob output (for debugging purposes)
default: false
 void setRefError(double[][] refError)
          set the reference point error matrix (3x3)
 void setRefPoint(double[] refPoint)
          set the reference point
 void setSwimmer(Swimmer swimmer)
          set the Swimmer to be used
default: ZvSwimmer (with it's default settings)
 void setTubeAt(ZvProbTube tube, int index)
           
 void setTubeScaling(double scaleFac)
          set the tube coefficienct's scaling factor
 Swimmer swimmer()
          get a handle to the swimmer used
 ZvProbTube tubeAt(int index)
           
 double vSig(double[] xc)
          calculate the vertex significance at position xc
--- returns -1, if 'behind' IP or further forward than set by forward cutoff
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZvProbTubeList

public ZvProbTubeList()

ZvProbTubeList

public ZvProbTubeList(Swimmer swimmer)
This constructor passes a specified swimmer.
See Also:
setSwimmer(hep.lcd.vertexing.zvtop.Swimmer)

ZvProbTubeList

public ZvProbTubeList(ZvTrackList tl)
This constructor takes a list of ZvTracks

ZvProbTubeList

public ZvProbTubeList(ZvTrackList tl,
                      double[] refPoint,
                      double scaleFac)
This constructor takes a list of ZvTracks
--- define reference point (IP) and tube coeff's scale factor as well

ZvProbTubeList

public ZvProbTubeList(ZvTrackList tl,
                      double[] refPoint,
                      double scaleFac,
                      ZvTrack track)
This constructor takes a list of ZvTracks
--- define reference point (IP), tube coeff's scale factor and lepton/high impact track as well

ZvProbTubeList

public ZvProbTubeList(ZvProbTubeList vp)
copy constructor
Method Detail

setSwimmer

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

swimmer

public Swimmer swimmer()
get a handle to the swimmer used

getNTubes

public int getNTubes()
get number of probability tubes in this list

getTubes

public Enumeration getTubes()
returns an enumeration of ZvTubes

addTube

public void addTube(ZvProbTube tube)
add a single probability tube

setRefPoint

public void setRefPoint(double[] refPoint)
set the reference point

setRefError

public void setRefError(double[][] refError)
set the reference point error matrix (3x3)

getRefError

public double[][] getRefError()
get the reference point error matrix (3x3)

setTubeScaling

public void setTubeScaling(double scaleFac)
set the tube coefficienct's scaling factor

setProbTubeSuperposition

public void setProbTubeSuperposition(boolean superposition)
set up for prob tube superposition instead of normal vertex prob output (for debugging purposes)
default: false

probTubeSuperposition

public boolean probTubeSuperposition()
check on switch to use prob tube superposition values on output
See Also:
setProbTubeSuperposition(boolean)

getRefPoint

public double[] getRefPoint()
get the used reference point

getTubeScaling

public double getTubeScaling()
get the used tube coefficienct's scaling factor

addTrack

public void addTrack(ZvTrack track)
add a single track (ZvTrack)
-- use default reference point (IP) and default tube scaling

addTrack

public void addTrack(ZvTrack track,
                     double[] refPoint)
add a single track (ZvTrack) with reference point (IP) -- use default tube scaling

addTrack

public void addTrack(ZvTrack track,
                     double[] refPoint,
                     double scaleFac)
add a single track (ZvTrack) with reference point (IP) -- and tube scaling

addZvTracks

public void addZvTracks(Enumeration e,
                        double[] refPoint,
                        double scaleFac)
Add an enumeration of ZvTracks
-- set refPoint and tube scaling factor at the same time

addZvTracks

public void addZvTracks(Enumeration e)
Add an enumeration of ZvTracks
-- use default refPoint and tube scaling factor

addZvTracks

public void addZvTracks(ZvTrackList trackList,
                        double[] refPoint,
                        double scaleFac)
Add a list of ZvTracks
-- set refPoint and tube scaling factor at the same time

addZvTracks

public void addZvTracks(ZvTrackList trackList)
Add a list of ZvTracks
-- use default refPoint and tube scaling factor

addTubes

public void addTubes(Enumeration e)
Add an Enumeration of ZvProbTubes

addTubes

public void addTubes(ZvProbTubeList vp)
Add a list of ZvProbTubes, ie from a ZvProbTubeList object

tubeAt

public ZvProbTube tubeAt(int index)

firstTube

public ZvProbTube firstTube()

lastTube

public ZvProbTube lastTube()

insertTubeAt

public void insertTubeAt(ZvProbTube tube,
                         int index)

setTubeAt

public void setTubeAt(ZvProbTube tube,
                      int index)

removeAllTubes

public void removeAllTubes()

removeTube

public void removeTube(ZvProbTube tube)

removeTubeAt

public void removeTubeAt(int index)

contains

public boolean contains(ZvProbTube tube)

indexOf

public int indexOf(ZvTrack track)

lastIndexOf

public int lastIndexOf(ZvProbTube tube)

isEmpty

public boolean isEmpty()

copy

public ZvProbTubeList copy()
get a deep copy of ZvProbTubeList

setPlane

public void setPlane(ZvTrack track,
                     double[] xIP,
                     int mode)
set the track for lepton/high impact track plane in mode>0
-- needs IP point xIP

setPlane

public void setPlane(ZvTrack track,
                     double[] xIP)
set the track for lepton/high impact track plane in mode>0
-- needs IP point xIP

setMode

public void setMode(int mode)
set the lepton/high impact track mode
--- allowed values: 0 - 3

getMode

public int getMode()
get the lepton/high impact track mode currently set

setJetCoreConst

public void setJetCoreConst(double cang)
set angular constant for jet core enhancement
-- V = V*Math.exp(-cang*alpha^2), with alpha being the angle between jet and xc direction from refPoint

getJetCoreConst

public double getJetCoreConst()
get the used jet core enhancement constant

setPlaneConst

public void setPlaneConst(double pwid)
set the constant for track-IP plane mode weighting

getPlaneConst

public double getPlaneConst()
get the used constant for track-IP plane mode weighting

setIPConst

public void setIPConst(double ipw)
set the constant for IP weighting

getIPConst

public double getIPConst()
get the used constant for IP weighting

setAxisMomentum

public void setAxisMomentum(double[] pJetAxis)
set the jet axis momentum

getAxisMomentum

public double[] getAxisMomentum()
get the jet axis momentum

setForwardCutoff

public void setForwardCutoff(double fwdCutOff)
set the forward cutoff for point xc along jet axis
-- default set to 10 cm

getForwardCutoff

public double getForwardCutoff()
get the used forward cutoff for point xc along jet axis

setBackwardCutoff

public void setBackwardCutoff(double bwdCutOff)
set the backward cutoff for point xc along jet axis
-- default set to -0.01 cm

getBackwardCutoff

public double getBackwardCutoff()
get the used backward cutoff for point xc along jet axis

vSig

public double vSig(double[] xc)
calculate the vertex significance at position xc
--- returns -1, if 'behind' IP or further forward than set by forward cutoff


The LCD Group