Class Cluster
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<Hit>, Collection<Hit>, List<Hit>, RandomAccess, SequencedCollection<Hit>
-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintget_Id()intintintintintintnewCluster(Hit hit, int cid) voidset_Id(int _Id) voidset_MaxWire(int _MaxWire) voidset_MinWire(int _MinWire) voidset_Sector(int _Sector) voidset_Superlayer(int _Superlayer) Methods inherited from class ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Constructor Details
-
Cluster
public Cluster(int sector, int superlayer, int cid) - Parameters:
sector- the sector (1...6)superlayer- the superlayer (1...6)cid- the cluster ID, an incremental integer corresponding to the cluster formed in the series of clusters
-
-
Method Details
-
newCluster
-
get_Sector
public int get_Sector()- Returns:
- the sector of the cluster (1...6)
-
set_Sector
public void set_Sector(int _Sector) - Parameters:
_Sector- sector of the cluster (1...6)
-
get_Superlayer
public int get_Superlayer()- Returns:
- the superlayer of the cluster (1...6)
-
set_Superlayer
public void set_Superlayer(int _Superlayer) - Parameters:
_Superlayer- the superlayer of the cluster (1...6)
-
get_Id
public int get_Id()- Returns:
- the id of the cluster
-
set_Id
public void set_Id(int _Id) - Parameters:
_Id- the id of the cluster
-
get_Region
public int get_Region()- Returns:
- region (1...3)
-
get_RegionSlayer
public int get_RegionSlayer()- Returns:
- superlayer 1 or 2 in region (1...3)
-
get_MinWire
public int get_MinWire()- Returns:
- the min wire of the cluster (1...112)
-
set_MinWire
public void set_MinWire(int _MinWire) - Parameters:
_MinWire- min wire of the cluster (1...112)
-
get_MaxWire
public int get_MaxWire()- Returns:
- the max wire of the cluster (1...112)
-
set_MaxWire
public void set_MaxWire(int _MaxWire) - Parameters:
_MaxWire- max wire of the cluster (1...112)
-
printInfo
- Returns:
- cluster info. about location and number of hits contained in it
-