Package org.jlab.service.recoil
Class RecoilCluster
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<RecoilStrip>,Collection<RecoilStrip>,List<RecoilStrip>,RandomAccess
recoil in-layer cluster
- Author:
- bondi, devita, niccolai
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddStrip(RecoilStrip strip) static List<RecoilCluster>createClusters(List<RecoilStrip> stripList) intgetADC()intstatic List<RecoilCluster>getClusters(List<RecoilCluster> clusters, int sector, int layer) doubleintgetId()intgetLayer()getLine()intintdoublebytedoublegetTime()voidvoidsetClusterId(int id) voidsetStatus(int val) toString()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
containsAllMethods 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
-
indexMaxStrip
public int indexMaxStrip
-
-
Constructor Details
-
RecoilCluster
-
-
Method Details
-
getId
public int getId() -
getDescriptor
-
getSector
public int getSector() -
getLayer
public int getLayer() -
getChamber
public int getChamber() -
getLine
-
getEnergy
public double getEnergy() -
getTime
public double getTime() -
getSeedTime
public double getSeedTime() -
getSeedStrip
-
getMaxStrip
public int getMaxStrip() -
addStrip
-
getADC
public int getADC() -
setStatus
public void setStatus(int val) -
getStatus
public byte getStatus() -
setClusterId
public void setClusterId(int id) -
redoClusterLine
public void redoClusterLine() -
createClusters
-
getClusters
-
toString
- Overrides:
toStringin classAbstractCollection<RecoilStrip>
-