public abstract class Cluster extends Object
The abstract base class Hit represents a measurement derived from a cluster which is assigned to a single track. If the hit only makes use of a portion of the cluster, then it is assumed that the remainder of the cluster is independent of the track crossing which produced the portion of interest.
The only requirement on a cluster is that it is able to generate a list hits from a track. The track must first be propagated to the cluster surface. The returned list contains reference-counting pointers so that each hit is deleted when its list element is deleted.
Constructor and Description |
---|
Cluster()
constructor
|
Cluster(Cluster clus)
copy constructor
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equal(Cluster clus)
equality
Return true if and only if the two clusters are identical.
|
boolean |
equals(Cluster clus)
equality
false if the cluster predictions are of diffent type
otherwise compare with public abstract function equal
|
String |
genericType()
Return the type.
|
int[] |
mcIdArray()
Return the ID's of MC tracks contributing to this cluster.
|
List |
mcIds()
Return the ID's of MC tracks contributing to this cluster.
|
boolean |
notEquals(Cluster clus)
inequality
|
abstract List |
predict(ETrack tre)
Generate and return the predictions for a track.
|
List |
predict(ETrack tre,
Cluster clus)
Generate and return the predictions for a track.
|
static String |
staticType()
Return the type.
|
abstract Surface |
surface()
Return the cluster surface.
|
String |
type()
Return the type.
|
static String |
typeName()
Return the type name.
|
public Cluster()
public Cluster(Cluster clus)
clus
- Cluster to replicatepublic static String typeName()
public static String staticType()
public abstract boolean equal(Cluster clus)
clus
- Cluster to compare withpublic abstract List predict(ETrack tre)
tre
- ETrack generating the predictionpublic String genericType()
public String type()
public abstract Surface surface()
public List mcIds()
public int[] mcIdArray()
public List predict(ETrack tre, Cluster clus)
tre
- The ETrack for which to generate a predictionclus
- The predicted Clusterpublic boolean equals(Cluster clus)
clus
- Cluster to compare withpublic boolean notEquals(Cluster clus)
clus
- Cluster to compare withCopyright © 2016 Linear Collider Detector (LCD). All rights reserved.