public class NearestNeighborRMS extends Object implements ClusteringAlgorithm
Modifier and Type | Field and Description |
---|---|
private double |
_cluster_threshold |
private static String |
_NAME |
private double |
_neighbor_threshold |
private double |
_seed_threshold |
Constructor and Description |
---|
NearestNeighborRMS()
Instantiate NearestNeighborRMS with default thresholds:
seed_threshold = 4*RMS noise
neighbor_threhold = 3*RMS noise
cluster_threshold = 4*RMS noise
|
NearestNeighborRMS(double seed_threshold,
double neighbor_threshold,
double cluster_threshold)
Instantiate NearestNeighborRMS with specified thresholds.
|
Modifier and Type | Method and Description |
---|---|
List<List<RawTrackerHit>> |
findClusters(SiSensorElectrodes electrodes,
ReadoutChip readout_chip,
List<RawTrackerHit> raw_hits)
Find clusters using the nearest neighbor algorithm.
|
double |
getClusterThreshold()
Return the cluster threshold.
|
String |
getName()
Return the name of the clustering algorithm.
|
double |
getNeighborThreshold()
Return the neighbor threshold.
|
double |
getSeedThreshold()
Return the seed threshold.
|
void |
setClusterThreshold(double cluster_threshold)
Set the cluster threshold.
|
void |
setNeighborThreshold(double neighbor_threshold)
Set the neighbor threshold.
|
void |
setSeedThreshold(double seed_threshold)
Set the seed threshold.
|
private static String _NAME
private double _seed_threshold
private double _neighbor_threshold
private double _cluster_threshold
public NearestNeighborRMS(double seed_threshold, double neighbor_threshold, double cluster_threshold)
seed_threshold
- seed threholdneighbor_threshold
- neighbor thresholdcluster_threshold
- cluster thresholdpublic NearestNeighborRMS()
public void setSeedThreshold(double seed_threshold)
seed_threshold
- seed thresholdpublic void setNeighborThreshold(double neighbor_threshold)
neighbor_threshold
- neighbor thresholdpublic void setClusterThreshold(double cluster_threshold)
cluster_threshold
- cluster thresholdpublic double getSeedThreshold()
public double getNeighborThreshold()
public double getClusterThreshold()
public String getName()
public List<List<RawTrackerHit>> findClusters(SiSensorElectrodes electrodes, ReadoutChip readout_chip, List<RawTrackerHit> raw_hits)
findClusters
in interface ClusteringAlgorithm
electrodes
- electrodes we are clusteringreadout_chip
- readout chip for these electrodesraw_hits
- List of RawTrackerHits to be clusteredCopyright © 2016 Linear Collider Detector (LCD). All rights reserved.