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[]doubledoubledoubledoubledoublegetBeta()voidstatic ArrayList<ClusterMatcher>matchClusters(List<Cluster> clusters, DataEvent event) voidset_tMatch(double _tMatch) voidset_xMatch(double _xMatch) voidset_yMatch(double _yMatch) voidset_zMatch(double _zMatch) voidsetBeta(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, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods 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
-