Package org.jlab.rec.tof.cluster.ftof
Class ClusterMatcher
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Cluster>
,Collection<Cluster>
,List<Cluster>
,RandomAccess
- Author:
- ziegler
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
double
double
double
double
double
getBeta()
void
static ArrayList<ClusterMatcher>
matchClusters
(List<Cluster> clusters, DataEvent event) void
set_tMatch
(double _tMatch) void
set_xMatch
(double _xMatch) void
set_yMatch
(double _yMatch) void
set_zMatch
(double _zMatch) void
setBeta
(double beta) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Field Details
-
Beta
public double Beta
-
-
Constructor Details
-
ClusterMatcher
public ClusterMatcher()Matches the clusters in panel 1A and 1B
-
-
Method Details
-
get_xMatch
public double get_xMatch() -
set_xMatch
public void set_xMatch(double _xMatch) -
get_yMatch
public double get_yMatch() -
set_yMatch
public void set_yMatch(double _yMatch) -
get_zMatch
public double get_zMatch() -
set_zMatch
public void set_zMatch(double _zMatch) -
get_tMatch
public double get_tMatch() -
set_tMatch
public void set_tMatch(double _tMatch) -
get_tCorr
public double[] get_tCorr() -
getBeta
public double getBeta() -
setBeta
public void setBeta(double beta) -
init
- Parameters:
C1a
- Cluster in panel 1aC1b
- Cluster in panel 1b
-
matchClusters
- Parameters:
clusters
-- Returns:
- list of matched cluster doublets
-