public class ClusterFindCyl 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 TreeMap |
_clusters |
private double |
_max_chsq_diff |
private SurfCylinder |
_scy |
private double |
_stereo |
Constructor and Description |
---|
ClusterFindCyl(double radius,
double stereo,
double max_chsq_diff)
Construct an instance from the cylindrical radius, the stereo angle, 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 |
chsqDiff(Cluster clu,
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.
|
double |
radius()
Return the radius of the cylinder.
|
static String |
staticType()
Return a String representation of the class' type name.
|
double |
stereo()
Return the stereo slope.
|
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 SurfCylinder _scy
private double _stereo
private double _max_chsq_diff
private TreeMap _clusters
public ClusterFindCyl(double radius, double stereo, double max_chsq_diff)
radius
- The radius of the cylinder.stereo
- The stereo angle of the measurement (0 if axial only measurements).max_chsq_diff
- The maximum chi-square for a track-hit association.public static String typeName()
public static String staticType()
public String type()
public double radius()
public double stereo()
public double maxChsqDiff()
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 String toString()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.