Package org.jlab.rec.ft.trk
Class FTTRKCluster
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<FTTRKCluster>
,Iterable<FTTRKHit>
,Collection<FTTRKHit>
,List<FTTRKHit>
,RandomAccess
- Author:
- devita, filippi
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
compareTo
(FTTRKCluster arg) int
int
double
double
int
get_CId()
int
int
int
int
int
double
int
double
newCluster
(FTTRKHit hit, int cid) void
set_AssociatedCrossID
(int _AssociatedCrossID) void
set_AssociatedTrackID
(int _AssociatedTrackID) void
set_Centroid
(double _Centroid) void
set_CentroidError
(double _CentroidError) void
set_CId
(int _Id) void
set_Layer
(int _Layer) void
set_MaxStrip
(int _MaxStrip) void
set_MinStrip
(int _MinStrip) void
set_Sector
(int _Sector) void
set_SeedEnergy
(double _SeedEnergy) void
set_SeedStrip
(int _SeedStrip) void
set_StripSegment
(Line3D _StripSegment) void
set_TotalEnergy
(double _TotalEnergy) 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
-
Constructor Details
-
FTTRKCluster
public FTTRKCluster(int sector, int layer, int cid) - Parameters:
sector
- the sectorlayer
- the layercid
- the cluster ID, an incremental integer corresponding to the cluster formed in the series of clusters
-
-
Method Details
-
newCluster
- Parameters:
hit
- the first hit in the list of hits composing the clustercid
- the id of the cluster- Returns:
- an array list of hits characterized by its sector, layer and id number.
-
get_Sector
public int get_Sector()- Returns:
- the sector of the cluster (1...24)
-
set_Sector
public void set_Sector(int _Sector) - Parameters:
_Sector
- sector of the cluster (1)
-
get_Layer
public int get_Layer()- Returns:
- the layer of the cluster (1...4)
-
set_Layer
public void set_Layer(int _Layer) - Parameters:
set
- the layer of the cluster (1...4)
-
get_CId
public int get_CId()- Returns:
- the id of the cluster
-
set_CId
public void set_CId(int _Id) - Parameters:
_Id
- the id of the cluster
-
get_Region
public int get_Region()- Returns:
- region (1,2) //
-
printInfo
- Returns:
- cluster info. about location and number of hits contained in it
-
get_Centroid
public double get_Centroid() -
set_Centroid
public void set_Centroid(double _Centroid) -
get_CentroidError
public double get_CentroidError() -
set_CentroidError
public void set_CentroidError(double _CentroidError) -
get_TotalEnergy
public double get_TotalEnergy() -
set_TotalEnergy
public void set_TotalEnergy(double _TotalEnergy) -
calc_CentroidParams
public void calc_CentroidParams() -
get_MinStrip
public int get_MinStrip() -
set_MinStrip
public void set_MinStrip(int _MinStrip) -
get_MaxStrip
public int get_MaxStrip() -
set_MaxStrip
public void set_MaxStrip(int _MaxStrip) -
get_SeedStrip
public int get_SeedStrip() -
set_SeedStrip
public void set_SeedStrip(int _SeedStrip) -
get_SeedEnergy
public double get_SeedEnergy() -
set_SeedEnergy
public void set_SeedEnergy(double _SeedEnergy) -
get_StripSegment
-
set_StripSegment
-
get_AssociatedCrossID
public int get_AssociatedCrossID() -
set_AssociatedCrossID
public void set_AssociatedCrossID(int _AssociatedCrossID) -
get_AssociatedTrackID
public int get_AssociatedTrackID() -
set_AssociatedTrackID
public void set_AssociatedTrackID(int _AssociatedTrackID) -
compareTo
- Specified by:
compareTo
in interfaceComparable<FTTRKCluster>
-