|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.lcd.vertexing.zvtop.ZvgCMatList
ZvgCMatList -- ZvTop internal CMat representation
Class provides a list of ZvgCMat objects.
CAUTION: This class is part of an upcoming extension of ZvTopVertexer. It is not necessarily fully working and may change frequently.
Constructor Summary | |
ZvgCMatList()
|
|
ZvgCMatList(double[] xRef)
Constructor with reference point (eg IP). |
|
ZvgCMatList(Enumeration e)
This constructor takes an enumeration of ZvgCMats or ZvTracks |
|
ZvgCMatList(Enumeration e,
double[] xRef)
This constructor takes an enumeration of ZvgCMats or ZvTracks and allows to set the reference point (eg IP). |
Method Summary | |
void |
addCMat(ZvgCMat cMat)
add a single CMat |
void |
addCMat(ZvTrack track)
add a single track (ZvTrack) |
void |
addEnumeration(Enumeration e)
Add an enumeration of CMats or ZvTracks |
ZvgCMat |
cMatAt(int index)
|
boolean |
contains(ZvgCMat cMat)
|
ZvgCMat |
firstCMat()
|
ZvgCMatList |
getCopy()
get a deep copy of Cmat list |
int |
getNCMats()
get number of CMats in this list |
double[] |
getRefPoint()
Get the current reference point used. |
Enumeration |
getZvTracks()
get an enumeration of the underlying ZvTracks |
int |
indexOf(ZvgCMat cMat)
find index of track in list returns -1, if not found |
void |
insertCMatAt(ZvgCMat cMat,
int index)
|
void |
insertCMatAt(ZvTrack track,
int index)
|
boolean |
isEmpty()
|
ZvgCMat |
lastCMat()
|
int |
lastIndexOf(ZvgCMat cMat)
find last index of track in list returns -1, if not found |
void |
removeAllCMats()
|
void |
removeCMat(ZvgCMat cMat)
|
void |
removeCMatAt(int index)
|
void |
setCMatAt(ZvgCMat cMat,
int index)
|
void |
setRefPoint(double[] xRef)
Set the reference point (eg IP) CAUTION: Takes effect for future additions to list only. |
void |
setTrackAt(ZvTrack track,
int index)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZvgCMatList()
public ZvgCMatList(double[] xRef)
public ZvgCMatList(Enumeration e)
public ZvgCMatList(Enumeration e, double[] xRef)
Method Detail |
public void setRefPoint(double[] xRef)
public double[] getRefPoint()
public int getNCMats()
public Enumeration getZvTracks()
public void addCMat(ZvgCMat cMat)
public void addCMat(ZvTrack track)
public void addEnumeration(Enumeration e)
public ZvgCMat cMatAt(int index)
public ZvgCMat firstCMat()
public ZvgCMat lastCMat()
public void insertCMatAt(ZvgCMat cMat, int index)
public void insertCMatAt(ZvTrack track, int index)
public void setCMatAt(ZvgCMat cMat, int index)
public void setTrackAt(ZvTrack track, int index)
public void removeAllCMats()
public void removeCMat(ZvgCMat cMat)
public void removeCMatAt(int index)
public boolean contains(ZvgCMat cMat)
public int indexOf(ZvgCMat cMat)
public int lastIndexOf(ZvgCMat cMat)
public boolean isEmpty()
public ZvgCMatList getCopy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |