Class RecoilStrip

java.lang.Object
org.jlab.service.recoil.RecoilStrip
All Implemented Interfaces:
Comparable

public class RecoilStrip extends Object implements Comparable
recoil strip, defined based on ADC bank information and 3D line provided by the geometry service
Author:
bondi, devita, niccolai
  • Constructor Details

    • RecoilStrip

      public RecoilStrip(int sector, int layer, int component)
    • RecoilStrip

      public RecoilStrip(int sector, int layer, int component, int ADC, int TDC)
  • Method Details

    • getDescriptor

      public DetectorDescriptor getDescriptor()
    • setDescriptor

      public void setDescriptor(DetectorDescriptor desc)
    • getSector

      public int getSector()
    • getLayer

      public int getLayer()
    • getChamber

      public int getChamber()
    • setChamber

      public void setChamber(int chamber)
    • getADC

      public int getADC()
    • setADC

      public void setADC(int ADC)
    • getTDC

      public int getTDC()
    • setTDC

      public void setTDC(int TDC)
    • getId

      public int getId()
    • setId

      public void setId(int id)
    • getClusterId

      public int getClusterId()
    • setClusterId

      public void setClusterId(int clusterId)
    • getLine

      public Line3D getLine()
    • setLine

      public void setLine(Line3D stripLine)
    • getEnergy

      public double getEnergy()
    • setEnergy

      public void setEnergy(double energy)
    • getTime

      public double getTime()
    • setTime

      public void setTime(double time)
    • getStatus

      public int getStatus()
    • setStatus

      public void setStatus(int status)
    • isNeighbour

      public boolean isNeighbour(RecoilStrip strip)
    • isInTime

      public boolean isInTime(RecoilStrip strip)
    • compareTo

      public int compareTo(Object o)
      Specified by:
      compareTo in interface Comparable
    • getStrips

      public static List<RecoilStrip> getStrips(DataEvent event, RecoilStripFactory factory, ConstantsManager ccdb)
    • toString

      public String toString()
      Overrides:
      toString in class Object