public class ClusFindZPlane2 extends ClusterFindManager
A track is defined to be near a cluster if the chi-square difference between the corresponding hit measurement and prediction is less than _max_chsq_diff.
Modifier and Type | Field and Description |
---|---|
private List |
_clusters |
private double |
_max_chsq_diff |
private SurfZPlane |
_szp |
Constructor and Description |
---|
ClusFindZPlane2(double zpos,
double max_chsq_diff)
Construct an instance from the z location of the plane and the maximum chi-square
difference which defines the nearness of a hit to a track.
|
Modifier and Type | Method and Description |
---|---|
int |
addCluster(Cluster clus)
Add a cluster to this ClusterFindManager.
|
private static double |
chsq_diffzp2(Cluster clus,
ETrack tre) |
List |
clusters()
Return all the clusters.
|
List |
clusters(ETrack tre)
Return all the clusters near a track at the surface.
|
void |
dropClusters()
Drop all clusters from this manager.
|
double |
maxChsqDiff()
Return the maximum chi-square difference which defines a hit to be near a track.
|
static String |
staticType()
Return a String representation of the class' type name.
|
Surface |
surface()
Return the surface.
|
String |
toString()
output stream
|
String |
type()
Return a String representation of the class' type name.
|
static String |
typeName()
Return a String representation of the class' type name.
|
genericType
private SurfZPlane _szp
private double _max_chsq_diff
private List _clusters
public ClusFindZPlane2(double zpos, double max_chsq_diff)
zpos
- The z position of the z plane.max_chsq_diff
- The maximum chi-square for a track-hit association.public static String typeName()
public static String staticType()
public int addCluster(Cluster clus)
addCluster
in class ClusterFindManager
clus
- The Cluster to add.public void dropClusters()
dropClusters
in class ClusterFindManager
public Surface surface()
surface
in class ClusterFinder
public List clusters()
clusters
in class ClusterFinder
public List clusters(ETrack tre)
clusters
in class ClusterFinder
tre
- The ETrack for which to return clusters.public double maxChsqDiff()
public String type()
public String toString()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.