Class FTTRKCluster

All Implemented Interfaces:
Serializable, Cloneable, Comparable<FTTRKCluster>, Iterable<FTTRKHit>, Collection<FTTRKHit>, List<FTTRKHit>, RandomAccess

public class FTTRKCluster extends ArrayList<FTTRKHit> implements Comparable<FTTRKCluster>
Author:
devita, filippi
See Also:
  • Constructor Details

    • FTTRKCluster

      public FTTRKCluster(int sector, int layer, int cid)
      Parameters:
      sector - the sector
      layer - the layer
      cid - the cluster ID, an incremental integer corresponding to the cluster formed in the series of clusters
  • Method Details

    • newCluster

      public FTTRKCluster newCluster(FTTRKHit hit, int cid)
      Parameters:
      hit - the first hit in the list of hits composing the cluster
      cid - 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

      public String 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

      public Line3D get_StripSegment()
    • set_StripSegment

      public void set_StripSegment(Line3D _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

      public int compareTo(FTTRKCluster arg)
      Specified by:
      compareTo in interface Comparable<FTTRKCluster>